musikr.metadata: uppercase internal atoms
This commit is contained in:
parent
6ccae5f0d2
commit
6652e351cf
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@ void JVMMetadataBuilder::setMp4(const TagLib::MP4::Tag &tag) {
|
||||||
auto map = tag.itemMap();
|
auto map = tag.itemMap();
|
||||||
for (auto item : map) {
|
for (auto item : map) {
|
||||||
auto itemName = item.first;
|
auto itemName = item.first;
|
||||||
|
if (itemName.startsWith("----")) {
|
||||||
|
// Capitalize description atoms only
|
||||||
|
// Other standard atoms are cased so we want to avoid collissions there.
|
||||||
|
itemName = itemName.upper();
|
||||||
|
}
|
||||||
auto itemValue = item.second;
|
auto itemValue = item.second;
|
||||||
auto type = itemValue.type();
|
auto type = itemValue.type();
|
||||||
// Only read out the atoms for the reasonable tags we are expecting.
|
// Only read out the atoms for the reasonable tags we are expecting.
|
||||||
|
|
Loading…
Reference in a new issue