From a7df6a9c6213cbb16ffc212f22aa3ae4c82599dd Mon Sep 17 00:00:00 2001 From: JayZed Date: Mon, 9 Dec 2024 16:32:51 -0500 Subject: [PATCH] Fixed EmbeddedSubtitles provider results caching --- custom_libs/subliminal_patch/providers/embeddedsubtitles.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_libs/subliminal_patch/providers/embeddedsubtitles.py b/custom_libs/subliminal_patch/providers/embeddedsubtitles.py index 943607735..8de224729 100644 --- a/custom_libs/subliminal_patch/providers/embeddedsubtitles.py +++ b/custom_libs/subliminal_patch/providers/embeddedsubtitles.py @@ -255,8 +255,6 @@ def _is_path_valid(self, path): class _MemoizedFFprobeVideoContainer(FFprobeVideoContainer): - # 128 is the default value for maxsize since Python 3.8. We ste it here for previous versions. - @functools.lru_cache(maxsize=128) def get_subtitles(self, *args, **kwargs): return super().get_subtitles(*args, **kwargs)