How should I go about looping a playlist of streaming sources? My
first thought was to enqueue two of the tracks at the start, and as
each ended enqueue the next. I don't really understand the queueing
system at the moment though. Will a StreamingSource queued on a Player
remain queued there until the player dies, or does it leave the queue
after some period of time after it has finished playing? When a track
needs to be skipped I call Player.next() and attempt to enqueue the
next track, which at this point is unqueueable, scheduling the
enqueueing for later on the pyglet clock doesn't seem to help, which
leads me to believe the StreamingSources will never leave the queue.

What's the correct way to implement a looping playlist of music where
tracks can be skipped?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to