1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 17:27:18 +00:00

Improve Custom Format rejection messaging

This commit is contained in:
bakerboy448 2024-02-06 22:01:07 -06:00 committed by GitHub
parent 63e132d257
commit cac97c057f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
currentFormats != null ? currentFormats.ConcatToString() : "", currentFormats != null ? currentFormats.ConcatToString() : "",
currentFormatScore); currentFormatScore);
return Decision.Reject("Not a Custom Format upgrade for existing episode file(s)"); return Decision.Reject("Not a Custom Format upgrade for existing episode file(s). New: [{0}] ({1}) do not improve on Existing: [{2}] ({3})",
newFormats != null ? newFormats.ConcatToString() : "",
newFormatScore,
currentFormats != null ? currentFormats.ConcatToString() : "",
currentFormatScore);
} }
_logger.Debug("New item's custom formats [{0}] ({1}) improve on [{2}] ({3}), accepting", _logger.Debug("New item's custom formats [{0}] ({1}) improve on [{2}] ({3}), accepting",