Hi,

For a test, I tried to schedule my radio station program by means of a switch 
predicate, so that four test programs can run at specified hour ranges and a 
jingle can play before the transition of each program occurs.

I have four test program playlists to schedule and one station id. The 
following 
is a part of my script. When I start this script, it doesn't cast at all, even 
though there is no syntax error. (I couldn't clearly understand how to play 
jingle in between the programs in this test case, but I just added the jingle 
to 
the switch predicate. So, please let me know how to play jingle for this case.)

one   = playlist(mode="normal", "/home/liquidsoap/audio/test/english/test1.m3u")
two   = playlist(mode="normal", "/home/liquidsoap/audio/test/english/test2.m3u")
three = playlist(mode="normal", "/home/liquidsoap/audio/test/english/test3.m3u")
four  = playlist(mode="normal", "/home/liquidsoap/audio/test/english/test4.m3u")

jingle = single ("/home/liquidsoap/audio/test/english/station_id1.mp3")

englishTimed = fallback (track_sensitive=false,
                                   [switch ([({0h-6h}  , one),
                                                 ({6h-12h} , two),
                                                 ({12h-18h}, three),
                                                 ({18h-0h} , four)
                                   ]), jingle])

output.icecast(%mp3,  mount="English_Bible", host=serverHost, port = 
serverPort,  password = serverPassword, 

englishTimed, restart=true, fallible=true, genre="Christian",  description="my 
Radio", url="http://myradio.org:8000/English_Bible.m3u";)



P.S. thanks for your answer to my last question.

Hyunki











 Hyunki Chung 
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to