Hi to all, i've seen that liquid soap can do dynamic request for audio files to broadcast… following some example, and other post on this mailing list i've tried many ways to make it work.. but dynamic request for a file path to load won't work… so, i tried a different approach… on every metadata i call a function that execute my php script, in the php script i use telnet to push the next song and this method.works like a charm!
Some problem to the horizon.. because i'm using harbor to make live show i need to find some solution, because my script returns radio jingles, i need to play them following my script rules and when live show ends..
A first workaround is to reset my played counter to 0 when harbor source is blank, and then the script put jingle in queue… no problems so far…
And now the "best" part, when i do what i said before the method create ghost track, track queued before the program (not so useful if used with a rotation logic without repeating artists every 1-2 hours for example..)
Premise that i try to make another workaround using my script to emptying the queue before push the jingle if the script was used for the "first time"… and since using request.equeue I have no idea how to prevent ghost tracks, i worked on another workaround.. but (and then my question) how can i clean all the request.equeue ? first track is on-air (in liquid soap opinion…) and i can't remove it, how can i do to make it work?
Or, better… a way to use requests.dynamic to call the script every time liquid soap want to load some track… in my tests the results was silence.. transition problem? nah…
I hope I was clear enough
Thanks a Lot,
Get latest updates about Open Source Projects, Conferences and News.