|
|
@ -13,14 +13,6 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.Search
|
|
|
|
_logger = logger;
|
|
|
|
_logger = logger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string RejectionReason
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
get
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return "Not enough Torrent seeders";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public RejectionType Type
|
|
|
|
public RejectionType Type
|
|
|
|
{
|
|
|
|
{
|
|
|
|
get
|
|
|
|
get
|
|
|
@ -41,8 +33,8 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.Search
|
|
|
|
|
|
|
|
|
|
|
|
if (torrentInfo.Seeds != null && torrentInfo.Seeds < 1)
|
|
|
|
if (torrentInfo.Seeds != null && torrentInfo.Seeds < 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.Debug("Only {0} seeders, skipping.", torrentInfo.Seeds);
|
|
|
|
_logger.Debug("Not enough seeders. ({0})", torrentInfo.Seeds);
|
|
|
|
return Decision.Reject("No seeders");
|
|
|
|
return Decision.Reject("Not enough seeders. ({0})", torrentInfo.Seeds);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return Decision.Accept();
|
|
|
|
return Decision.Accept();
|
|
|
|