From e20adcfab832eefa805f7506c18a8ec87881ac9b Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 14 May 2014 21:16:46 -0700 Subject: [PATCH] Added daily searcher to check for and snatch daily new releases for current active watched shows. User settable interval can be found in search config menu plus forcing a daily search can be done from Manage Searches menu. Fixed issues with subliminal subtitle downloader. --- .../interfaces/default/config_search.tmpl | 11 + .../default/manage_manageSearches.tmpl | 9 + lib/chardet/__init__.py | 32 + lib/chardet/big5freq.py | 925 ++++++++++++++++++ lib/chardet/big5prober.py | 42 + lib/chardet/chardetect.py | 46 + lib/chardet/chardistribution.py | 231 +++++ lib/chardet/charsetgroupprober.py | 106 ++ lib/chardet/charsetprober.py | 62 ++ lib/chardet/codingstatemachine.py | 61 ++ lib/chardet/compat.py | 34 + lib/chardet/constants.py | 39 + lib/chardet/cp949prober.py | 44 + lib/chardet/escprober.py | 86 ++ lib/chardet/escsm.py | 242 +++++ lib/chardet/eucjpprober.py | 90 ++ lib/chardet/euckrfreq.py | 596 +++++++++++ lib/chardet/euckrprober.py | 42 + lib/chardet/euctwfreq.py | 428 ++++++++ lib/chardet/euctwprober.py | 41 + lib/chardet/gb2312freq.py | 472 +++++++++ lib/chardet/gb2312prober.py | 41 + lib/chardet/hebrewprober.py | 283 ++++++ lib/chardet/jisfreq.py | 569 +++++++++++ lib/chardet/jpcntx.py | 219 +++++ lib/chardet/langbulgarianmodel.py | 229 +++++ lib/chardet/langcyrillicmodel.py | 329 +++++++ lib/chardet/langgreekmodel.py | 225 +++++ lib/chardet/langhebrewmodel.py | 201 ++++ lib/chardet/langhungarianmodel.py | 225 +++++ lib/chardet/langthaimodel.py | 200 ++++ lib/chardet/latin1prober.py | 139 +++ lib/chardet/mbcharsetprober.py | 86 ++ lib/chardet/mbcsgroupprober.py | 54 + lib/chardet/mbcssm.py | 575 +++++++++++ lib/chardet/sbcharsetprober.py | 120 +++ lib/chardet/sbcsgroupprober.py | 69 ++ lib/chardet/sjisprober.py | 91 ++ lib/chardet/universaldetector.py | 170 ++++ lib/chardet/utf8prober.py | 76 ++ sickbeard/__init__.py | 50 +- sickbeard/config.py | 8 + sickbeard/dailysearcher.py | 144 +++ sickbeard/providers/generic.py | 6 +- sickbeard/search_queue.py | 34 - sickbeard/tvcache.py | 4 +- sickbeard/webserve.py | 17 +- 47 files changed, 7751 insertions(+), 52 deletions(-) create mode 100644 lib/chardet/__init__.py create mode 100644 lib/chardet/big5freq.py create mode 100644 lib/chardet/big5prober.py create mode 100644 lib/chardet/chardetect.py create mode 100644 lib/chardet/chardistribution.py create mode 100644 lib/chardet/charsetgroupprober.py create mode 100644 lib/chardet/charsetprober.py create mode 100644 lib/chardet/codingstatemachine.py create mode 100644 lib/chardet/compat.py create mode 100644 lib/chardet/constants.py create mode 100644 lib/chardet/cp949prober.py create mode 100644 lib/chardet/escprober.py create mode 100644 lib/chardet/escsm.py create mode 100644 lib/chardet/eucjpprober.py create mode 100644 lib/chardet/euckrfreq.py create mode 100644 lib/chardet/euckrprober.py create mode 100644 lib/chardet/euctwfreq.py create mode 100644 lib/chardet/euctwprober.py create mode 100644 lib/chardet/gb2312freq.py create mode 100644 lib/chardet/gb2312prober.py create mode 100644 lib/chardet/hebrewprober.py create mode 100644 lib/chardet/jisfreq.py create mode 100644 lib/chardet/jpcntx.py create mode 100644 lib/chardet/langbulgarianmodel.py create mode 100644 lib/chardet/langcyrillicmodel.py create mode 100644 lib/chardet/langgreekmodel.py create mode 100644 lib/chardet/langhebrewmodel.py create mode 100644 lib/chardet/langhungarianmodel.py create mode 100644 lib/chardet/langthaimodel.py create mode 100644 lib/chardet/latin1prober.py create mode 100644 lib/chardet/mbcharsetprober.py create mode 100644 lib/chardet/mbcsgroupprober.py create mode 100644 lib/chardet/mbcssm.py create mode 100644 lib/chardet/sbcharsetprober.py create mode 100644 lib/chardet/sbcsgroupprober.py create mode 100644 lib/chardet/sjisprober.py create mode 100644 lib/chardet/universaldetector.py create mode 100644 lib/chardet/utf8prober.py create mode 100644 sickbeard/dailysearcher.py diff --git a/gui/slick/interfaces/default/config_search.tmpl b/gui/slick/interfaces/default/config_search.tmpl index 89a6d662..f75975ec 100644 --- a/gui/slick/interfaces/default/config_search.tmpl +++ b/gui/slick/interfaces/default/config_search.tmpl @@ -67,6 +67,17 @@ +
+ + +
+