Rockbox mail archiveSubject: Re: id3v2 vs id3v1; relative path update
Re: id3v2 vs id3v1; relative path update
From: Björn Stenberg <bjorn_at_haxx.se>
Date: Wed, 10 Jul 2002 11:03:42 +0200
Mat Pritchard wrote:
> OK, looking at the id3 code the other day, I notice that the id3v2 tags
> are not processed if the length specified in the header is > 300 bytes.
> My id3v2 lengths are frequently 1500 bytes or so, and therefore not
> displayed. Is there any reaon for this? I mean the id3 frame can be any
> length (256 MB from memory), but we only look at a few specific tags
> anyway. Is it possible to just parse the tags we need?
It is possible, but the current code reads the whole ID3 block to memory and processes it there. That's the reason for the size limit.
I don't want to always use disk parsing, since that takes longer and uses more power. But I would welcome code that parses the tag from disk if it doesn't fit our memory buffer.
> Also, I sent a patch to Linus RE an improvement to the absolute path
> code. Would you like me to send the patch to someone else?
Send it to the list or to me personally. Linus is currently on vacation.
-- BjörnReceived on 2002-07-10