Hello everyone, I have a simple question which is apparently difficult to answer.
If output.icecast fails, then Liquidsoap also shuts down, plain and simple; how can I prevent that from happening? This behaviour is indeed described here http://savonet.sourceforge.net/doc-svn/on2_part1.html : "Notice that liquidsoap only attempts once to reconnect, then fails and shuts down. For another behavior that tolerates more persistent failures, set restart=true." I'd really like Liquidsoap not to exit in those situtations, but I also don't want it to endlessly retry to connect. I can already make it try not to automatically reconnect by overriding the default "onError" event and even destroy and clean up its associated source, but then I am stuck in trying to prevent Liquidsoap not to shut down when it cannot communicate with the media server anymore. I have a complex script that can take care of connection losses and try another server to communicate with when it happens. I can use a phony output.dummy(blank()) at script launch time to fake Liquidsoap in believing that something is playing all the time (or even use the "init.force_start" directive), waiting to open a new output.icecast connection to another server with add_timeout() and a fresh source. Is it possible? Can I do it using the Liquidsoap 1.1.1 script language? What's the reason behind such a default behaviour (i.e. no control over automatic shutdowns)? BTW I don't really understand what the "start" parameter for the output.icecast function does. Thanks in advance. -- regards, okay_awright <okay_awright AT ddcr DOT biz> ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
