mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
Fix for #1113
This commit is contained in:
parent
2709e884ec
commit
86cf9aa9cc
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ class ZimukuSubtitle(Subtitle):
|
|||
info = guessit(self.version, {"type": "episode"})
|
||||
# other properties
|
||||
matches |= guess_matches(video, info, partial=True)
|
||||
|
||||
# add year to matches if video doesn't have a year but series, season and episode are matched
|
||||
if not video.year and all(item in matches for item in ['series', 'season', 'episode']):
|
||||
matches |= {'year'}
|
||||
# movie
|
||||
elif isinstance(video, Movie):
|
||||
# other properties
|
||||
|
|
Loading…
Reference in a new issue