Thanks for your reply, but the point is that there are running multiple
scripts, which all have to start/stop at different times.
If I'd stop icecast, everything would stop en that is not what I want.
I
could of course use cron to start / stop liquidsoap instances, however,
that would introduce a whole lot of work maintaining all different
start/stop times (times may change a few times per script per year). So
if it's possible to do it via a script, it would be awesome :)

> Date: Sat, 12 Sep 2009 14:33:19 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Savonet-users] Streaming only between certain times
> 
> 2009/9/12 Mathijs Vos <[email protected]>:
> > Hi everyone,
> >
> > Another liquidsoap question this time.
> > I'd like Liquidsoap to stream only between certain times.
> > For example: a script should produce output between 8h-20h, otherwise it
> > should do nothing (making the mountpoint unavailable). I already tried this:
> >
> > switch([ { 8h-20h }, output.icecast.vorbis.cbr(<etc>))]
> >
> > However, while this does not produce any errors, it doesn't work since the
> > stream is active all the time.
> > Is there a way to achieve this?
> >
> > Thanks in advance!
> >
> > -Mathijs
> 
> Hello,
> 
> I'd say it's probably easier do it at icecast-level, with cron (start
> at x, stop at y).
> 
> Regards,
> Ari Constancio
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

_________________________________________________________________
Nieuws, entertainment en de laatste roddels. Je vind het op MSN.nl!
http://nl.msn.com/
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to