• English
  • Deutsch
  • Español
  • Русский
Professional Radio Automation at a price you can afford.Professional Radio Automation at a price you can afford.
RadioBOSS box
RadioBOSS makes automating your broadcast to the world, your business or shop professional, simple, affordable, reliable.

Author Topic: Do not include in next song  (Read 2761 times)

0 Members and 1 Guest are viewing this topic.

ReyFM

  • Posts: 16
Do not include in next song
« on: May 17, 2019, 10:08:39 AM »
Please add a feature to not include files in %next variable for file types.
The Next Song variable is pretty much useless if it shows Jingles and stuff.

djsoft

  • Administrator
  • Posts: 10333
    • http://www.djsoft.net
Re: Do not include in next song
« Reply #1 on: May 20, 2019, 05:49:31 AM »
Thank you for the suggestion, this will be implemented in one of the next updates.
Dmitry  •  DJSoft.Net Team  •  Email: support@djsoft.net

ReyFM

  • Posts: 16
Re: Do not include in next song
« Reply #2 on: November 15, 2019, 01:00:52 PM »
Could this also be added to the "playbackinfo" API so that i would skip certain file types and show the song that's after a jingles for instance? Currently it shows the jingles in the "nextrack" response.

djsoft

  • Administrator
  • Posts: 10333
    • http://www.djsoft.net
Re: Do not include in next song
« Reply #3 on: November 17, 2019, 05:52:26 AM »
Currently you can use getplaylist2 API to get playlist items, the response includes FT_IDX for track that indicates file type, the indexing is a bit special: FT_IDX = 2 - first file type, 3 - second file type and so on.
Dmitry  •  DJSoft.Net Team  •  Email: support@djsoft.net

zooma

  • Posts: 27
Re: Do not include in next song
« Reply #4 on: April 14, 2020, 11:27:27 AM »
Good afternoon,

I have the same problem with the jingles that are in the API. I would like to have such a function instead of filtering the whole playlist for jingles and sorting out jingles with every update. This is also very much on the performance with our many stations, because the API updates in realtime.

ReyFM

  • Posts: 16
Re: Do not include in next song
« Reply #5 on: April 14, 2020, 11:35:42 AM »
Good afternoon,

I have the same problem with the jingles that are in the API. I would like to have such a function instead of filtering the whole playlist for jingles and sorting out jingles with every update. This is also very much on the performance with our many stations, because the API updates in realtime.

We have 20 Stations at the moment and it's not a problem with this methode. We also have realtime updates.

Our site: https://www.reyfm.de/
Our API: https://api.reyfm.de/v4

zooma

  • Posts: 27
Re: Do not include in next song
« Reply #6 on: April 14, 2020, 02:30:36 PM »
Sure, we also have such an API. But it would keep the code clearer and the performance would be better.

djsoft

  • Administrator
  • Posts: 10333
    • http://www.djsoft.net
Re: Do not include in next song
« Reply #7 on: April 15, 2020, 03:23:45 AM »
I have the same problem with the jingles that are in the API. I would like to have such a function instead of filtering the whole playlist for jingles and sorting out jingles with every update.
You can use the FT_IDX value as mentioned above to filter out jingles and other file types.
Dmitry  •  DJSoft.Net Team  •  Email: support@djsoft.net

zooma

  • Posts: 27
Re: Do not include in next song
« Reply #8 on: April 29, 2020, 05:26:08 PM »
Hey,

Why is it not possible to get FT_INDEX with getplaylist (without 2 on the back to get tags as well)?

Greetings

djsoft

  • Administrator
  • Posts: 10333
    • http://www.djsoft.net
Re: Do not include in next song
« Reply #9 on: April 30, 2020, 05:17:39 AM »
Why is it not possible to get FT_INDEX with getplaylist (without 2 on the back to get tags as well)?
This is a technical limitation due to how the getplaylist command is implemented. In the future we'll change the way it works, there will be only one command to retrieve the playlist and it will provide all the information.
Dmitry  •  DJSoft.Net Team  •  Email: support@djsoft.net