From 3d936ffccf767d0a91cbc3b7b3c05306e957e561 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Tue, 26 Oct 2021 06:47:59 -0400 Subject: [PATCH] Removing TuSubtitulo per provider request. #1591 --- frontend/src/Settings/Providers/list.ts | 3 ++- libs/subliminal_patch/providers/tusubtitulo.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/Settings/Providers/list.ts b/frontend/src/Settings/Providers/list.ts index 3eec72d7d..df2f309a8 100644 --- a/frontend/src/Settings/Providers/list.ts +++ b/frontend/src/Settings/Providers/list.ts @@ -220,7 +220,8 @@ export const ProviderList: Readonly = [ key: "tusubtitulo", name: "Tusubtitulo.com", description: - "LATAM Spanish / Spanish / English Subtitles Provider for TV Shows", + "Provider requested to be removed from Bazarr so it will always return no subtitles. Could potentially come back in the future with an upcoming premium account.", + // "LATAM Spanish / Spanish / English Subtitles Provider for TV Shows", }, { key: "titulky", diff --git a/libs/subliminal_patch/providers/tusubtitulo.py b/libs/subliminal_patch/providers/tusubtitulo.py index fdb3ae892..979c28b5f 100644 --- a/libs/subliminal_patch/providers/tusubtitulo.py +++ b/libs/subliminal_patch/providers/tusubtitulo.py @@ -255,7 +255,11 @@ class TuSubtituloProvider(Provider): return [] def list_subtitles(self, video, languages): - return self.query(video) + # return self.query(video) + + # returning no subtitles automatically to prevent requests to the provider who explicitly requested to be + # removed in https://github.com/morpheus65535/bazarr/issues/1591 + return [] @staticmethod def _check_response(response):