From 523971ad9d70e4efbd5598e98b49ca9b15fe57c5 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 1 Jun 2021 22:05:07 +0200 Subject: [PATCH] Suppress warning about cover type for ID3v1 tag when also an ID3v2 tag is present --- cli/mainfeatures.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/mainfeatures.cpp b/cli/mainfeatures.cpp index 32e7a86..e2cc7eb 100644 --- a/cli/mainfeatures.cpp +++ b/cli/mainfeatures.cpp @@ -716,7 +716,8 @@ void setTagInfo(const SetTagInfoArgs &args) } } else { if (parts.size() > 1) { - diag.emplace_back(DiagLevel::Warning, + diag.emplace_back( + tag->type() == TagType::Id3v1Tag && fileInfo.hasId3v2Tag() ? DiagLevel::Information : DiagLevel::Warning, argsToString("Ignoring cover type \"", parts[1], "\" for ", tag->typeName(), ". It is only supported by the cover field and the tag formats ID3v2 and Vorbis Comment."), context);