diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-04-30 20:01:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-04-30 20:01:48 +0000 |
| commit | 744da239bb6fa7a332da181ab0a65221c0de9978 (patch) | |
| tree | 93d123fa5dde08bffb06c45ee0e700700d258f47 /src/plugins/Input/mpc/decodermpcfactory.cpp | |
| parent | 5a0075ed95704f293829d9f7671bbc39e777b924 (diff) | |
| download | qmmp-744da239bb6fa7a332da181ab0a65221c0de9978.tar.gz qmmp-744da239bb6fa7a332da181ab0a65221c0de9978.tar.bz2 qmmp-744da239bb6fa7a332da181ab0a65221c0de9978.zip | |
improved album artist tag support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4884 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mpc/decodermpcfactory.cpp')
| -rw-r--r-- | src/plugins/Input/mpc/decodermpcfactory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/Input/mpc/decodermpcfactory.cpp b/src/plugins/Input/mpc/decodermpcfactory.cpp index cdbc4dcd4..663daa0b2 100644 --- a/src/plugins/Input/mpc/decodermpcfactory.cpp +++ b/src/plugins/Input/mpc/decodermpcfactory.cpp @@ -107,6 +107,9 @@ QList<FileInfo *> DecoderMPCFactory::createPlayList(const QString &fileName, boo if(tag) { TagLib::APE::Item fld; + if(!(fld = tag->itemListMap()["ALBUM ARTIST"]).isEmpty()) + info->setMetaData(Qmmp::ALBUMARTIST, + QString::fromUtf8(fld.toString().toCString(true)).trimmed()); if(!(fld = tag->itemListMap()["COMPOSER"]).isEmpty()) info->setMetaData(Qmmp::COMPOSER, QString::fromUtf8(fld.toString().toCString(true)).trimmed()); |
