mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-10-06 07:52:26 +02:00
Simpli - rename
This commit is contained in:
@@ -66,12 +66,16 @@ from .recordings_manager import SimpliTVRecordingsManager
|
||||
class SimpliTVProvider(StreamingProvider):
|
||||
"""simpli streaming provider."""
|
||||
|
||||
PROVIDER_NAME: ClassVar[str] = SimpliTVDefaults.PROVIDER_NAME # "simpli"
|
||||
PROVIDER_LABEL: ClassVar[str] = "simpli"
|
||||
PROVIDER_LOGO: ClassVar[str] = SimpliTVDefaults.PROVIDER_LOGO
|
||||
SUPPORTED_AUTH_TYPES: ClassVar[List[str]] = ["user_credentials"]
|
||||
SUPPORTED_COUNTRIES: ClassVar[List[str]] = ["AT"]
|
||||
|
||||
@property
|
||||
def provider_name(self) -> str:
|
||||
"""Return the provider name (matches the directory / registry key)."""
|
||||
return SimpliTVDefaults.PROVIDER_NAME # "simpli"
|
||||
|
||||
# Only "live" and "vod" narrow the folded DRM search; anything else
|
||||
# (None, "event", "catchup", a typo) tries both domains.
|
||||
_LIVE_ONLY_CONTENT_TYPES = frozenset({"live"})
|
||||
|
||||
Reference in New Issue
Block a user