pull/1121/head
Louis Vézina 4 years ago
parent 2709e884ec
commit 86cf9aa9cc

@ -60,6 +60,10 @@ class ZimukuSubtitle(Subtitle):
info = guessit(self.version, {"type": "episode"}) info = guessit(self.version, {"type": "episode"})
# other properties # other properties
matches |= guess_matches(video, info, partial=True) 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 # movie
elif isinstance(video, Movie): elif isinstance(video, Movie):
# other properties # other properties

Loading…
Cancel
Save