mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix SeasonYear rule
This commit is contained in:
parent
0d5957c3f8
commit
8303df35cc
@ -357,7 +357,9 @@ class SeasonYearDedup(Rule):
|
||||
```
|
||||
"""
|
||||
|
||||
priority = POST_PROCESS
|
||||
# This rules does the opposite of the YearSeason rule of guessit (with POST_PROCESS priority)
|
||||
# To overide it, we need the -1. (rule: https://github.com/guessit-io/guessit/blob/develop/guessit/rules/processors.py#L195)
|
||||
priority = POST_PROCESS - 1
|
||||
consequence = [RemoveMatch]
|
||||
|
||||
def when(self, matches: Matches, context) -> Any:
|
||||
|
Loading…
x
Reference in New Issue
Block a user