|
|
|
@ -181,8 +181,6 @@ def download_subtitle(path, language, hi, forced, providers, providers_auth, sce
|
|
|
|
|
pre_download_hook=None, # fixme
|
|
|
|
|
post_download_hook=None, # fixme
|
|
|
|
|
language_hook=None) # fixme
|
|
|
|
|
for provider in providers:
|
|
|
|
|
track_event(category=provider, action='search', label=language_from_alpha3(language[0]))
|
|
|
|
|
else:
|
|
|
|
|
downloaded_subtitles = None
|
|
|
|
|
logging.info("BAZARR All providers are throttled")
|
|
|
|
@ -339,8 +337,6 @@ def manual_search(path, language, hi, forced, providers, providers_auth, sceneNa
|
|
|
|
|
provider_configs=providers_auth,
|
|
|
|
|
throttle_callback=provider_throttle,
|
|
|
|
|
language_hook=None) # fixme
|
|
|
|
|
for provider in providers:
|
|
|
|
|
track_event(category=provider, action='search', label=language_from_alpha3(lang))
|
|
|
|
|
else:
|
|
|
|
|
subtitles = []
|
|
|
|
|
logging.info("BAZARR All providers are throttled")
|
|
|
|
|