Hi,
My original 'Switch Schedule' didn't seem to function at all, so I rewrote
the
schedule using the output variable, 'icmp3'. I assumed that since each
show ID had
already been verified as infallible (through 'single' and 'playlist.safe')
I would
not encounter any load errors.
However, I have received these errors:
****
/usr/local/etc/rc.d/liquidsoap restart
liquidsoap not running?
Starting liquidsoap.
Invalid value at line 934 char 17 - line 957 char 3: That source is
fallible.
****
How do I get around this conumdrum? The sources are infallible, yet this
error message.
I need the switch to work to load the correct show for the current hour.
Help? Please . . .
Section with the switch code follows:
*******
# === Load MP3 Section ===
# === ID TO APPLY to SWITCH SCHEDULE ===
# === SSTOL ===
a = single("/usr/local/www/rcr/mp3/announce/SOD.mp3")
b =
single("/usr/local/www/rcr/mp3/announce/opener/opener-sstol.mp3")
c = playlist.safe(mode="normal",
"/usr/local/www/rcr/radio/current/mp3/today-sstol-mp3-32.pls")
d = single("/usr/local/www/rcr/mp3/announce/CLOSER.mp3")
e = playlist.safe(mode="normal",
"/usr/local/www/rcr/radio/current/mp3/sstol-mp3-end-32.pls")
sstol = sequence([a,b,c,d,e])
... <snip> ...
icmp3 = fill_in(sstol)
# === MFTS ===
a = single("/usr/local/www/rcr/mp3/announce/TOHS.mp3")
b =
single("/usr/local/www/rcr/mp3/announce/opener/opener-mfts.mp3")
c = playlist.safe(mode="normal",
"/usr/local/www/rcr/radio/current/mp3/today-mfts-mp3-32.pls")
d = single("/usr/local/www/rcr/mp3/announce/CLOSER.mp3")
e =
single("/usr/local/www/rcr/mp3/music/Genuis/Timeless/odd/Eric_Genuis_-_Timeless_-_05_-_Tears_in_Silence.mp3")
mfts = sequence([a,b,c,d,e])
... <snip> ...
icmp3 = fill_in(mfts)
# === repeats for each show ===
... <snip> ...
# === SWITCH SCHEDULE ===
icmp3 = switch(
track_sensitive=true,
[
({09h00-09h30}, sstol),
({09h30-10h00}, mfts),
({10h00-10h30}, woas),
({10h30-11h00}, coc),
({11h00-11h40}, csr),
({11h40-12h00}, cosm),
({12h00-13h00}, yap),
({13h00-13h30}, ktf),
({13h30-14h00}, cfc),
({14h00-15h00}, mh),
({15h00-15h10}, codm),
({15h10-15h20}, hsip),
({15h20-16h00}, csoc)
]
)
# == ICECAST MP3 OUTPUT ==
output.icecast.mp3(
host="****",
port=8002,
password="****",
bitrate=32,
samplerate=22050,
mount="icmp3",
stereo=false,
name="",
description="",
genre="",
public=false,
url="",
icmp3)
*****
Thanks,
Andre
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users