From 09f53d3537238dea86c25937840c20f0d0ef6957 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 12 Jul 2014 16:16:58 -0700 Subject: [PATCH] Filtering of torrents with 0 seeders is no longer forced, filtering now is done strictly by min seed and min leech user settins which can be set from search provider config settings. --- sickbeard/providers/hdtorrents.py | 4 ++-- sickbeard/providers/kat.py | 2 +- sickbeard/providers/publichd.py | 2 +- sickbeard/providers/scc.py | 2 +- sickbeard/providers/speedcd.py | 2 +- sickbeard/providers/thepiratebay.py | 2 +- sickbeard/providers/torrentbytes.py | 2 +- sickbeard/providers/torrentday.py | 2 +- sickbeard/providers/torrentleech.py | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sickbeard/providers/hdtorrents.py b/sickbeard/providers/hdtorrents.py index d17d1129..fa7fadc4 100644 --- a/sickbeard/providers/hdtorrents.py +++ b/sickbeard/providers/hdtorrents.py @@ -218,7 +218,7 @@ class HDTorrentsProvider(generic.TorrentProvider): except (AttributeError, TypeError): continue - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not download_url: @@ -257,7 +257,7 @@ class HDTorrentsProvider(generic.TorrentProvider): except (AttributeError, TypeError): continue - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not download_url: diff --git a/sickbeard/providers/kat.py b/sickbeard/providers/kat.py index 3a194683..f1a20e18 100644 --- a/sickbeard/providers/kat.py +++ b/sickbeard/providers/kat.py @@ -275,7 +275,7 @@ class KATProvider(generic.TorrentProvider): except (AttributeError, TypeError): continue - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if self.confirmed and not verified: diff --git a/sickbeard/providers/publichd.py b/sickbeard/providers/publichd.py index ff7a451d..8a392362 100644 --- a/sickbeard/providers/publichd.py +++ b/sickbeard/providers/publichd.py @@ -174,7 +174,7 @@ class PublicHDProvider(generic.TorrentProvider): except (AttributeError, TypeError): continue - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not url: diff --git a/sickbeard/providers/scc.py b/sickbeard/providers/scc.py index f8f71d73..d00bc700 100644 --- a/sickbeard/providers/scc.py +++ b/sickbeard/providers/scc.py @@ -233,7 +233,7 @@ class SCCProvider(generic.TorrentProvider): except (AttributeError, TypeError): continue - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not download_url: diff --git a/sickbeard/providers/speedcd.py b/sickbeard/providers/speedcd.py index bb0c385b..eeeb62df 100644 --- a/sickbeard/providers/speedcd.py +++ b/sickbeard/providers/speedcd.py @@ -180,7 +180,7 @@ class SpeedCDProvider(generic.TorrentProvider): seeders = int(torrent['seed']) leechers = int(torrent['leech']) - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not url: diff --git a/sickbeard/providers/thepiratebay.py b/sickbeard/providers/thepiratebay.py index 95a8617e..86df7a54 100644 --- a/sickbeard/providers/thepiratebay.py +++ b/sickbeard/providers/thepiratebay.py @@ -250,7 +250,7 @@ class ThePirateBayProvider(generic.TorrentProvider): leechers = int(torrent.group('leechers')) #Filter unseeded torrent - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue #Accept Torrent only from Good People for every Episode Search diff --git a/sickbeard/providers/torrentbytes.py b/sickbeard/providers/torrentbytes.py index ace53750..36bf248d 100644 --- a/sickbeard/providers/torrentbytes.py +++ b/sickbeard/providers/torrentbytes.py @@ -202,7 +202,7 @@ class TorrentBytesProvider(generic.TorrentProvider): continue #Filter unseeded torrent - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not download_url: diff --git a/sickbeard/providers/torrentday.py b/sickbeard/providers/torrentday.py index bc19d1ee..148f236f 100644 --- a/sickbeard/providers/torrentday.py +++ b/sickbeard/providers/torrentday.py @@ -214,7 +214,7 @@ class TorrentDayProvider(generic.TorrentProvider): seeders = int(torrent['seed']) leechers = int(torrent['leech']) - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not url: diff --git a/sickbeard/providers/torrentleech.py b/sickbeard/providers/torrentleech.py index 90fece4d..5ec45832 100644 --- a/sickbeard/providers/torrentleech.py +++ b/sickbeard/providers/torrentleech.py @@ -198,7 +198,7 @@ class TorrentLeechProvider(generic.TorrentProvider): continue #Filter unseeded torrent - if mode != 'RSS' and (seeders == 0 or seeders < self.minseed or leechers < self.minleech): + if mode != 'RSS' and (seeders < self.minseed or leechers < self.minleech): continue if not title or not download_url: