|
|
|
@ -126,8 +126,12 @@ def download_subtitle(path, language, hi, forced, providers, providers_auth, sce
|
|
|
|
|
for l in language:
|
|
|
|
|
if l == 'pob':
|
|
|
|
|
lang_obj = Language('por', 'BR')
|
|
|
|
|
if forced == "True":
|
|
|
|
|
lang_obj = Language.rebuild(lang_obj, forced=True)
|
|
|
|
|
else:
|
|
|
|
|
lang_obj = Language(l)
|
|
|
|
|
if forced == "True":
|
|
|
|
|
lang_obj = Language.rebuild(lang_obj, forced=False)
|
|
|
|
|
language_set.add(lang_obj)
|
|
|
|
|
|
|
|
|
|
use_scenename = settings.general.getboolean('use_scenename')
|
|
|
|
@ -282,8 +286,12 @@ def manual_search(path, language, hi, forced, providers, providers_auth, sceneNa
|
|
|
|
|
lang = alpha3_from_alpha2(lang)
|
|
|
|
|
if lang == 'pob':
|
|
|
|
|
lang_obj = Language('por', 'BR')
|
|
|
|
|
if forced == "True":
|
|
|
|
|
lang_obj = Language.rebuild(lang_obj, forced=True)
|
|
|
|
|
else:
|
|
|
|
|
lang_obj = Language(lang)
|
|
|
|
|
if forced == "True":
|
|
|
|
|
lang_obj = Language.rebuild(lang_obj, forced=False)
|
|
|
|
|
language_set.add(lang_obj)
|
|
|
|
|
|
|
|
|
|
use_scenename = settings.general.getboolean('use_scenename')
|
|
|
|
|