mirror of
https://github.com/taglib/taglib.git
synced 2026-06-07 23:09:49 -04:00
Compare commits
2 Commits
release-2.
...
v2.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78298769de | ||
|
|
c43d2b3fc1 |
@@ -2,6 +2,7 @@ TagLib 2.2.1 (Mar 7, 2026)
|
||||
==========================
|
||||
|
||||
* Support edition, chapter and attachment UIDs in Matroska simple tags.
|
||||
* Avoid duplicates in Matroska complex property keys.
|
||||
|
||||
TagLib 2.2 (Feb 18, 2026)
|
||||
=========================
|
||||
|
||||
@@ -551,10 +551,11 @@ StringList Matroska::Tag::complexPropertyKeys() const
|
||||
{
|
||||
StringList keys;
|
||||
for(const SimpleTag &t : std::as_const(d->tags)) {
|
||||
if(t.type() != SimpleTag::StringType ||
|
||||
t.trackUid() != 0 || t.editionUid() != 0 ||
|
||||
t.chapterUid() != 0 || t.attachmentUid() != 0 ||
|
||||
translateTag(t.name(), t.targetTypeValue()).isEmpty()) {
|
||||
if((t.type() != SimpleTag::StringType ||
|
||||
t.trackUid() != 0 || t.editionUid() != 0 ||
|
||||
t.chapterUid() != 0 || t.attachmentUid() != 0 ||
|
||||
translateTag(t.name(), t.targetTypeValue()).isEmpty()) &&
|
||||
!keys.contains(t.name())) {
|
||||
keys.append(t.name());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user