Bug 466264

Summary: Kid3 does not show some fields from mp3 tag
Product: [Applications] kid3 Reporter: vyacheslav <galdralag>
Component: generalAssignee: Urs Fleisch <ufleisch>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.9.x   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Archive with 2 mp3 files

Description vyacheslav 2023-02-22 20:30:22 UTC
Created attachment 156617 [details]
Archive with 2 mp3 files

Kid3 does not show some fields from mp3 tag. See attachment: NoTitle.mp3 - kid3 shows empty title, NoTrackNumber.mp3 - kid3 shows empty track number.
Other multimedia programs easytag and audacious shows this files correctly.
Comment 1 Urs Fleisch 2023-02-23 16:58:35 UTC
Thanks for the report. I think that you found a real bug in TagLib, the library which is used by Kid3 for ID3v2.4 tags. I analyzed your two files. The special thing in your files is that they contain an extended header, which is used in this case to contain a CRC number. The usual MP3 files you find in the wild do not have such an extended header. TagLib reduces the amount of data to check for frames in the remaining tag by the size of this extended header, but it does it twice. Therefore the last frame (in one case the title and in the other the track number) is not parsed. I will create a bug report and a fix for TagLib and then ship future versions of the Kid3 binaries with a patched TagLib.
Comment 2 Urs Fleisch 2023-07-09 04:57:38 UTC
Fixed in TagLib 1.13.1, which is used by the binary packages of Kid3 3.9.4.