From aab67a45f74d668dd75d445f076da2c7748351b1 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Mon, 14 May 2018 03:21:08 +0100 Subject: [PATCH] Change consolidate provider filters into 'Only allow releases that are'. Add provider filters, Only allow releases that are ... 'scene releases (srrDB/predb listed)', 'or contain' text or regex, 'non scene if no recent search results', 'non scene if no active search results', 'not scene nuked', and 'nuked if no active search results'. Add scene release checking to PROPER search task. Change refactor core Proper functions. Pep8 common tests. --- CHANGES.md | 5 + gui/slick/interfaces/default/config.tmpl | 6 +- .../interfaces/default/config_providers.tmpl | 250 +- lib/cfscrape.py | 4 +- readme.md | 2 + sickbeard/__init__.py | 148 +- sickbeard/properFinder.py | 461 +- sickbeard/providers/generic.py | 7 + sickbeard/providers/newznab.py | 18 +- sickbeard/providers/scenehd.py | 2 +- sickbeard/search.py | 149 +- sickbeard/webserve.py | 62 +- tests/common_tests.py | 4365 +++++++++++------ 13 files changed, 3532 insertions(+), 1947 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 4447628a..246272c8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,11 @@ * Add HDME torrent provider * Add ImmortalSeed torrent provider * Add Xspeeds torrent provider +* Change consolidate provider filters into 'Only allow releases that are' +* Add provider filters, Only allow releases that are ... + 'scene releases (srrDB/predb listed)', 'or contain' text or regex, + 'non scene if no recent search results', 'non scene if no active search results', + 'not scene nuked', and 'nuked if no active search results' [develop changelog] diff --git a/gui/slick/interfaces/default/config.tmpl b/gui/slick/interfaces/default/config.tmpl index 9526de0c..d264d67e 100644 --- a/gui/slick/interfaces/default/config.tmpl +++ b/gui/slick/interfaces/default/config.tmpl @@ -38,8 +38,10 @@ Homepagehttps://github.com/SickGear/SickGear/wiki Sourcehttps://github.com/SickGear/SickGear/ Internet Relay Chat#SickGear on irc.freenode.net - Powered byPython, HTML5, jQuery, SQLite, TheTVDB, Trakt.tv, Fanart.tv, TMDb, GitHub -  This project uses the TMDb API but is not endorsed or certified by TMDb. + Powered byPython, HTML5, jQuery, SQLite, Regex, CSS, Javascript, Tornado webserver +  Huge thanks to Jetbrains for PyCharm IDE, trust them with your development project + Credits toAlso; TheTVDB, Trakt.tv, TVMaze, Fanart.tv, IMDb, TheXem, srrDB, Predb, and GitHub +  This project uses the TMDb API but is not endorsed or certified by TMDb diff --git a/gui/slick/interfaces/default/config_providers.tmpl b/gui/slick/interfaces/default/config_providers.tmpl index d52ebd20..3b794898 100644 --- a/gui/slick/interfaces/default/config_providers.tmpl +++ b/gui/slick/interfaces/default/config_providers.tmpl @@ -28,32 +28,20 @@ #if not $sickbeard.USE_TORRENTS $methods_notused.append('Torrent') #end if - +#slurp #if $sickbeard.USE_NZBS or $sickbeard.USE_TORRENTS