Bug 290330 - Support for ID3v2.2 frames used by iTunes (TCP, TS2, TSA, TSC, TSP, TST)
Summary: Support for ID3v2.2 frames used by iTunes (TCP, TS2, TSA, TSC, TSP, TST)
Status: RESOLVED FIXED
Alias: None
Product: taglib
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 1.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 16:28 UTC by Urs Fleisch
Modified: 2012-01-05 15:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Add conversion for TCP, TS2, TSA, TSC, TSP, TST ID3v2.2 frames. (1.15 KB, patch)
2012-01-01 16:28 UTC, Urs Fleisch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Urs Fleisch 2012-01-01 16:28:02 UTC
Created attachment 67305 [details]
Add conversion for TCP, TS2, TSA, TSC, TSP, TST ID3v2.2 frames.

Version:           1.7 (using KDE 4.7.3) 
OS:                Linux

There are MP3 files out in the wild with ID3v2.2 tags created by iTunes, as described in http://www.id3.org/iTunes. Some of these ID3v2.2 frames cannot be read by TagLib whereas the corresponding ID3v2.4 frames can be read. This is caused by some missing convertFrame() calls in TagLib::ID3v2::FrameFactory. The attached patch fixes it.

Reproducible: Always

Steps to Reproduce:
Create a file with ID3v2.2 tags in iTunes and enter information for Sort Name, Sort Album, Sort Artist. Open the file with the latest version of Kid3.

Actual Results:  
The frames with the information for Sort Name, Sort Album, Sort Artist are all named "Unknown".

Expected Results:  
The frames with the information for Sort Name, Sort Album, Sort Artist should be named "TSOT", "TSOA", "TSOP".

The custom iTunes frames TCMP, TSO2, TSOC are only supported by the current Git version of Kid3, not by releases up to 2.0.1. To display the corresponding ID3v2.2 frames TCP, TS2, TSC correctly, TagLib has to be patched with the attached patch and Kid3 has to be compiled from Git. The reproduction procedure above uses only official TSOT, TSOA, TSOP ID3v2.4.0 frames and can be reproduced with a released version of Kid3.