I appreciate your quick response.  I don't want to be a pain but I think my
main problem here is my understanding of using def...as your example shows:


def transition(old,new) =
 sequence([single("/path/to/
intro.mp3"),new])
end

I don't understand what the (old,new) part refers to and how that is even
used in the fallback statement.  I think I need to gain an understanding of
how this works to be able to really make use of this.  Do you have any tips
for where I could really learn these types of commands for beginners like
myself?  I would search for it, but I don't know what it is called :)

I appreciate your assistance with some direction as I don't think I'm going
to get much farther w/ liquidsoap w/o learning these functions.  Thanks!

On Tue, Jun 14, 2011 at 11:44 AM, Romain Beauxis <[email protected]>wrote:

> Hi James!
>
> Le 14 juin 2011 09:23, James Ford <[email protected]> a écrit :
> > I would like to add an intro stream which points to an .mp3 file that
> will
> > play as soon as the input.harbor stream is connected introducing the
> stream
> > initiation as it will be interrupting a fallback playlist.  I was
> thinking
> > that on_connect may be able to do that but for the life of me can't
> figure
> > out how to make that work so maybe that isn't it.  For now the
> input.harbor
> > stream just interrupts the fallback playlist suddenly and I'd like to
> make
> > the transition smoother.  If anyone has any ideas they would be greatly
> > appreciated.  I'm very new to liquidsoap and script writing in general.
>
> I think that the transitions options of the fallback may be what you
> are looking for. This looks like this:
>
> def transition(old,new) =
>  sequence([single("/path/to/intro.mp3"),new])
> end
>
> s = fallback(transitions=[transition,transition],[live,playlist])
>
> This is a very rough example to show you the idea. You might look at
> the documentation for more details, in particular for having different
> transitions for live->playlist and playlist->live switches or adding
> fade in/out.
>
> Romain
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to