mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43:37 +00:00
Fixed issues with searches for show specials causing SR to think its a entire season.
This commit is contained in:
parent
bea3a13c2b
commit
fe65ecd2c3
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class NameParser(object):
|
||||||
tmp_extra_info = match.group('extra_info')
|
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
|
# 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)):
|
r'([. _-]|^)(special|extra)s?\w*([. _-]|$)', tmp_extra_info, re.I)):
|
||||||
result.extra_info = tmp_extra_info
|
result.extra_info = tmp_extra_info
|
||||||
result.score += 1
|
result.score += 1
|
||||||
|
|
Loading…
Reference in a new issue