HI Dan, Sorry for the difficulty regarding the media module refactor. It was done to unify the codec structure that is shared between the image, media, and upcoming model modules. Let me know if you need assistance with merging anything in. I'm fairly familiar with the module, so I'm happy to do a little manual work.
With regards to interable sources, I prefer the idea of `Player.queue` detecting whether the source is iterable or not. It doesn't necessarily have to be difficult to explain. The documentation can simply explain that you can queue a single source, or list of sources (or any iterable of sources). On Sunday, June 10, 2018 at 10:59:01 PM UTC+9, Daniel Gillet wrote: > > Hello, > > > Le dimanche 3 décembre 2017 16:20:29 UTC+1, Daniel Gillet a écrit : >> >> [...] At the moment I'm working on the player queue mechanism. The basics >> are implemented. I've adjusted the tests where needed. I would need now to >> add more tests to check if everything is working correctly when using an >> iterable (or iterator) of sources. >> >> I'll push soon my work in progress on my repo: >> https://bitbucket.org/dangillet/pyglet/ Anyone who wants to give it a >> try can pull directly from there. I will only make a pull request once I'm >> happy with the code. >> >> Dan >> > > I still have that work on a branch in my Pyglet fork. In the meantime > Benjamin changed the layout of the files and merging it back will take some > efforts, but it's totally doable. Before rushing into this, do you think I > should do that? Or do you prefer to stick with the current PlayList which > is less Pythonic as Greg Ewing correctly explained. > > Dan > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
