The only thing I can think of is that you forgot to enter the pyglet
even loop? The code below plays mp3s for me but not WMAs. For some
reason WMAs give me an access violation.
import pyglet
source = pyglet.media.load('music.wma')
print "Duration =",int(source.duration/60),"minutes and",int
(source.duration%60),"seconds"
source.play()
win = pyglet.window.Window()
pyglet.app.run()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---