ASF/WMA: Implement Album Artist tags (oops)
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
5b9e5be295
commit
11dcac6b04
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue