mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-18 15:12:12 +02:00
Restructure for enabling/disabling
This commit is contained in:
@@ -483,6 +483,20 @@ class MagentaEUProvider(StreamingProvider):
|
||||
"""Get list of supported countries"""
|
||||
return cls.SUPPORTED_COUNTRIES.copy()
|
||||
|
||||
@classmethod
|
||||
def get_static_logo(cls, country: str = None) -> str:
|
||||
"""Static version for metadata extraction."""
|
||||
if country:
|
||||
country_lower = country.lower()
|
||||
if country_lower == 'at':
|
||||
return cls.PROVIDER_LOGO_AT
|
||||
elif country_lower == 'hr':
|
||||
return cls.PROVIDER_LOGO_HR
|
||||
elif country_lower == 'pl':
|
||||
return cls.PROVIDER_LOGO_PL
|
||||
# Return HR logo as default
|
||||
return cls.PROVIDER_LOGO_HR
|
||||
|
||||
@classmethod
|
||||
def get_static_label(cls, country: str = None) -> str:
|
||||
"""Override to provide country-specific labels including Max TV for Croatia"""
|
||||
|
||||
Reference in New Issue
Block a user