Page 1 of 1

Retrieving track after next track.

Posted: 27 Nov 2023 11:01
by John2103
I have built an application that allows songs to be requested using a form on a website. ChatGPT then generates a text that is converted into an MP3 by text to speech. This MP3 and the requested song will then be placed in the playlist using the ProppFrexx API.

I want to remove any jingles before the MP3 “voice track”. I can request the next track in ProppFrexx, but I haven't found a way to retrieve the track after the next track. In other words if the next track is a jingle and the track after that is the MP3 with the AI-generated text, then the jingle must be removed. The MP3 generated with AI is recognizable by its naming.

Is this possible?

Re: Retrieving track after next track.

Posted: 27 Nov 2023 18:50
by radio42
How do you retrieve the next track?

E.g. you might use the PLS_CURRENT_TRACKNEXT_GET to get the index of the next track add one to it and use PLS_CURRENT_GET_ENTRY with that calculated index value...

Re: Retrieving track after next track.

Posted: 28 Nov 2023 12:34
by John2103
Thanks Bernd, that's what I was looking for.

Re: Retrieving track after next track.

Posted: 05 Mar 2024 19:22
by gerritk
Dear John,

where can we see/hear this in action?

Thx.

Gerrit Kramer

Re: Retrieving track after next track.

Posted: 26 Mar 2024 20:57
by John2103
Hi Gerrit,

It's under development, but you can see it in action every evening between 8 p.m. and 11 p.m. at https://centraalhits.eu. Complete the request form and your request will be played after a few songs.

John