diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-09-22 17:16:26 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-09-22 17:16:26 +0000 |
| commit | b66a8c518cbaa660ca3b9d18a1d071b144e5a2ab (patch) | |
| tree | 45c7f5c5f45f54636b60449b137aaee79fb1f8a9 /src/plugins/General/mpris/mpris2/player2object.cpp | |
| parent | 9f312260e06b7d3bc0a017e0dda4836d02f925e4 (diff) | |
| download | qmmp-b66a8c518cbaa660ca3b9d18a1d071b144e5a2ab.tar.gz qmmp-b66a8c518cbaa660ca3b9d18a1d071b144e5a2ab.tar.bz2 qmmp-b66a8c518cbaa660ca3b9d18a1d071b144e5a2ab.zip | |
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
Diffstat (limited to 'src/plugins/General/mpris/mpris2/player2object.cpp')
| -rw-r--r-- | src/plugins/General/mpris/mpris2/player2object.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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()) |
