Le samedi 13 juin 2009 12:09:28, kosnickx a écrit :
> hi,
Hi !
> i have a script that "fallbacks" between a playlist and a live
> stream. I am having this live stream and when i end it (disconnect from
> the icecast server) the playlist starts. So far everything is ok. But
> the thing is that the playlist starts from the "middle" of a song.
Yes, that is the default behaviour.
> I
> mean it seams to me that the playlist is already being streamed (somehow
> somewhere - i guess this is the way you have built it, read the playlist
> and start playing it) and the exact time i stop my live stream the
> playlist starts at the point it "is". Is there any way to start the
> playlist from the beggining and not from the middle of some song?
> Should this have to do with "length" in the playlist command? Is there
> any way to achieve this thing (to start the streaming of the playlist
> from the beggining of it every time)?
You can look at fallback.skip in the utils.liq file. This operators skips the
file currently being played when changing source. Hopefully this will be
sufficient for you.
If you look for a real restart of the playlist at its beginning, this should
need more work, but could be done too.
Romain
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users