On Apr 7, 11:30 pm, Guyon  Morée <[EMAIL PROTECTED]> wrote:
> I'd like to build a shoutcast streaming audio player. The problem I'm
> encountering is that media.load() only accepts filenames.
>
> What I'd like to be able to do is, parse the shoutcast stream (for
> metadata) and send the mp3encoded bytes to the pyglet media module for
> playback.
>
> Any ideas how I could do this?

Given that Alex said AVBin would need changing significantly, the only
way I can think of is to go via the OS somehow. Perhaps putting the
data into a named pipe and passing that as the filename to open()
would work? Sadly os.mkfifo isn't implemented on Windows for some
reason, but I don't know if this is a problem for you.

--
Ben Sizer

--~--~---------~--~----~------------~-------~--~----~
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