From 0b090e5f3918b6397c299bc998e6b741d4c89ffc Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Tue, 6 Feb 2024 22:01:07 -0600 Subject: [PATCH] Improve Custom Format rejection messaging (cherry picked from commit cac97c057faa44c1656e02681cb9ba668faca488) Closes #9747 --- .../MovieImport/Specifications/UpgradeSpecification.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/MovieImport/Specifications/UpgradeSpecification.cs b/src/NzbDrone.Core/MediaFiles/MovieImport/Specifications/UpgradeSpecification.cs index aac03381e..f5fce19a0 100644 --- a/src/NzbDrone.Core/MediaFiles/MovieImport/Specifications/UpgradeSpecification.cs +++ b/src/NzbDrone.Core/MediaFiles/MovieImport/Specifications/UpgradeSpecification.cs @@ -74,7 +74,11 @@ namespace NzbDrone.Core.MediaFiles.MovieImport.Specifications currentCustomFormats != null ? currentCustomFormats.ConcatToString() : "", 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",