diff --git a/bazarr/list_subtitles.py b/bazarr/list_subtitles.py index 504daf57e..3425f0f51 100644 --- a/bazarr/list_subtitles.py +++ b/bazarr/list_subtitles.py @@ -56,7 +56,7 @@ def store_subtitles(file): try: # fixme: set subliminal_patch.core.CUSTOM_PATHS to a list of absolute folders or subfolders to support # subtitles outside the media file folder - subtitles = search_external_subtitles(file) + subtitles = search_external_subtitles(file, only_one=settings.general.getboolean('single_language')) except Exception as e: logging.exception("BAZARR unable to index external subtitles.") pass @@ -137,10 +137,9 @@ def store_subtitles_movie(file): # fixme: set subliminal_patch.core.CUSTOM_PATHS to a list of absolute folders or subfolders to support # subtitles outside the media file folder - subtitles = search_external_subtitles(file) brazilian_portuguese = [".pt-br", ".pob", "pb"] try: - subtitles = core.search_external_subtitles(file) + subtitles = search_external_subtitles(file, only_one=settings.general.getboolean('single_language')) except Exception as e: logging.exception("BAZARR unable to index external subtitles.") pass