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:
Urs Fleisch
2023-12-23 16:02:49 +01:00
parent 1a1ee8b54f
commit 7dc8bfc806
6 changed files with 19 additions and 10 deletions

View File

@ -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");

View File

@ -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"]);
}
}