]> granicus.if.org Git - taglib/commitdiff
Support for ID3v2.2 frames used by iTunes (TCP, TS2, TSA, TSC, TSP, TST)
authorUrs Fleisch <ufleisch@users.sourceforge.net>
Thu, 5 Jan 2012 15:33:29 +0000 (16:33 +0100)
committerLukáš Lalinský <lalinsky@gmail.com>
Thu, 5 Jan 2012 15:33:29 +0000 (16:33 +0100)
https://bugs.kde.org/show_bug.cgi?id=290330

taglib/mpeg/id3v2/id3v2framefactory.cpp

index 40e454ebec2015c2691eb52e2a7b53d0d79d744c..b6bc34a5c0281bd70d1846deff054dff72b98b7f 100644 (file)
@@ -310,6 +310,7 @@ bool FrameFactory::updateFrame(Frame::Header *header) const
     convertFrame("TBP", "TBPM", header);
     convertFrame("TCM", "TCOM", header);
     convertFrame("TCO", "TCON", header);
+    convertFrame("TCP", "TCMP", header);
     convertFrame("TCR", "TCOP", header);
     convertFrame("TDY", "TDLY", header);
     convertFrame("TEN", "TENC", header);
@@ -332,7 +333,12 @@ bool FrameFactory::updateFrame(Frame::Header *header) const
     convertFrame("TRC", "TSRC", header);
     convertFrame("TRD", "TDRC", header);
     convertFrame("TRK", "TRCK", header);
+    convertFrame("TS2", "TSO2", header);
+    convertFrame("TSA", "TSOA", header);
+    convertFrame("TSC", "TSOC", header);
+    convertFrame("TSP", "TSOP", header);
     convertFrame("TSS", "TSSE", header);
+    convertFrame("TST", "TSOT", header);
     convertFrame("TT1", "TIT1", header);
     convertFrame("TT2", "TIT2", header);
     convertFrame("TT3", "TIT3", header);