From: Albert B. <a....@ab...> - 2012-03-06 13:40:44
|
Hi, I'm trying to switch and de-switch automatically from playlist and a foriegn stream (with airtime) that's working for switching to the stream, but reswitching to the playlist is not automatic any ideas ? thanks by advance ! my little code : mystream= input.http("http://mystream.exemple.fr/mystream.mp3") morning= playlist(mode='randomize',reload=1,reload_mode="rounds", "/home/airtime/Musique/") night= playlist(mode='randomize',reload=1,reload_mode="rounds", "/srv/airtime/stor/imported/") default=fallback([ request.queue(id="request"),switch([({ 6h-18h }, morning),({ 18h-21h05 }, night),({ 21h05-21h15 }, mystream),({ 21h15-6h }, night)])]) |