ID3v2.3 tags with null terminated string in TRCK frame

Xavier Duret xaviour.maillists at gmail.com
Tue Jan 16 19:57:42 CET 2007


Using HEAD in subversion:

The file with this tag will return track number = 0 (which is incorrect).
0000:0000 49 44 33 03 00 00 00 00 21 36 54 49 54 32 00 00 ID3.....!6TIT2..
0000:0010 00 0c 00 00 00 68 65 61 76 65 6e 6c 65 73 73 00 .....heavenless.
0000:0020 54 50 45 31 00 00 00 0f 00 00 00 49 6c 73 65 20 TPE1.......Ilse
0000:0030 64 65 20 4c 61 6e 67 65 00 54 41 4c 42 00 00 00 de Lange.TALB...
0000:0040 0a 00 00 00 43 6c 65 61 6e 20 55 70 00 54 59 45 ....Clean Up.TYE
0000:0050 52 00 00 00 06 00 00 00 32 30 30 33 00 54 52 43 R.......2003.TRC
0000:0060 4b 00 00 00 03 00 00 00 35 00 43 4f 4d 4d 00 00 K.......5.COMM..
0000:0070 00 0d 00 00 00 65 6e 67 00 54 72 61 63 6b 20 35 .....eng.Track 5
0000:0080 00 54 43 4f 4e 00 00 00 09 00 00 00 43 6f 75 6e .TCON.......Coun
0000:0090 74 72 79 00 54 45 4e 43 00 00 00 22 00 00 00 45 try.TENC..."...E
0000:00a0 78 61 63 74 20 41 75 64 69 6f 20 43 6f 70 79 20 xact Audio Copy
0000:00b0 20 20 28 53 65 63 75 72 65 20 6d 6f 64 65 29 00   (Secure mode).
0000:00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

While the file with this tag will return track number = 5 (which is correct).
0000:0000 49 44 33 03 00 00 00 00 21 36 54 49 54 32 00 00 ID3.....!6TIT2..
0000:0010 00 0c 00 00 00 68 65 61 76 65 6e 6c 65 73 73 00 .....heavenless.
0000:0020 54 50 45 31 00 00 00 0f 00 00 00 49 6c 73 65 20 TPE1.......Ilse
0000:0030 64 65 20 4c 61 6e 67 65 00 54 41 4c 42 00 00 00 de Lange.TALB...
0000:0040 0a 00 00 00 43 6c 65 61 6e 20 55 70 00 54 59 45 ....Clean Up.TYE
0000:0050 52 00 00 00 06 00 00 00 32 30 30 33 00 54 52 43 R.......2003.TRC
0000:0060 4b 00 00 00 03 00 00 00 30 35 43 4f 4d 4d 00 00 K.......05COMM..
0000:0070 00 0d 00 00 00 65 6e 67 00 54 72 61 63 6b 20 35 .....eng.Track 5
0000:0080 00 54 43 4f 4e 00 00 00 09 00 00 00 43 6f 75 6e .TCON.......Coun
0000:0090 74 72 79 00 54 45 4e 43 00 00 00 22 00 00 00 45 try.TENC..."...E
0000:00a0 78 61 63 74 20 41 75 64 69 6f 20 43 6f 70 79 20 xact Audio Copy
0000:00b0 20 20 28 53 65 63 75 72 65 20 6d 6f 64 65 29 00   (Secure mode).
0000:00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................


More information about the taglib-devel mailing list