mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-13 07:32:52 +00:00
Removing GA tracking of search as we are exceeding monthly limit.
This commit is contained in:
parent
44ed1ba4fc
commit
833fc80e28
1 changed files with 0 additions and 4 deletions
|
@ -177,8 +177,6 @@ def download_subtitle(path, language, hi, forced, providers, providers_auth, sce
|
||||||
pre_download_hook=None, # fixme
|
pre_download_hook=None, # fixme
|
||||||
post_download_hook=None, # fixme
|
post_download_hook=None, # fixme
|
||||||
language_hook=None) # fixme
|
language_hook=None) # fixme
|
||||||
for provider in providers:
|
|
||||||
track_event(category=provider, action='search', label=language_from_alpha3(language[0]))
|
|
||||||
else:
|
else:
|
||||||
downloaded_subtitles = None
|
downloaded_subtitles = None
|
||||||
logging.info("BAZARR All providers are throttled")
|
logging.info("BAZARR All providers are throttled")
|
||||||
|
@ -335,8 +333,6 @@ def manual_search(path, language, hi, forced, providers, providers_auth, sceneNa
|
||||||
provider_configs=providers_auth,
|
provider_configs=providers_auth,
|
||||||
throttle_callback=provider_throttle,
|
throttle_callback=provider_throttle,
|
||||||
language_hook=None) # fixme
|
language_hook=None) # fixme
|
||||||
for provider in providers:
|
|
||||||
track_event(category=provider, action='search', label=language_from_alpha3(lang))
|
|
||||||
else:
|
else:
|
||||||
subtitles = []
|
subtitles = []
|
||||||
logging.info("BAZARR All providers are throttled")
|
logging.info("BAZARR All providers are throttled")
|
||||||
|
|
Loading…
Add table
Reference in a new issue