Hello again,
It seems i misunderstand a lot of things! hehe
well...
For QUESTION 1 i will the use old icecast fallback option... about the live
streaming i added just for testing:
# Live source from live.ogg:
live = input.http("http://host:port/live.ogg")
# source2: plays live as soon as available, playlist if not. Don't wait #for
the end of any song to switch
source2 = fallback(tracksensitive=false,[live, playlist])
and i receive a Line 28, char 47 before ";": Parse error
when run the script... why does it happen and mean?
For QUESTION 2
> Yes, the parameters for the array are not mount point names, but
> list of sources, as written above.
sorry, but i dont understand the point, what is the difference between a source
and a mount point? if possible i really appreciate a working example (better if
works for me! :) )
For QUESTION 3
> You can use the "mode" parameter:
> mode (string | defaults to "randomize"): normal|random|randomize
I misunderstand again, where should be this line ? and how exactly must be in
my script? normal|random|randomize look like options where i should just use
one... but what is the difference between random and randomize?
Thanks a lot!
Jorge
----- Mensaje original -----
De: Romain Beauxis <[EMAIL PROTECTED]>
Para: [email protected]
Cc: Jorge Ignacio Jiménez <[EMAIL PROTECTED]>
Fecha: 2007-05-16 11:27:17
Asunto: Re: [Savonet-users] hi list, 3th, 4th and 5th questions =)
> Hi !
>
> Le Wednesday 16 May 2007 18:10:26 Jorge Ignacio Jiménez, vous avez
> écrit :
> > QUESTIONS
> >
> > 1) My interlude simply does not work, if the user is listening
> and i kill
> > the mount point, the user is disconnected after some seconds
> without
> > interlude song. What is wrong in the code?
>
> I think you misunderstood the interlude thing.. :)
> It is not meant to act at icecast level at all.
> You approach is the old icecast fallback thing. I guess you drop
> the
> mountpoint when the live starts and then move listeners to the new
> live mount
> point, possibly with an interlude, but surely with discontinuity in
> the audio
> stream..
>
> We partly have designed liquidsoap to get rid of those ugly things
> and act
> directly at the stream level.
> Now, for instance at RadioPi, all mount points are permanent, they
> never
> disconnect when a live starts or else. Instead, liquidsoap handles
> transitions from and to live..
>
> Let's say you have a playlist source called "playlist", and then
> you want to
> build a source that output either audio data from icecast mount
> point
> live.ogg, when it is available, then you can define those sources:
>
> # Live source from live.ogg:
> live = input.http("http://host:port/live.ogg")
> # source2: plays live as soon as available, playlist if not. Don't
> wait for
> # the end of any song to switch
> source2 = fallback(tracksensitive=false,[live, playlist])
>
> Then source2 will stream live data as soon as it is available, or
> the
> playlist. You may even define a transition that would for instance
> play a
> jingle before live starts, but I'll tell you on this later if you
> wish.
>
> Then if you want to build a source that uses another fallback when
> neither
> playlist or input.http are available, you can define:
> source2 = fallback(tracksensitive=false,[live, playlist,
> interlude])
>
> interlude will be selected when nothing else is available.
>
> This allows you to never disconnect a mount point, and its
> listeners.
> I hope I've been clear.. Was I ?
>
> > 2)I cannot run the script with the fallback line, my sintax must
> have a
> > problem, how should i rewrite it ?
>
> Yes, the parameters for the array are not mount point names, but
> list of
> sources, as written above..
>
> > 3) the playlist is reproduced by the liquidsoap in random order,
> what is
> > the parameter to change it?
>
> You can use the "mode" parameter:
> mode (string | defaults to "randomize"): normal|random|randomize
>
> Romain
> --
> Why's this fussing and a-fighting?
> I wanna know, Lord, I wanna know
> Why's this bumping and a-boring?
> I wanna know, Lord, I wanna know now
-------------------------------------
Saca tu propia cuenta de email gratis en Colombia entrando a
http://mail.conexcol.com