Thanks for the quick fix. Unfortunately I'm running into a new problem
with the latest from trunk. In the following snippet:
=====================================
player = media.Player()
source = media.load(path, streaming=False)
player.queue(source)
player.play()
=====================================
'player.queue()' raises the following exception:
=====================================
File "./mp3withslideshowplayer.py", line 47, in playSong
player.queue(source)
File "/usr/lib/python2.5/site-packages/pyglet/media/__init__.py",
line 828, in queue
group.queue(source)
File "/usr/lib/python2.5/site-packages/pyglet/media/__init__.py",
line 638, in queue
self.duration += source.duration
TypeError: unsupported operand type(s) for +=: 'float' and 'NoneType'
=====================================
I haven't touched my code when switching from 1.1 to 1.2.
2B
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---