From b66a8c518cbaa660ca3b9d18a1d071b144e5a2ab Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 22 Sep 2014 17:16:26 +0000 Subject: added 'album artist' field support (patch by Dmitry Misharov) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4509 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/mpris/mpris2/player2object.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/General/mpris/mpris2/player2object.cpp') diff --git a/src/plugins/General/mpris/mpris2/player2object.cpp b/src/plugins/General/mpris/mpris2/player2object.cpp index e7fedac5e..9bf7e539e 100644 --- a/src/plugins/General/mpris/mpris2/player2object.cpp +++ b/src/plugins/General/mpris/mpris2/player2object.cpp @@ -136,6 +136,8 @@ QVariantMap Player2Object::metadata() const map["xesam:album"] = m_core->metaData(Qmmp::ALBUM); if(!m_core->metaData(Qmmp::ARTIST).isEmpty()) map["xesam:artist"] = QStringList() << m_core->metaData(Qmmp::ARTIST); + if(!m_core->metaData(Qmmp::ALBUMARTIST).isEmpty()) + map["xesam:albumArtist"] = QStringList() << m_core->metaData(Qmmp::ALBUMARTIST); if(!m_core->metaData(Qmmp::COMMENT).isEmpty()) map["xesam:comment"] = QStringList() << m_core->metaData(Qmmp::COMMENT); if(!m_core->metaData(Qmmp::COMPOSER).isEmpty()) -- cgit v1.2.3-13-gbd6f