diff --git a/bazarr/get_providers.py b/bazarr/get_providers.py index e792424af..a85bca7d9 100644 --- a/bazarr/get_providers.py +++ b/bazarr/get_providers.py @@ -204,9 +204,14 @@ def throttled_count(name): def update_throttled_provider(): changed = False if settings.general.enabled_providers: - for provider in settings.general.enabled_providers.lower().split(','): + for provider in list(tp): + if provider not in settings.general.enabled_providers: + del tp[provider] + settings.general.throtteled_providers = str(tp) + changed = True + reason, until, throttle_desc = tp.get(provider, (None, None, None)) - + if reason: now = datetime.datetime.now() if now < until: diff --git a/views/episodes.tpl b/views/episodes.tpl index 7e7113268..b18b2c3a2 100644 --- a/views/episodes.tpl +++ b/views/episodes.tpl @@ -222,7 +222,7 @@