Skip to content

Commit 0b090e5

Browse files
bakerboy448mynameisbogdan
authored andcommittedFeb 14, 2024
Improve Custom Format rejection messaging
(cherry picked from commit cac97c057faa44c1656e02681cb9ba668faca488) Closes #9747
1 parent 51cb092 commit 0b090e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/NzbDrone.Core/MediaFiles/MovieImport/Specifications/UpgradeSpecification.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ public Decision IsSatisfiedBy(LocalMovie localMovie, DownloadClientItem download
7474
currentCustomFormats != null ? currentCustomFormats.ConcatToString() : "",
7575
currentFormatScore);
7676

77-
return Decision.Reject("Not a Custom Format upgrade for existing movie file(s)");
77+
return Decision.Reject("Not a Custom Format upgrade for existing movie file(s). New: [{0}] ({1}) do not improve on Existing: [{2}] ({3})",
78+
newCustomFormats != null ? newCustomFormats.ConcatToString() : "",
79+
newFormatScore,
80+
currentCustomFormats != null ? currentCustomFormats.ConcatToString() : "",
81+
currentFormatScore);
7882
}
7983

8084
_logger.Debug("New item's custom formats [{0}] ({1}) do improve on [{2}] ({3}), accepting",

0 commit comments

Comments
 (0)
Please sign in to comment.