diff --git a/bazarr/subtitles/indexer/movies.py b/bazarr/subtitles/indexer/movies.py index ce9feb5a1..4f6bbc4b0 100644 --- a/bazarr/subtitles/indexer/movies.py +++ b/bazarr/subtitles/indexer/movies.py @@ -114,7 +114,8 @@ def store_subtitles_movie(original_path, reversed_path, use_cache=True): custom = CustomLanguage.found_external(subtitle, subtitle_path) if custom is not None: - actual_subtitles.append([custom, path_mappings.path_replace_reverse_movie(subtitle_path)]) + actual_subtitles.append([custom, path_mappings.path_replace_reverse_movie(subtitle_path), + os.stat(subtitle_path).st_size]) elif str(language.basename) != 'und': if language.forced: diff --git a/bazarr/subtitles/indexer/series.py b/bazarr/subtitles/indexer/series.py index 0e1842230..f325c0d86 100644 --- a/bazarr/subtitles/indexer/series.py +++ b/bazarr/subtitles/indexer/series.py @@ -113,7 +113,8 @@ def store_subtitles(original_path, reversed_path, use_cache=True): custom = CustomLanguage.found_external(subtitle, subtitle_path) if custom is not None: - actual_subtitles.append([custom, path_mappings.path_replace_reverse(subtitle_path)]) + actual_subtitles.append([custom, path_mappings.path_replace_reverse(subtitle_path), + os.stat(subtitle_path).st_size]) elif str(language.basename) != 'und': if language.forced: