mirror of
https://github.com/taglib/taglib.git
synced 2026-02-28 11:03:03 -05:00
Support edition, chapter and attachment UIDs in Matroska simple tags (#1311)
This commit is contained in:
@ -51,6 +51,21 @@ int main(int argc, char *argv[])
|
||||
TagLib::Utils::formatString("%llu",trackUid).toCString(false)
|
||||
);
|
||||
}
|
||||
if(auto editionUid = t.editionUid()) {
|
||||
PRINT_PRETTY("Edition UID",
|
||||
TagLib::Utils::formatString("%llu",editionUid).toCString(false)
|
||||
);
|
||||
}
|
||||
if(auto chapterUid = t.chapterUid()) {
|
||||
PRINT_PRETTY("Chapter UID",
|
||||
TagLib::Utils::formatString("%llu",chapterUid).toCString(false)
|
||||
);
|
||||
}
|
||||
if(auto attachmentUid = t.attachmentUid()) {
|
||||
PRINT_PRETTY("Attachment UID",
|
||||
TagLib::Utils::formatString("%llu",attachmentUid).toCString(false)
|
||||
);
|
||||
}
|
||||
const TagLib::String &language = t.language();
|
||||
PRINT_PRETTY("Language", !language.isEmpty() ? language.toCString(false) : "Not set");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user