Hi,
Thanks for your reply!
> Hi !
>
> Le samedi 26 septembre 2009 08:48:33, Mathijs Vos a écrit :
> > The stream is sent, however it contains nothing but silence.
> > However during some experimenting, I decided to change the "blank()"
> > fallback thing into "noise()". I rebooted my server and started listening
> > the stream again. After about two seconds of noise, music started! Just to
> > make sure it was the blank() to noise() that made the stream working
> > again, I changed it back, rebooted and... it didn't work anymore. Then
> > again I used noise() again and Liquidsoap was back in action.
>
> I don't really understand why it works with noise, but I can tell you why it
> does not work with blank.
>
> The fallback operator by default selects a new source only when the track of
> the current source ends. Hence, when you start it with a playlist and a blank
> source, if the playlist is not imediately ready, which is very likely to be
> the case everytime, it selects the blank source.
>
> However, since the blank source is a single track, it never switches back to
> the playlist.
>
> In order to change that you should add the track_sensitive=false option to
> the
> fallback operator. This is for instance the way mksafe is defined:
>
> def mksafe(s)
> fallback(id="mksafe", track_sensitive=false, [s, blank(id="safe_blank")])
> end
>
>
> Romain
I see, that indeed was quite a stupid mistake from my side.
I'll test this tomorrow, although I guess it'll work.
Thanks once again!
Cheers,
Mathijs
_________________________________________________________________
Krijg updates van je vrienden en blijf op de hoogte
http://home.live.com
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users