diff options
-rw-r--r-- | custom_libs/subliminal_patch/providers/whisperai.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/whisperai.py b/custom_libs/subliminal_patch/providers/whisperai.py index 4b3fa466c..73d259e84 100644 --- a/custom_libs/subliminal_patch/providers/whisperai.py +++ b/custom_libs/subliminal_patch/providers/whisperai.py @@ -207,7 +207,10 @@ class WhisperAISubtitle(Subtitle): @property def id(self): - return self.video.original_name + # Construct unique id otherwise provider pool will think + # subtitles are all the same and drop all except the first one + # This is important for language profiles with more than one language + return f"{self.video.original_name}_{self.task}_{str(self.language)}" def get_matches(self, video): matches = set() |