[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).