Skip Menu |

This queue is for tickets about the MP3-Info CPAN distribution.

Report information
The Basics
Id: 2212
Status: new
Priority: 0/
Queue: MP3-Info

People
Owner: cnandor [...] cpan.org
Requestors: lj [...] dcs.ed.ac.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: preliminary ZLib support (no error checking), better handling of encoding flags
I can guarantee this works with at least one mp3 file :) I'm no perl programmer, so it's not very concise.
Download Info.pm.1.02.diff.zlib
application/octet-stream 1.8k

Message body not shown because it is not plain text.

[guest - Tue Mar 11 19:33:04 2003]: Show quoted text
> I can guarantee this works with at least one mp3 file :) > > I'm no perl programmer, so it's not very concise.
Thanks ... I have no MP3s with gzipped data, so I have no way to test this, though. Do you have any resources I can look into?
From: lj [...] dcs.ed.ac.uk
[CNANDOR - Tue Mar 11 19:36:20 2003]: Show quoted text
> [guest - Tue Mar 11 19:33:04 2003]: >
> > I can guarantee this works with at least one mp3 file :) > > > > I'm no perl programmer, so it's not very concise.
> > Thanks ... I have no MP3s with gzipped data, so I have no way to test > this, though. Do you have any resources I can look into?
It's almost entirely guesswork - the id3v2 doesn't say much about zlib other than how to detect it in a frame (http://www.id3.org/id3v2.3.0.html). Mostly I worked out the format by looking at a zlib-compressed mp3. I've attached the first 8k of it. I've tested using just the first 8k, and it seems to work like the whole thing. The tag was written by renamer (http://www.albert.nu/Programs/Renamer/) 6.0 beta 3, later betas remove ID3v2 support. It only seems to write zlib fields if the string is very long (>100 or so chars).
Download zlib.mp3
audio/mpeg 8k

Message body not shown because it is not plain text.

From: lj [...] dcs.ed.ac.uk
This fixes parsing of id3v2.2 tags, which I mistakenly assumed had a field encoding byte, but actually don't.
Download Info.pm.diff.2.2
application/octet-stream 445b

Message body not shown because it is not plain text.