Le mercredi 30 décembre 2009 18:15:43, pedz a écrit :
> Hi Guys
Hi !
> Ok I currently use LQ and schedule everything in LQ but I wanted to test
> out scheduling via a cron. I would like to run a script to play a playlist
> and then use the Shutdown command to exit after 2 hours or at a set time.
>
> I have searched and read the docs but I cant get my head around how to do
> this. Could you explain in a bit more detail how this could be achieved.
This can be acheived simply using liquidsoap 0.9.2 (the latest release).
A source in liquidsoap 0.9.2 may be fallible, and you can register a command
when the source stops. Hence, for instance, you can do:
output.icecast.vorbis(fallible=true, on_stop=shutdown, ...)
When the source passed to output.icecast.vorbis becomes unavailable, the
output stops and the shutdown command is executed.
If you send a script draft, I could show you more details.
Romain
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users