mirror of
https://github.com/taglib/taglib.git
synced 2026-02-05 23:10:14 -05:00
Use property "WORK" instead of "CONTENTGROUP" for ID3v2 "TIT1" frame
Also use "WORK" for ASF "WM/ContentGroupDescription", as it corresponds to "TIT1" according to https://docs.microsoft.com/en-us/windows/win32/wmformat/id3-tag-support. Add property "COMPILATION" for ID3v2 "TCMP" to be consistent with MP4 "cpil".
This commit is contained in:
@ -342,7 +342,7 @@ namespace
|
||||
std::make_pair("TEXT", "LYRICIST"),
|
||||
std::make_pair("TFLT", "FILETYPE"),
|
||||
//std::make_pair("TIPL", "INVOLVEDPEOPLE"), handled separately
|
||||
std::make_pair("TIT1", "CONTENTGROUP"), // 'Work' in iTunes
|
||||
std::make_pair("TIT1", "WORK"), // 'Work' in iTunes
|
||||
std::make_pair("TIT2", "TITLE"),
|
||||
std::make_pair("TIT3", "SUBTITLE"),
|
||||
std::make_pair("TKEY", "INITIALKEY"),
|
||||
@ -394,6 +394,7 @@ namespace
|
||||
std::make_pair("MVNM", "MOVEMENTNAME"),
|
||||
std::make_pair("MVIN", "MOVEMENTNUMBER"),
|
||||
std::make_pair("GRP1", "GROUPING"),
|
||||
std::make_pair("TCMP", "COMPILATION"),
|
||||
};
|
||||
const size_t frameTranslationSize = sizeof(frameTranslation) / sizeof(frameTranslation[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user