Add the tag type the "not supported for" message refers to
This commit is contained in:
parent
a18d268ea1
commit
a6231b8442
|
@ -789,7 +789,9 @@ void setTagInfo(const SetTagInfoArgs &args)
|
||||||
&& !denotedScope.field.setValues(tag, tagType, convertedValues)
|
&& !denotedScope.field.setValues(tag, tagType, convertedValues)
|
||||||
&& (tagType != TagType::Id3v1Tag || !willWriteAnId3v2Tag)) {
|
&& (tagType != TagType::Id3v1Tag || !willWriteAnId3v2Tag)) {
|
||||||
diag.emplace_back(DiagLevel::Critical,
|
diag.emplace_back(DiagLevel::Critical,
|
||||||
argsToString("Unable set field \"", denotedScope.field.name(), "\": setting field is not supported"), context);
|
argsToString(
|
||||||
|
"Unable set field \"", denotedScope.field.name(), "\": field is not supported for ", tag->typeName()),
|
||||||
|
context);
|
||||||
}
|
}
|
||||||
} catch (const ConversionException &e) {
|
} catch (const ConversionException &e) {
|
||||||
diag.emplace_back(DiagLevel::Critical,
|
diag.emplace_back(DiagLevel::Critical,
|
||||||
|
|
Loading…
Reference in New Issue