From 8ec322d8784aec61294a8b41bf036f0a537052a4 Mon Sep 17 00:00:00 2001 From: Nirvana Date: Sun, 3 May 2026 17:43:45 +0200 Subject: [PATCH] Prepare RTLPlus for new streaming prov --- routes/streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/streams.py b/routes/streams.py index e7c5fe3..36f2af4 100644 --- a/routes/streams.py +++ b/routes/streams.py @@ -371,14 +371,14 @@ def setup_stream_routes(app, manager, service): ) } - manifest_text, _, _, _ = service.fetch_manifest_for_rewriter( + manifest_text, _, _, _, effective_url = service.fetch_manifest_for_rewriter( provider, content_id, manifest_url ) # Inject the upstream manifest URL as a BaseURL so the player can # resolve relative segment URLs correctly. Without this, segments # resolve against the local server URL and all requests fail. - manifest_text = _inject_base_url(manifest_text, manifest_url) + manifest_text = _inject_base_url(manifest_text, effective_url) response.content_type = "application/dash+xml; charset=utf-8" return manifest_text