*Vennlig hilsen / Kind regards*
*Joakim Refsdahl*
*(+47) 400 69 819*
*StreamLab : Digital Skilting*
http://streamlab.no/
Hi there!
My Liquidsoap script is running on a RaspberryPi 2, and the script is
running all day long. It's a pretty simple script, and seems to be working
_most_ of the time.
But recently I have ran into a problem where the Pi loses connection to the
streaming server, and jumps over to the fallback track (wich is roughly 1
hour long)
But the fallback track only play for about 4 minutes, tries and fails to
reconnect, then it starts the fallback track from the start again.
Heres my current script;
# STL Liquidsoap Config
# Logging
set("log.file.path", "/home/pi/log/liquidsoap.log");
# Setup our sources
main_url = "
http://samcloud.spacial.com/api/listen?sid=72481&rid=125573&m=m3u";
emergency_audio = "/home/pi/backup-audio.mp3";
# Our main source is streaming with silence detection
radio_stream = input.http(main_url);
# Fall back to an MP3 file
# Also worth noting, if we get this far, we ought to tell someone (if we
can)
emg_file = single(emergency_audio);
radio_stream = fallback(track_sensitive = false, [radio_stream, emg_file]);
# Finally, pump it out the soundcard
output.alsa(radio_stream);
The only thing i have tried yet, wich I can't find anything about in the
documentation, is this line:
radio_stream = fallback(track_sensitive = false, [radio_stream, emg_file]);
Where tried to change the track_sensetive = false to track_sensetive =
true. But then the fallback file won't play at all for some reason..
All help is kindly appreciated!
Thanks.
Kind regards
Joakim Refsdahl
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users