Skip to content

Commit

Permalink
Fixed EmbeddedSubtitles provider results caching
Browse files Browse the repository at this point in the history
  • Loading branch information
JaiZed authored Dec 9, 2024
1 parent 137d619 commit a7df6a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_libs/subliminal_patch/providers/embeddedsubtitles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a7df6a9

Please sign in to comment.