Hi,

On Thu, Jun 25, 2009 at 6:32 PM, <[email protected]> wrote:
> Thanks for this feature, do you think it's better (or easier) than the
> solution below ?

The two solutions have the same cost. It's probably simpler to use
on_blank() rather than the source transitions, but it's entirely up to
you.

>> def transition_start(before,after)
>>   startit()
>>   sequence([before,after])
>> end
> [...]
> In my case, where's linking before & start ?
> Not sure I've fully understand.. sorry.

My transition_start function (which can be passed to fallback() as a
transition) is just a wrapper around your startit, which says: I'm the
default transition (sequencing) except that I call startit by the way.
The parameters before and after simply represent the current and next
track, from which you build a transition.

To complete the solution using transitions, you would have to define
transition_stop in the same way, calling stopit. Then you can do
fallback(transitions=[transition_start,transition_stop],[...]).

Is that clearer?
-- 
David

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to