1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 02:09:48 +01:00

Changed xesam:artist to a list of strings according to the Xesam spec

This commit is contained in:
Artem Gluvchynsky 2012-04-11 00:19:08 +03:00
parent 6a88aefadc
commit 4b38bbff30

View File

@ -257,7 +257,7 @@ MprisPlugin::metadata() const
metadataMap.insert( "mpris:trackid", QString( "/track/" ) + track->id().replace( "-", "" ) );
metadataMap.insert( "mpris:length", track->duration() );
metadataMap.insert( "xesam:album", track->album()->name() );
metadataMap.insert( "xesam:artist", track->artist()->name() );
metadataMap.insert( "xesam:artist", QStringList( track->artist()->name() ) );
metadataMap.insert( "xesam:title", track->track() );
// Only return art if tempfile exists, and if its name contains the same "artist_album_tomahawk_cover.png"