From b56232c1f42635d3d4a3ed6b479c8b469f339439 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 28 Apr 2021 17:48:29 +0200 Subject: [PATCH] Fix printing cover field of non-ID3v2 tags --- cli/helper.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/helper.cpp b/cli/helper.cpp index 418788c..f464355 100644 --- a/cli/helper.cpp +++ b/cli/helper.cpp @@ -284,10 +284,11 @@ void printField(const FieldScope &scope, const Tag *tag, TagType tagType, bool s if (scope.field.knownFieldForTag(tag, tagType) == KnownField::Cover) { if (tagType == TagType::Id3v2Tag) { printId3v2CoverValues(static_cast(tag)); - } else { + return; + } else if (tagType == TagType::VorbisComment) { printId3v2CoverValues(static_cast(tag)); + return; } - return; } // parse field denotation