Restructure for enabling/disabling

This commit is contained in:
Nirvana
2025-12-25 21:14:51 +01:00
parent 0cd41478a5
commit 5b3b80c416
3 changed files with 3 additions and 3 deletions
@@ -22,9 +22,8 @@ class HRTiProvider(StreamingProvider):
# STATIC METADATA (NEW)
# ============================================================================
PROVIDER_LABEL: ClassVar[str] = "HRTi"
SUPPORTED_AUTH_TYPES: ClassVar[List[str]] = ['user_credentials']
SUPPORTED_AUTH_TYPES: ClassVar[List[str]] = ['client_credentials', 'user_credentials']
PROVIDER_LOGO: ClassVar[str] = HRTiDefaults.PROVIDER_LOGO
SUPPORTED_COUNTRIES: ClassVar[List[str]] = ['HR'] # Croatia only
def __init__(self, country: str = 'HR', config: Optional[Dict] = None, proxy_config: Optional[ProxyConfig] = None):
super().__init__(country)
@@ -33,7 +33,7 @@ from .constants import (
)
class MagentaProvider(StreamingProvider):
class MagentaEUProvider(StreamingProvider):
# Provider constants with country-specific logos
PROVIDER_LOGO_AT: ClassVar[str] = MAGENTA_TV_AT_LOGO
PROVIDER_LOGO_PL: ClassVar[str] = MAGENTA_TV_PL_LOGO
@@ -16,6 +16,7 @@ class RTLPlusProvider(StreamingProvider):
# Provider constants
PROVIDER_LABEL: ClassVar[str] = "RTL+"
PROVIDER_LOGO: ClassVar[str] = RTLPlusDefaults.RTLPLUS_LOGO
SUPPORTED_AUTH_TYPES: ClassVar[List[str]] = ['client_credentials', 'user_credentials']
def __init__(self, country: str = 'DE', config: Optional[Dict] = None,
proxy_config: Optional[ProxyConfig] = None):