summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2013-11-26 19:40:36 -0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-28 19:37:32 +0100
commit9b7fd8c7691981bb1d89704f595ebf50daf8876e (patch)
tree646dbc6ab05526b5311eec76cd17cd2482974240 /src/plugins
parent0fd995ac8b58b460f0740699cee9a221a66f6b56 (diff)
BlackBerry: Fix metadata key for "artist"
In order to retrieve the metadata information describing the Artist of a given album, Qt queries for AlbumArtist, and not Author. Author actually refers to the person who created the media file (i.e. the encoder in case of a mp3 song), and is also a string list (since more than one author is supported). Task-number: QTBUG-34985 Change-Id: I30b61f83db07ad2274eb79b28d92d772654220de Reviewed-by: Tobias Koenig <tobias.koenig.qnx@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/qnx/mediaplayer/mmrenderermetadatareadercontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qnx/mediaplayer/mmrenderermetadatareadercontrol.cpp b/src/plugins/qnx/mediaplayer/mmrenderermetadatareadercontrol.cpp
index c0fe7d085..5ffa7a093 100644
--- a/src/plugins/qnx/mediaplayer/mmrenderermetadatareadercontrol.cpp
+++ b/src/plugins/qnx/mediaplayer/mmrenderermetadatareadercontrol.cpp
@@ -57,7 +57,7 @@ QVariant MmRendererMetaDataReaderControl::metaData(const QString &key) const
{
if (key == QMediaMetaData::Title)
return m_metaData.title();
- else if (key == QMediaMetaData::Author)
+ else if (key == QMediaMetaData::AlbumArtist)
return m_metaData.artist();
else if (key == QMediaMetaData::Comment)
return m_metaData.comment();