Hi,
On my last question, I think I did not correctly observe what happened from my
script. I have the same script now and this script can only generate stream of
the jingle, but the programs, regardless of the hourly schedule. What might
cause this problem? How can I fix it so that it can play the programs as well
as
the jingle?
Hyunki Chung
----- Forwarded Message ----
From: Hyun-ki Chung <[email protected]>
To: [email protected]
Sent: Sat, December 18, 2010 12:48:21 PM
Subject: regarding scheduling issue, how to use swich predicate
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 ------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users