Le 2012-03-11 01:43, Romain Beauxis a écrit :

Thanks to you ;)
that's working fine !

> Hi,
>
> 2012/3/8 Albert Bruc <[email protected]>:
>> if i'm doing that, the stream change to rfi at 21h, but switch 
>> doesn't
>> work at 21h10 (stay on rfi)
>> I have to make the source (rfi) "weak"
>> but, i don't understand how
>
> This happends because the switch waits for the end of current track 
> to
> switch to another source. However, live source do not have tracks..
> Therefore, you need to add track_sensitive=false to your switch.
>
> Please note, however, that you may not need a track_sensitive=false
> for the whole switch. In this case, you may create a source for rfi
> seperatly like this:
>   rfi = switch(tracks_sensitive=false, ({ 21h-21h10 }, rfi))
>
> and plug this into your main switch:
>
> default=fallback([ request.queue(id="request"),switch([({ 6h-18h },
> morning),({ 18h-21h }, night),({ true }, rfi),({ 21h10-6h },
> night)])])
>
> Romain


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to