Ok, I've just pushed a new on_track callback for playlists. It takes two
argument: ~last:bool, true when the next track is the last in the playlist
and the actual track's position. If you return true in this function then a
playlist reload will be immediately queued.

2018-04-16 11:22 GMT-05:00 Romain Beauxis <[email protected]>:

> Actually, no. It's not a bad idea, I'll look at adding a playlist argument
> for it.
>
> 2018-04-10 15:45 GMT-05:00 Jeff Hyche <[email protected]>:
>
>> I have a number of playlists.once that are reloaded using a cronjob.  Is
>> there a way to tell what play list just got finished playing?  I want to
>> create a intellegent function using on_done=, but I need a way to tell
>> what playlist just finished.
>>
>> I've been playing with the source.id() but it doesn't seem to be useful
>> for that.   In fact I really can't figure out what use it has at all
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to