|
|
@ -105,9 +105,9 @@ def download_subtitle(path, language, hi, providers, providers_auth, sceneName,
|
|
|
|
|
|
|
|
|
|
|
|
logging.debug('BAZARR Searching subtitles for this file: ' + path)
|
|
|
|
logging.debug('BAZARR Searching subtitles for this file: ' + path)
|
|
|
|
if hi == "True":
|
|
|
|
if hi == "True":
|
|
|
|
hi = True
|
|
|
|
hi = "force HI"
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
hi = False
|
|
|
|
hi = "force non-HI"
|
|
|
|
language_set = set()
|
|
|
|
language_set = set()
|
|
|
|
|
|
|
|
|
|
|
|
if not isinstance(language, types.ListType):
|
|
|
|
if not isinstance(language, types.ListType):
|
|
|
@ -253,9 +253,9 @@ def manual_search(path, language, hi, providers, providers_auth, sceneName, titl
|
|
|
|
final_subtitles = []
|
|
|
|
final_subtitles = []
|
|
|
|
|
|
|
|
|
|
|
|
if hi == "True":
|
|
|
|
if hi == "True":
|
|
|
|
hi = True
|
|
|
|
hi = "force HI"
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
hi = False
|
|
|
|
hi = "force non-HI"
|
|
|
|
language_set = set()
|
|
|
|
language_set = set()
|
|
|
|
for lang in ast.literal_eval(language):
|
|
|
|
for lang in ast.literal_eval(language):
|
|
|
|
lang = alpha3_from_alpha2(lang)
|
|
|
|
lang = alpha3_from_alpha2(lang)
|
|
|
|