mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix for H.264 issues related to regexes and matching for parsing release names.
This commit is contained in:
parent
d091c3a138
commit
858951d31c
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class NameParser(object):
|
|||
matches.append(result)
|
||||
|
||||
if len(matches):
|
||||
result = max(matches, key=lambda x: x.score)
|
||||
result = max(sorted(matches, reverse=True, key=lambda x: x.which_regex), key=lambda x: x.score)
|
||||
|
||||
if result.show:
|
||||
if self.convert and not self.naming_pattern:
|
||||
|
|
Loading…
Reference in a new issue