[ogg-dev] Extracting Ogg metadata from File-like python objects

Ralph Giles giles at xiph.org
Mon Jun 20 02:25:27 PDT 2005


On Sun, Jun 19, 2005 at 11:13:15PM +0100, Salim Fadhley wrote:

> The problem with the python ogg libraries is that they seem to expect
> the file in question to be a regular file system file. The libs dont
> expect that other kinds of file-like entity may exist, or be simulated
> (a very common pythonic idiom).

Ouch. I'm not at all familiar with the python tools, but that certainly 
sounds like a bug. Any interest in fixing it?

Parsing the comment headers for Ogg Vorbis and Ogg Theora files in pure 
python is simple enough, so that might be an easier approach to what you 
want to do. Maybe a simple extension on top of 
http://svn.xiph.org/trunk/py-ogg2/

 -r


More information about the ogg-dev mailing list