From 4bd5f5f67bc8730229db250f8f183b70cc0885c9 Mon Sep 17 00:00:00 2001 From: Nirvana Date: Wed, 22 Jul 2026 21:26:24 +0200 Subject: [PATCH] Fix unencrypted catchup --- routes/streams/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/routes/streams/__init__.py b/routes/streams/__init__.py index 95a8cc5..fe8bbe4 100644 --- a/routes/streams/__init__.py +++ b/routes/streams/__init__.py @@ -626,11 +626,18 @@ def make_helpers(manager, service): config.to_dict() if hasattr(config, "to_dict") else config ) + is_unencrypted = "none" in catchup_drm_dict keyids = ( catchup_drm_dict.get("org.w3.clearkey", {}) .get("license", {}) .get("keyids", {}) ) + + if is_unencrypted: + return service.get_proxied_catchup_manifest( + provider, content_id, start_time_int, end_time_int, epg_id, country + ) + if not keyids: response.status = 400 return {"error": "ClearKey DRM not available for this catchup content"}