Improve Custom Format rejection messaging

(cherry picked from commit cac97c057faa44c1656e02681cb9ba668faca488)

Closes #9747
This commit is contained in:
bakerboy448 2024-02-06 22:01:07 -06:00 committed by Bogdan
parent 51cb0920ed
commit 0b090e5f39
1 changed files with 5 additions and 1 deletions

View File

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