1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02:00

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

View File

@ -72,7 +72,11 @@ public Decision IsSatisfiedBy(LocalEpisode localEpisode, DownloadClientItem down
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",