Fixed parsing of some wma multi-artist files, fixes #597

This commit is contained in:
emeric
2025-01-20 23:24:48 +01:00
parent 04c90ae3cf
commit 41f75311db
@@ -312,6 +312,12 @@ namespace lms::metadata
if (!attributes.isEmpty())
_propertyMap[strName] = std::move(attributes);
}
if (auto itAuthor{ _propertyMap.find("AUTHOR") }; itAuthor != _propertyMap.cend() && _propertyMap.unsupportedData().contains("Author"))
{
if (!_propertyMap.contains("ARTISTS"))
_propertyMap["ARTIST"].append(itAuthor->second);
}
}
}
// MP3