From fe65ecd2c3f3323267867c79a8773725072b42de Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 8 Jul 2014 21:13:43 -0700 Subject: [PATCH] Fixed issues with searches for show specials causing SR to think its a entire season. --- sickbeard/name_parser/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/name_parser/parser.py b/sickbeard/name_parser/parser.py index a77eaae7..197b1e25 100644 --- a/sickbeard/name_parser/parser.py +++ b/sickbeard/name_parser/parser.py @@ -233,7 +233,7 @@ class NameParser(object): tmp_extra_info = match.group('extra_info') # Show.S04.Special or Show.S05.Part.2.Extras is almost certainly not every episode in the season - if not (tmp_extra_info and cur_regex_name == 'season_only' and re.search( + if not (tmp_extra_info and 'season_only' in cur_regex_name and re.search( r'([. _-]|^)(special|extra)s?\w*([. _-]|$)', tmp_extra_info, re.I)): result.extra_info = tmp_extra_info result.score += 1