FS#805 - ignore duplicate ID3v2 tags

Attached to Project: Rockbox
Opened by Bill Napier (billnapier) - Wednesday, 22 January 2003, 19:53 GMT
Last edited by Björn Stenberg (zagor) - Monday, 10 March 2003, 15:55 GMT
Task Type Patches
Category ID3 / meta data
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The patch allows the id3v2 parser to ignore any duplicate
tags and only accept the first tag it sees. According to the
Id3v2 spec, this seems to be an appropriate behavior. The
spec indicates that you SHOULD put the most important
tags first in the list (but doesn't require any order). I
thought it would then be reasonable that the parser accepts
the first tag it sees and rejects any additional tags.

For example:
A few mp3's I have have both a TIT2 and TT2 tag. I don't
know why. Currently we pick the last tag seen (in these
cases TT2). This patch reverses it to use the first tag seen
(in these cases, the TIT2 which happens to have the right
information in it).
This task depends upon

Closed by  Björn Stenberg (zagor)
Monday, 10 March 2003, 15:55 GMT
Reason for closing:  Accepted
Comment by Björn Stenberg (zagor) - Thursday, 27 February 2003, 13:43 GMT

Umm, where's the patch file?
Comment by Bill Napier (billnapier) - Thursday, 27 February 2003, 14:16 GMT

I think I forgot to check the box to attach the file. Let's see if I
remember to check the box this time.