2012/7/25 azerty88 <[email protected]>:
> Ok, I managed to fix that. Anyway thanks.

Cool! I think David is vacationing at the moment and he's the expert
regarding queues.. :-)
Queues are tricky because from liquidsoap's point of view, it needs to
be able to know if it will have something readily available to play
after current track has ended.

As for source.skip, that can also be tricky. There is a reference
implementation for skipping during transitions in the fallback.skip
operator in utils.liq. However, I'm not sure what happens with
smart_crossfade. Usually, smart_crossfade should not be used against
live source -- a crossfade consumes data quicker that real time, which
is not good with live (real-time) sources. Therefore, you usually have
a stack that looks like:

Requests source --> smart_crossfade --> fallback <-- live source

If sending source.skip to the smart_crossfade source does not work
sometimes then you could try to call source.skip directly on the
underlying request source..

Romain

>> Hi Martin,
>
>>Thanks for your quick reply. Your workaround seems to work fine, but I run
>> into another difficulty. So again let's say there is n number of tracks in
>> my queue and it's streaming. Also I >have a crossfade operator applied on
>> the queue. When a live show ends I want to get back to the queue and start
>> with a new song. I've implemented a custom transition from live >to queue
>> which usues source.skip to achive this. In general it works ok, but during
>> testing I run into something I wasn't expecting. So when I somehow manage to
>> interupt a queue >crossfade transition with my live show then after live
>> show is ended I hear a song fading out and next song fading in. It looks
>> like source.skip cannot skip a track when already in >transition. I would
>> rather expect queue to start with third song than with a transition. I can
>> reproduce this behaviour using a playlist instead of a request.equeue. Did
>> you ever >observed similar behaviour?
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to