Hi everyone,
This is my script:
#!/usr/local/bin/liquidsoap -t
set("log.file.path","/home/audiodef/radio/liquidradio.log")
set("log.level",4)
output.icecast(%vorbis(quality=0.6,samplerate=44100),
host="localhost", port=8000,
password="(password)", mount="radio.ogg", name="Synthetronica
Radio",
description="Eclectic Electronica", genre="Electronic",
url="synthetronica.com",
mksafe(playlist(timeout=3600.,conservative=true,
"http://synthetronica.com/radio/main_playlist")))
All files are remote files. The script works reliably, but today, one of
the sites I source from happens to be down. I set a large timeout value
because many of the remote files in my playlist are large files.
Is there a way to leave the timeout alone, but to check to see if a
source site is up or down, and if it's down, skip all items in the
playlist from that site?
Thanks,
Damien
--
My music: http://audiodef.com
Synthetronica: http://synthetronica.com
Male survivors of domestic violence: http://abusedmen.org
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users