From f998d35eacefc48f379cf736f7066a3de83f3a2d Mon Sep 17 00:00:00 2001 From: Nirvana Date: Thu, 25 Dec 2025 14:28:07 +0100 Subject: [PATCH] Restructure for enabling/disabling --- lib/streaming_providers/base/provider_registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/streaming_providers/base/provider_registry.py b/lib/streaming_providers/base/provider_registry.py index ca7a142..97d596f 100644 --- a/lib/streaming_providers/base/provider_registry.py +++ b/lib/streaming_providers/base/provider_registry.py @@ -28,11 +28,11 @@ class ProviderMetadata: else: self.name = self.plugin_name # e.g., "hrti" (no country suffix) # For single-country providers, don't include country in label - self.label = self.plugin_class.get_static_label() # ← Call WITHOUT country! + self.label = self.plugin_class.get_static_label() # Call WITHOUT country! - self.label = self.plugin_class.get_static_label(self.country) self.supported_auth_types = self.plugin_class.get_static_auth_types() self.logo = self.plugin_class.get_static_logo() + self.supported_countries = self.plugin_class.get_static_supported_countries() self.requires_credentials = any(