Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: 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örn
Received on 2002-07-10

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy