Private GIT

Skip to content
Snippets Groups Projects
Commit 7a1b5638 authored by miigotu's avatar miigotu
Browse files

Add some weight to episode_numbers, to prefer matching them over absolute...

Add some weight to episode_numbers, to prefer matching them over absolute numbers in cases where the title has numbers or the word "Episode \d"

Fixes #1362
parent 17d0a60f
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ class NameParser(object):
result.score += 1
else:
result.episode_numbers = [ep_num]
result.score += 1
result.score += 3
if 'ep_ab_num' in named_groups:
ep_ab_num = self._convert_number(match.group('ep_ab_num'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment