Hello list,
I am trying to crash this code:
_______________
#!/usr/local/bin/liquidsoap -v
set log.dir = "/tmp"
set socket = false
stream = normalize(playlist.safe(mode="normal",
"/path/to/playlist-main.txt"))
iffail = normalize(playlist.safe(mode="normal",
"/path/to/playlist-rescue.txt"))
die = fallback(track_sensitive=false,[stream,iffail])
output = output.icecast.mp3(mount="test.mp3",bitrate=64,host="localhost",
port=8000,user="xxx",password="xxxx",die)
________
With the next results (the radio station was running during all tests):
1) If playlist-main.txt is deleted the radio station does not fail.
2) if playlist-main.txt is corrupted the radio station does not fail
3) If i modify playlist-main.txt the radio station ignores the change until the
script is restarted for any reason.
4) if playlist-main.txt is corrupted or deleted and the radio station is
restarted, it does not load the playlist-rescue.txt :(
I have a very similar code with a live streaming moving to a static playlist
and viceversa without problems, why it does not work between two static
playlists? am i missing something?
Thanks again for your help
Jorge
-------------------------------------
Saca tu propia cuenta de email gratis en Colombia entrando a
http://mail.conexcol.com