From 39e712796f2dd7336188ae690bc3837049f29aac Mon Sep 17 00:00:00 2001 From: Urs Fleisch Date: Fri, 26 May 2023 13:12:19 +0200 Subject: [PATCH] ID3v2: Map "TSST" to "DISCSUBTITLE" property (#1087) (#1088) --- taglib/mpeg/id3v2/id3v2frame.cpp | 1 + tests/test_mpeg.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/taglib/mpeg/id3v2/id3v2frame.cpp b/taglib/mpeg/id3v2/id3v2frame.cpp index 1cf07ebf..c3a45a2a 100644 --- a/taglib/mpeg/id3v2/id3v2frame.cpp +++ b/taglib/mpeg/id3v2/id3v2frame.cpp @@ -373,6 +373,7 @@ namespace std::make_pair("TSO2", "ALBUMARTISTSORT"), // non-standard, used by iTunes std::make_pair("TSRC", "ISRC"), std::make_pair("TSSE", "ENCODING"), + std::make_pair("TSST", "DISCSUBTITLE"), // URL frames std::make_pair("WCOP", "COPYRIGHTURL"), std::make_pair("WOAF", "FILEWEBPAGE"), diff --git a/tests/test_mpeg.cpp b/tests/test_mpeg.cpp index b668d122..03eb702b 100644 --- a/tests/test_mpeg.cpp +++ b/tests/test_mpeg.cpp @@ -325,6 +325,7 @@ public: tags["COPYRIGHTURL"] = StringList("Copyright URL"); tags["DATE"] = StringList("2021-01-03 12:29:23"); tags["DISCNUMBER"] = StringList("3/5"); + tags["DISCSUBTITLE"] = StringList("Disc Subtitle"); tags["DJMIXER"] = StringList("DJ Mixer"); tags["ENCODEDBY"] = StringList("Encoded by"); tags["ENCODING"] = StringList("Encoding");