Fix printing cover field of non-ID3v2 tags
This commit is contained in:
parent
41fb2069f3
commit
b56232c1f4
|
@ -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 (scope.field.knownFieldForTag(tag, tagType) == KnownField::Cover) {
|
||||||
if (tagType == TagType::Id3v2Tag) {
|
if (tagType == TagType::Id3v2Tag) {
|
||||||
printId3v2CoverValues(static_cast<const Id3v2Tag *>(tag));
|
printId3v2CoverValues(static_cast<const Id3v2Tag *>(tag));
|
||||||
} else {
|
return;
|
||||||
|
} else if (tagType == TagType::VorbisComment) {
|
||||||
printId3v2CoverValues(static_cast<const VorbisComment *>(tag));
|
printId3v2CoverValues(static_cast<const VorbisComment *>(tag));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// parse field denotation
|
// parse field denotation
|
||||||
|
|
Loading…
Reference in New Issue