mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
Fix property mappings
For MP4 map ENCODEDBY to ©enc instead of ©too, which is now mapped to ENCODING. For ASF, add new properties ENCODINGTIME (WM/EncodingTime) and FILEWEBPAGE (WM/AudioFileURL).
This commit is contained in:
@ -331,6 +331,8 @@ public:
|
||||
tags["DISCSUBTITLE"] = StringList("Disc Subtitle");
|
||||
tags["ENCODEDBY"] = StringList("Encoded by");
|
||||
tags["ENCODING"] = StringList("Encoding");
|
||||
tags["ENCODINGTIME"] = StringList("2021-01-03 11:52:19");
|
||||
tags["FILEWEBPAGE"] = StringList("File Webpage");
|
||||
tags["GENRE"] = StringList("Genre");
|
||||
tags["WORK"] = StringList("Grouping");
|
||||
tags["INITIALKEY"] = StringList("Initial Key");
|
||||
|
@ -480,6 +480,7 @@ public:
|
||||
tags["DISCSUBTITLE"] = StringList("Disc Subtitle");
|
||||
tags["DJMIXER"] = StringList("DJ Mixer");
|
||||
tags["ENCODEDBY"] = StringList("Encoded by");
|
||||
tags["ENCODING"] = StringList("Encoding");
|
||||
tags["ENGINEER"] = StringList("Engineer");
|
||||
tags["GAPLESSPLAYBACK"] = StringList("1");
|
||||
tags["GENRE"] = StringList("Genre");
|
||||
@ -732,7 +733,7 @@ public:
|
||||
|
||||
PropertyMap properties = f.properties();
|
||||
CPPUNIT_ASSERT_EQUAL(StringList("Test Artist!!!!"), properties["ARTIST"]);
|
||||
CPPUNIT_ASSERT_EQUAL(StringList("FAAC 1.24"), properties["ENCODEDBY"]);
|
||||
CPPUNIT_ASSERT_EQUAL(StringList("FAAC 1.24"), properties["ENCODING"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user