From 3a60683327bf0561354bab0da8e46a057f90fc38 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 1 May 2014 17:57:51 -0700 Subject: [PATCH] Fixed issues with parsing release names and naming patterns including regex for sports is now more accurate then ever! Added option under general settings to allow specifiying a default indexer to be used for adding newshows and existing shows (All, TVDB, TVRage) --- .../interfaces/default/config_general.tmpl | 7 ++++ .../interfaces/default/home_massAddTable.tmpl | 8 +++- .../interfaces/default/home_newShow.tmpl | 1 + sickbeard/__init__.py | 2 +- sickbeard/helpers.py | 2 + sickbeard/name_parser/parser.py | 30 +++++--------- sickbeard/name_parser/regexes.py | 2 +- sickbeard/naming.py | 2 +- sickbeard/providers/generic.py | 6 +-- sickbeard/tvcache.py | 2 +- sickbeard/webserve.py | 4 +- tests/xem_tests.py | 39 ++++--------------- 12 files changed, 41 insertions(+), 64 deletions(-) diff --git a/gui/slick/interfaces/default/config_general.tmpl b/gui/slick/interfaces/default/config_general.tmpl index eac4a2b5..ede817cf 100644 --- a/gui/slick/interfaces/default/config_general.tmpl +++ b/gui/slick/interfaces/default/config_general.tmpl @@ -19,6 +19,12 @@ #else

$title

#end if + +#set $indexer = 0 +#if $sickbeard.INDEXER_DEFAULT + #set $indexer = $sickbeard.INDEXER_DEFAULT +#end if +
@@ -107,6 +113,7 @@ Default Indexer: diff --git a/gui/slick/interfaces/default/home_newShow.tmpl b/gui/slick/interfaces/default/home_newShow.tmpl index 51c7b84d..7482056c 100644 --- a/gui/slick/interfaces/default/home_newShow.tmpl +++ b/gui/slick/interfaces/default/home_newShow.tmpl @@ -41,6 +41,7 @@ * +