mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05: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
@ -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 New Issue
Block a user