From e34201ff2bfdd4704af14dd52abd26f35b095574 Mon Sep 17 00:00:00 2001 From: panni Date: Thu, 29 Nov 2018 14:53:13 +0100 Subject: [PATCH] add fixme for subtitle folder setting --- bazarr/list_subtitles.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bazarr/list_subtitles.py b/bazarr/list_subtitles.py index fe4e6819a..3a29d5b00 100644 --- a/bazarr/list_subtitles.py +++ b/bazarr/list_subtitles.py @@ -11,6 +11,7 @@ import langdetect import subliminal import subliminal_patch from subliminal import core +from subliminal_patch import search_external_subtitles from bs4 import UnicodeDammit from itertools import islice @@ -42,7 +43,9 @@ def store_subtitles(file): brazilian_portuguese = [".pt-br", ".pob", "pb"] try: - subtitles = core.search_external_subtitles(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) except: pass else: