From cac97c057faa44c1656e02681cb9ba668faca488 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 --- .../EpisodeImport/Specifications/UpgradeSpecification.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/UpgradeSpecification.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/UpgradeSpecification.cs index 01530e78263..0a6d5a6befd 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/UpgradeSpecification.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Specifications/UpgradeSpecification.cs @@ -72,7 +72,11 @@ public Decision IsSatisfiedBy(LocalEpisode localEpisode, DownloadClientItem down currentFormats != null ? currentFormats.ConcatToString() : "", 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",