mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for H.264 issues related to regexes and matching for parsing release names.
This commit is contained in:
parent
d091c3a138
commit
858951d31c
@ -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 New Issue
Block a user