Fixed parsing of some wma multi-artist files, fixes #597
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user