Comparing the results of id3tag to the results of taglib: 3 potential bugs

Xavier Duret xaviour.maillists at gmail.com
Thu Jan 11 14:35:38 CET 2007


It seams the webmail I am using is worse than I thought. In the past,
it was just doing some reformating. Now, it ate most of this email. A
legacy from university... I am done with this Lycos junk webmail. I
created a gmail address for maillists. Sorry for the inconvenience.

Here is the tag extracted from one of the files that has duplicated genre:
0000:0000 49 44 33 03 00 00 00 00 11 1c 54 45 4e 43 00 00 ID3.......TENC..
0000:0010 00 01 40 00 00 57 58 58 58 00 00 00 02 00 00 00 .. at ..WXXX.......
0000:0020 00 54 43 4f 50 00 00 00 01 00 00 00 54 4f 50 45 .TCOP.......TOPE
0000:0030 00 00 00 01 00 00 00 54 43 4f 4d 00 00 00 01 00 .......TCOM.....
0000:0040 00 00 54 43 4f 4e 00 00 00 09 00 00 00 28 31 37 ..TCON.......(17
0000:0050 29 52 6f 63 6b 54 52 43 4b 00 00 00 03 00 00 00 )RockTRCK.......
0000:0060 31 32 43 4f 4d 4d 00 00 00 21 00 00 00 65 6e 67 12COMM...!...eng
0000:0070 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
0000:0080 20 20 20 20 20 20 20 20 20 20 20 20 20 54 59 45              TYE
0000:0090 52 00 00 00 05 00 00 00 32 30 30 33 54 41 4c 42 R.......2003TALB
0000:00a0 00 00 00 0e 00 00 00 54 68 65 20 4c 6f 6e 67 20 .......The Long
0000:00b0 52 6f 61 64 54 50 45 31 00 00 00 0b 00 00 00 4e RoadTPE1.......N
0000:00c0 69 63 6b 65 6c 62 61 63 6b 54 49 54 32 00 00 00 ickelbackTIT2...
0000:00d0 36 00 00 00 53 61 74 75 72 64 61 79 20 4e 69 67 6...Saturday Nig
0000:00e0 68 74 27 73 20 41 6c 72 69 67 68 74 20 28 46 6f ht's Alright (Fo
0000:00f0 72 20 46 69 67 68 74 69 6e 67 29 20 28 42 6f 6e r Fighting) (Bon
0000:0100 75 73 20 54 72 61 63 6b 29 00 00 00 00 00 00 00 us Track).......
0000:0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Brian was right. So there is a problem.

Here is the tag extracted from one of the files that has the "Blues" genre:
0000:0000 49 44 33 03 00 00 00 00 08 59 54 52 43 4b 00 00 ID3......YTRCK..
0000:0010 00 01 00 00 00 54 45 4e 43 00 00 00 01 40 00 00 .....TENC.... at ..
0000:0020 57 58 58 58 00 00 00 02 00 00 00 00 54 43 4f 50 WXXX........TCOP
0000:0030 00 00 00 01 00 00 00 54 4f 50 45 00 00 00 01 00 .......TOPE.....
0000:0040 00 00 54 43 4f 4d 00 00 00 01 00 00 00 43 4f 4d ..TCOM.......COM
0000:0050 4d 00 00 00 05 00 00 00 00 58 70 00 54 43 4f 4e M........Xp.TCON
0000:0060 00 00 00 01 00 00 00 54 59 45 52 00 00 00 05 00 .......TYER.....
0000:0070 00 00 32 30 30 34 54 41 4c 42 00 00 00 01 00 00 ..2004TALB......
0000:0080 00 54 50 45 31 00 00 00 0e 00 00 00 41 76 72 69 .TPE1.......Avri
0000:0090 6c 20 4c 61 76 69 67 6e 65 54 49 54 32 00 00 00 l LavigneTIT2...
0000:00a0 0e 00 00 00 44 6f 6e 27 74 20 54 65 6c 6c 20 4d ....Don't Tell M
0000:00b0 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e...............
0000:00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Scott was right. So there is no problem.

Here is the tag extracted from one of the files that has trailing
space in the different fields.
006f:bba0 ac c8 48 89 5f fe 04 d2 05 54 41 47 42 69 67 20 ¬ÈH._þ.Ò.TAGBig
006f:bbb0 4c 69 65 20 53 6d 61 6c 6c 20 57 6f 72 6c 64 20 Lie Small World
006f:bbc0 20 20 20 20 20 20 20 20 20 20 53 74 69 6e 67 20           Sting
006f:bbd0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
006f:bbe0 20 20 20 20 20 20 20 20 42 72 61 6e 64 20 4e 65         Brand Ne
006f:bbf0 77 20 44 61 79 20 20 20 20 20 20 20 20 20 20 20 w Day
006f:bc00 20 20 20 20 20 20 31 39 39 39 20 20 20 20 20 20       1999
006f:bc10 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
006f:bc20 20 20 20 20 20 20 20 20 0d                              .

Brian was wrong. It is a problem of difference of interpretation of
ID3v1.1 between whatever junk produced this file and taglib. The
question is should taglib handle it gracefully.


More information about the taglib-devel mailing list