mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-10-15 20:32:34 +02:00
Restructure for enabling/disabling
This commit is contained in:
@@ -481,4 +481,14 @@ class MagentaProvider(StreamingProvider):
|
||||
@classmethod
|
||||
def get_supported_countries(cls) -> List[str]:
|
||||
"""Get list of supported countries"""
|
||||
return cls.SUPPORTED_COUNTRIES.copy()
|
||||
return cls.SUPPORTED_COUNTRIES.copy()
|
||||
|
||||
@classmethod
|
||||
def get_static_label(cls, country: str = None) -> str:
|
||||
"""Override to provide country-specific labels including Max TV for Croatia"""
|
||||
if country and country.upper() == 'HR':
|
||||
return "Max TV (HR)"
|
||||
elif country:
|
||||
return f"Magenta TV ({country.upper()})"
|
||||
else:
|
||||
return "Magenta TV"
|
||||
Reference in New Issue
Block a user