|
Rockbox mail archiveSubject: Re: Re[2]: OT: Windows-based ID3 editor for numeric genre tagsRe: Re[2]: OT: Windows-based ID3 editor for numeric genre tags
From: TP Diffenbach <rockbox_at_diffenbach.org>
Date: Wed, 16 Apr 2003 10:42:13 -0400 > BS> Since so many software authors have interpreted the id3v2.3 > BS> spec to mean free-text genres are allowed, we need to support > that > BS> in Rockbox too. I supplied a patch to display freeform genres (patch # 706111 on sourcefourge: http://sourceforge.net/tracker/index.php?func=detail&aid=706111&group_id=44306&atid=439120) My patch displays the v2.3 genre as freeform unless the first character is an open parenthesis, followed by a number and a close parenthesis; in that case, the number is interpreted as a v1 genre number, and the name associated with that genre number is used as the genre name. The parsing of this number is performed exactly as the v1 genre is interpreted (and as v2.3 genres are interpreted by the existing Rockbox code) -- in fact I pretty much just copied the existing Rockbox code. Please note that neither the existing Rockbox code nor my patch fully complies with the v2.3 genre specification, which allows for multiple numbered genres to be interpersed with text, and for two open parentheses to be used as an escape sequence. E.g., "Mellow (1) with (3) crooning ((2)" should, under the specification, be displayed as "Mellow Blues with Country crooning (2)". While not especially challenging to code, supporting this would require a parser with a one-character look-ahead, adding additional code that I question whether anybody would actually use, given the minor space savings over pure freeform text. (Of course, if even one person responds that they actually use this baroque format, I shall feel an irritating onligation to support it. ;) ) Please note that my patch makes it much easier (I think, anyway) to add new ID3 tags: one must only add an item to an array, and a member to a struct, to read the new tag. Adding code isn't necessary unless special processing of the the new tag is required. (Making it display still requires adding another case to a switch, and a sprintf.) Quoting Eric Linenberg <elinenbe_at_umich.edu>: > There is or was a patch for this a while back. There also was an > ID3 > tag editor patch that looked wonderful. > > -eric > > BS> Eric Trondson-Clinger wrote: > >> Can anybody recommend a Windows-based ID3 tag editor that uses > numeric > >> values for the v2.3 genre tag? > > BS> Since so many software authors have interpreted the id3v2.3 > BS> spec to mean free-text genres are allowed, we need to support > that > BS> in Rockbox too. > > > > -- Archos FM needs a Rockbox!Received on 2003-04-16 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |