From 1fdeb50d93a2106d4a158b0b4299d2c41028bc38 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 23 Nov 2022 00:03:23 +0100 Subject: [PATCH] TagReaderTagLib: Don't use `TPE1` as performer for ID3 tags Fixes #1076 --- ext/libstrawberry-tagreader/tagreadertaglib.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/libstrawberry-tagreader/tagreadertaglib.cpp b/ext/libstrawberry-tagreader/tagreadertaglib.cpp index c6b61d21..5e327492 100644 --- a/ext/libstrawberry-tagreader/tagreadertaglib.cpp +++ b/ext/libstrawberry-tagreader/tagreadertaglib.cpp @@ -297,15 +297,11 @@ bool TagReaderTagLib::ReadFile(const QString &filename, spb::tagreader::SongMeta // content group if (!map["TIT1"].isEmpty()) Decode(map["TIT1"].front()->toString(), song->mutable_grouping()); - // ID3v2: lead performer/soloist - if (!map["TPE1"].isEmpty()) Decode(map["TPE1"].front()->toString(), song->mutable_performer()); - // original artist/performer if (!map["TOPE"].isEmpty()) Decode(map["TOPE"].front()->toString(), song->mutable_performer()); // Skip TPE1 (which is the artist) here because we already fetched it - // non-standard: Apple, Microsoft if (!map["TPE2"].isEmpty()) Decode(map["TPE2"].front()->toString(), song->mutable_albumartist());