Fix printing cover field of non-ID3v2 tags

This commit is contained in:
Martchus 2021-04-28 17:48:29 +02:00
parent 41fb2069f3
commit b56232c1f4
1 changed files with 3 additions and 2 deletions

View File

@ -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<const Id3v2Tag *>(tag));
} else {
return;
} else if (tagType == TagType::VorbisComment) {
printId3v2CoverValues(static_cast<const VorbisComment *>(tag));
return;
}
return;
}
// parse field denotation