From c92588c3bea0b614a4b70cc77d036139c5775f80 Mon Sep 17 00:00:00 2001 From: Sergio Cambra Date: Mon, 4 Nov 2019 00:10:20 +0100 Subject: [PATCH] fix downloading subtitles, no provider was registered (#1664) --- core/plugins/subtitles.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/plugins/subtitles.py b/core/plugins/subtitles.py index df37e532..181975e5 100644 --- a/core/plugins/subtitles.py +++ b/core/plugins/subtitles.py @@ -11,6 +11,10 @@ import subliminal import core from core import logger +for provider in subliminal.provider_manager.internal_extensions: + if provider not in [str(x) for x in subliminal.provider_manager.list_entry_points()]: + subliminal.provider_manager.register(str(provider)) + def import_subs(filename): if not core.GETSUBS: