Summary: | ID3 v2.2 album art not being disbplayed in applications | ||
---|---|---|---|
Product: | [Frameworks and Libraries] taglib | Reporter: | Erik Johnson <palehose> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | marc.halbruegge |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch that converts v2.2 PIC frames to v2.4 APIC frames |
Description
Erik Johnson
2008-07-30 22:33:56 UTC
I would like to clarify the information above in the bug description. KDE 3.5.9 was installed using Ubuntu packages, however I have compiled and installed version 1.5 of taglib from source as Ubuntu's Hardy repos still have 1.4. The problem seems to be as follows: - in id3 v2.2 the picture type is an array of 3 characters (without terminating zero) - in later versions, the picture type is stored as zero terminated mime type taglib tries to interpret the v2.2 picture type as zero terminated, which causes various errors in the aftermath. I'll try to provide a patch in the next days Created attachment 28729 [details]
patch that converts v2.2 PIC frames to v2.4 APIC frames
forgot to mention: the patch goes into directory taglib/mpeg/id3v2 please use the cumulative patch added to Bug 171957 (taglib corrupts ogg files) instead SVN commit 994836 by lalinsky: Support for ID3v2.2 PIC frames Patch by Marc Halbruegge BUG:167786 M +49 -1 taglib/mpeg/id3v2/frames/attachedpictureframe.cpp M +13 -3 taglib/mpeg/id3v2/frames/attachedpictureframe.h M +9 -2 taglib/mpeg/id3v2/id3v2framefactory.cpp M +20 -0 tests/test_id3v2.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=994836 |