Hi,

2010/3/27 Octavio Rossell <[email protected]>:
> radio=fallback(track_sensitive=false, live,silence,music])
> "radio" does not work: silence remains and no music on playlist starts.

You probably want to put silence last in the list, so that you music
playlist is chosen instead of it when it's ready to play something.

Regarding your 10s question, I'd need time to make a good answer. My
idea would be to insert the 10s silence in a transition from the live
source to the automated music source, but I'm not sure it'd behave
properly. In fact, I'm not sure to understand your problem with short
disconnections: you say that audio unexpectedly goes out, what do you
mean?

(1) Do you mean that part of the live stream is lost? I don't see why
that would be the case (if we're talking about the client
disconnecting cleanly) and how the silence would change it. If the
disconnection is due to network failure, then it might be that when
the client reconnects it doesn't replay its stream exactly from the
right point. In that case the receiver (liquidsoap) cannot do anything
about it.

(2) Or do you just mean that you don't like to start a playlist file
and interrupt it after 3 seconds when the live stream restarts? In
this case the blank makes sense. Try something like
fallback(track_sensitive=true,transitions=[to_live,to_playlist],[live,music])
with:

def to_live(music,live)
  # directly play live
  live
end

def to_playlist(live,music)
  sequence(merge=true,[blank(duration=10.),music])
end

HTH
-- 
David

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to