Adapt to changes in tagparser

This commit is contained in:
Martchus 2021-02-02 11:02:30 +01:00
parent 7ed99a5035
commit 82d0834e75
2 changed files with 2 additions and 1 deletions

View File

@ -510,6 +510,7 @@ void setTagInfo(const SetTagInfoArgs &args)
fileInfo.parseContainerFormat(diag);
fileInfo.parseTags(diag);
fileInfo.parseTracks(diag);
fileInfo.parseAttachments(diag);
vector<Tag *> tags;
// remove tags with the specified targets

View File

@ -258,7 +258,7 @@ void CliTests::testSpecifyingNativeFieldIds()
= { "tageditor", "get", "mkv:FOO", "mp4:©foo", "vorbis:BAR", "generic:year", "generic:releasedate", "-f", mkvFile.data(), nullptr };
TESTUTILS_ASSERT_EXEC(args2);
CPPUNIT_ASSERT(stderr.empty());
CPPUNIT_ASSERT(testContainsSubstrings(stdout, { "Year none" }));
CPPUNIT_ASSERT(testContainsSubstrings(stdout, { "Record date none" }));
CPPUNIT_ASSERT(testContainsSubstrings(stdout, { "Release date 2010" }));
CPPUNIT_ASSERT(testContainsSubstrings(stdout, { "FOO bar" }));