From 92d53fa62ea7a38e67f87cfd4ed5f3bc9ff5dec9 Mon Sep 17 00:00:00 2001 From: Nirvana Date: Thu, 11 Jun 2026 13:15:17 +0200 Subject: [PATCH] magentaeu catchup --- lib/streaming_providers/providers/magentaeu/provider.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/streaming_providers/providers/magentaeu/provider.py b/lib/streaming_providers/providers/magentaeu/provider.py index 42db80c..6d78561 100644 --- a/lib/streaming_providers/providers/magentaeu/provider.py +++ b/lib/streaming_providers/providers/magentaeu/provider.py @@ -398,12 +398,8 @@ class MagentaEUProvider(StreamingProvider): if isinstance(end_time, str): end_time = int(end_time) - # Convert Unix timestamps to UTC format: YYYYMMDDTHHMMSS - start_str = datetime.datetime.utcfromtimestamp(start_time).strftime("%Y%m%dT%H%M%S") - end_str = datetime.datetime.utcfromtimestamp(end_time).strftime("%Y%m%dT%H%M%S") - # Build the catchup URL with converted time strings - catchup_manifest = build_catchup_url(base_manifest, start_str, end_str) + catchup_manifest = build_catchup_url(base_manifest, start_time, end_time) logger.debug(f"Catchup manifest for channel {content_id}: {catchup_manifest}") return catchup_manifest except Exception as e: