Summary: | Does not find all COMment fields in ID3v2.2 Tags (created by iTunes) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] taglib | Reporter: | Clemens Wacha <reflex-2000> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Clemens Wacha
2005-01-02 19:04:47 UTC
Update: taglib cannot properly import COM fields from ID3v2.2 Tags created by iTunes. I converted the tags with iTunes to 2.4 and everything worked. The rewrite of the tag just shows another problem and has nothing to do the import failure. I will open a seperate bug report for this one. Looks like APIC Frames have the same problem. in id3v2framefactory.cpp function FrameFactory::createFrame you call updateFrame to convert from 3-byte ID2v2.2 to 4-byte ID3v2.4. Afterwards you HAVE TO update the frameID to point to the converted data:
>>>>>>>>>>>>>>>>>>
if(!updateFrame(header)) {
delete header;
return 0;
}
------------------
if(!updateFrame(header)) {
delete header;
return 0;
}
// since we may have converted a IDv2.2 tag we have to reread the frameID
frameID = header->frameID();
<<<<<<<<<<<<<<<<<<<
That solves the problems with the comment field
Problems left: APIC Description is now visible but contains some illegal characters.
Fixed this one earlier today. |