ASF/WMA: Implement Album Artist tags (oops)
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
7ea87f0502
commit
b9121be6e8
1 changed files with 4 additions and 1 deletions
|
@ -57,6 +57,8 @@ String ASF::Tag::title() const
|
||||||
|
|
||||||
String ASF::Tag::albumartist() const
|
String ASF::Tag::albumartist() const
|
||||||
{
|
{
|
||||||
|
if(d->attributeListMap.contains("WM/AlbumArtist"))
|
||||||
|
return d->attributeListMap["WM/AlbumArtist"][0].toString();
|
||||||
return String();
|
return String();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -171,8 +173,9 @@ void ASF::Tag::setTitle(const String &value)
|
||||||
d->title = 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)
|
void ASF::Tag::setArtist(const String &value)
|
||||||
|
|
Loading…
Reference in a new issue