diff --git a/cli/mainfeatures.cpp b/cli/mainfeatures.cpp index fdd7304..98b52bc 100644 --- a/cli/mainfeatures.cpp +++ b/cli/mainfeatures.cpp @@ -510,6 +510,7 @@ void setTagInfo(const SetTagInfoArgs &args) fileInfo.parseContainerFormat(diag); fileInfo.parseTags(diag); fileInfo.parseTracks(diag); + fileInfo.parseAttachments(diag); vector tags; // remove tags with the specified targets diff --git a/tests/cli.cpp b/tests/cli.cpp index 21bc20e..96b1266 100644 --- a/tests/cli.cpp +++ b/tests/cli.cpp @@ -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" }));