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
1 changed files with 5 additions and 1 deletions

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",