aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mad/decodermadfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/mad/decodermadfactory.cpp')
-rw-r--r--src/plugins/Input/mad/decodermadfactory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp
index 265ced841..a55627b60 100644
--- a/src/plugins/Input/mad/decodermadfactory.cpp
+++ b/src/plugins/Input/mad/decodermadfactory.cpp
@@ -208,6 +208,13 @@ QList<FileInfo *> DecoderMADFactory::createPlayList(const QString &fileName, boo
if(tag == fileRef.ID3v2Tag())
{
+ if(!fileRef.ID3v2Tag()->frameListMap()["TPE2"].isEmpty())
+ {
+ TagLib::String albumArtist;
+ albumArtist = fileRef.ID3v2Tag()->frameListMap()["TPE2"].front()->toString();
+ info->setMetaData(Qmmp::ALBUMARTIST,
+ codec->toUnicode(albumArtist.toCString(utf)).trimmed());
+ }
if(!fileRef.ID3v2Tag()->frameListMap()["TCOM"].isEmpty())
{
TagLib::String composer;