mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-04 23:03:07 +01:00
Fix download rejections being ignored.
This commit is contained in:
parent
0506cc4185
commit
e7fa4cba19
2 changed files with 8 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ private IEnumerable<DownloadDecision> GetMovieDecisions(List<ReleaseInfo> report
|
|||
{
|
||||
if (parsedEpisodeInfo.Quality.HardcodedSubs.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
remoteEpisode.DownloadAllowed = true;
|
||||
remoteEpisode.DownloadAllowed = false;
|
||||
decision = new DownloadDecision(remoteEpisode, new Rejection("Hardcoded subs found: " + parsedEpisodeInfo.Quality.HardcodedSubs));
|
||||
}
|
||||
else
|
||||
|
|
@ -257,7 +257,7 @@ private Rejection EvaluateSpec(IDecisionEngineSpecification spec, RemoteMovie re
|
|||
}
|
||||
catch (NotImplementedException e)
|
||||
{
|
||||
_logger.Info("Spec " + spec.GetType().Name + " does not care about movies.");
|
||||
_logger.Trace("Spec " + spec.GetType().Name + " does not care about movies.");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -51,6 +51,12 @@ public ProcessedDecisions ProcessDecisions(List<DownloadDecision> decisions)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (report.Rejections.Any())
|
||||
{
|
||||
_logger.Debug("Rejecting release {0} because {1}", report.ToString(), report.Rejections.First().Reason);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (remoteMovie == null || remoteMovie.Movie == null)
|
||||
{
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue