Simpli - corrections

This commit is contained in:
Nirvana
2026-10-04 11:26:53 +02:00
parent 55fbb2cfd0
commit 78308defa9
14 changed files with 34 additions and 20 deletions
@@ -72,7 +72,7 @@ class RecordingsManager(ABC):
Providers that need a recording's manifest should implement the
routing in their provider's get_manifest, not by adding a
get_manifest method here. See providers/simplitv/provider.py for
get_manifest method here. See providers/simpli/provider.py for
the pattern.
"""
@@ -12,7 +12,7 @@ See ../_template/README.md for the contract.
Reference implementation
------------------------
simpliTV's SimpliTVRecordingsManager
(providers/simplitv/recordings_manager.py) is the first example: it
(providers/simpli/recordings_manager.py) is the first example: it
returns recordings as SimpliTVChannel objects, carries recording_id
on the subclass, and paginates through /v2/Pvr/GetRecordings.
@@ -51,7 +51,7 @@ class YourRecordingsManager(RecordingsManager):
Do not add a get_manifest method here. Route it in the
provider's get_manifest instead. See
providers/simplitv/provider.py for the pattern.
providers/simpli/provider.py for the pattern.
Recording identity
------------------
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/__init__.py
# streaming_providers/providers/simpli/__init__.py
"""
simpliTV streaming provider.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/auth.py
# streaming_providers/providers/simpli/auth.py
"""
simpliTV authentication.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/catchup_manager.py
# streaming_providers/providers/simpli/catchup_manager.py
"""
simpliTV catchup manager.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/channel_manager.py
# streaming_providers/providers/simpli/channel_manager.py
"""
simpliTV channel manager.
@@ -482,7 +482,7 @@ def codename_from_playable_id(content_id: str) -> str:
def programme_codename_from_epg_id(epg_id: str) -> str:
"""
Programme codename from whatever the host passes as epg_id: an EPG
broadcast_id (simplitv:<channel>:<start>:<programme>), a prog: id,
broadcast_id (simpli:<channel>:<start>:<programme>), a prog: id,
or the bare programme codename.
"""
if not epg_id:
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/constants.py
# streaming_providers/providers/simpli/constants.py
"""
simpliTV constants.
@@ -10,14 +10,14 @@ from typing import Optional
class SimpliTVDefaults:
PROVIDER_NAME = "simplitv"
PROVIDER_NAME = "simpli"
PROVIDER_LOGO = "https://files.app.simplitv.at/files/orf1-hd-bunt.png"
# --- Endpoints / hosts ---------------------------------------------
# Confirmed against the browser capture: the API host is
# api.app.austrostream.at (multi-tenant; simpliTV is the
# X-Tenant-Codename: simplitv tenant). The web app itself lives on
# streaming.simpli.at, NOT streaming.simplitv.at.
# X-Tenant-Codename: simpli tenant). The web app itself lives on
# streaming.simpli.at, NOT streaming.simpli.at.
BASE_URL = "https://api.app.austrostream.at"
WEBSITE = "https://streaming.simpli.at"
@@ -64,7 +64,7 @@ class SimpliTVDefaults:
# --- Platform / device identity ------------------------------------
PLATFORM_CODENAME = "www"
TENANT_CODENAME = "simplitv"
TENANT_CODENAME = "simpli"
RESOURCE_LANGUAGE_CONTEXT = "de"
DEVICE_NAME = "Firefox"
@@ -133,7 +133,7 @@ class SimpliTVDefaults:
PROGRAMME_PREFIX = "prog:"
CATCHUP_PREFIX = "catchup:"
CATCHUP_TS_SEPARATOR = "@"
BROADCAST_ID_PREFIX = "simplitv:"
BROADCAST_ID_PREFIX = "simpli:"
# --- Catchup / timeshift ------------------------------------------
# The DVR window is per-channel (AdditionalInfo.Epg_TimeshiftSeconds
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/epg_manager.py
# streaming_providers/providers/simpli/epg_manager.py
"""
simpliTV EPG manager.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/helpers.py
# streaming_providers/providers/simpli/helpers.py
"""
Helpers shared by more than one simpliTV module.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/logos.py
# streaming_providers/providers/simpli/logos.py
"""
simpliTV channel names and logos.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/models.py
# streaming_providers/providers/simpli/models.py
"""
simpliTV models.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/provider.py
# streaming_providers/providers/simpli/provider.py
"""
simpliTV orchestrator.
@@ -1,4 +1,4 @@
# streaming_providers/providers/simplitv/recordings_manager.py
# streaming_providers/providers/simpli/recordings_manager.py
"""
simpliTV recordings manager.
+14
View File
@@ -203,6 +203,20 @@
<setting id="movetv_proxy_port" type="number" label="Proxy Port" default="8080" visible="eq(-2,true)" />
</category>
<!-- =============================================== -->
<!-- Simpli (AT) -->
<!-- =============================================== -->
<category id="simpli" label="Simpli (AT)">
<setting id="enable_simpli" type="bool" label="Enable Simpli (AT)" default="false" />
<setting id="simpli_country" type="text" label="Country Code" default="se" visible="false" />
<setting id="simpli_username" type="text" label="Username" default="" enable="eq(-2,true)" />
<setting id="simpli_password" type="text" label="Password" option="hidden" default="" enable="eq(-3,true)" />
<setting id="simpli_proxy_enabled" type="bool" label="Enable Proxy" default="false" enable="eq(-4,true)" />
<setting id="simpli_proxy_host" type="text" label="Proxy Host" default="" visible="eq(-1,true)" />
<setting id="simpli_proxy_port" type="number" label="Proxy Port" default="8080" visible="eq(-2,true)" />
</category>
<!-- =============================================== -->
<!-- BH TELECOM -->
<!-- =============================================== -->