Private GIT

Skip to content
Snippets Groups Projects
Commit 4cda1d3f authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Don't count Show.Name.S04.Special.... as the whole season in one NZB.

parent 55cf2753
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,12 @@ class NameParser(object):
raise InvalidNameException(str(e))
if 'extra_info' in named_groups:
result.extra_info = match.group('extra_info')
tmp_extra_info = match.group('extra_info')
# Show.S04.Special is almost certainly not every episode in the season
if tmp_extra_info and cur_regex_name == 'season_only' and re.match(r'([. _-]|^)(special|extra)\w*([. _-]|$)', tmp_extra_info, re.I):
continue
result.extra_info = tmp_extra_info
if 'release_group' in named_groups:
result.release_group = match.group('release_group')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment