ASF/WMA: Implement Album Artist tags (oops)

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2023-09-02 20:10:19 -07:00
parent 5b9e5be295
commit 11dcac6b04
No known key found for this signature in database

View file

@ -57,6 +57,8 @@ String ASF::Tag::title() const
String ASF::Tag::albumartist() const
{
if(d->attributeListMap.contains("WM/AlbumArtist"))
return d->attributeListMap["WM/AlbumArtist"][0].toString();
return String();
}
@ -171,8 +173,9 @@ void ASF::Tag::setTitle(const String &value)
d->title = value;
}
void ASF::Tag::setAlbumArtist(const String &)
void ASF::Tag::setAlbumArtist(const String &value)
{
setAttribute("WM/AlbumArtist", value);
}
void ASF::Tag::setArtist(const String &value)