dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Tracknum

Re: Tracknum

From: Magnus Holmgren <>
Date: Fri, 16 Aug 2002 11:49:22 +0200

Magnus Holmgren wrote:

> Did some debugging using the simulator and I finally realized why I
> didn't get any tracknum. ID3V2 tags aren't loaded.
> The reason? Padding. All my tags (or almost all) ID3V2 tags are at least
> 2 KB, due to the ripper used... So the ID3V2 tag wasn't read after all.
> (The file I tested in standalone mode was ofcourse _not_ padded. :)

An easy fix (that seems to work) is to remove the size check in id3.c at
line 605, that is, the "entry->id3v2len <= sizeof( entry->id3v2buf )"
part. The ID3V2 loader will only read up to the size of the buffer

Magnus Holmgren
Received on 2002-08-16

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