mirror of https://github.com/Radarr/Radarr
Fixed blacklist being ignored by download decision maker.
This commit is contained in:
parent
55a525ba2f
commit
b1c5a3ac14
|
@ -33,7 +33,11 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
|||
public Decision IsSatisfiedBy(RemoteMovie subject, SearchCriteriaBase searchCriteria)
|
||||
{
|
||||
|
||||
throw new NotImplementedException();
|
||||
if (_blacklistService.Blacklisted(subject.Movie.Id, subject.Release))
|
||||
{
|
||||
_logger.Debug("{0} is blacklisted, rejecting.", subject.Release.Title);
|
||||
return Decision.Reject("Release is blacklisted");
|
||||
}
|
||||
|
||||
return Decision.Accept();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue