From e154e4e696ff6698fec7519789a54b6764401232 Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Tue, 2 Jun 2026 12:16:02 -0500 Subject: [PATCH] fix: Ensure catch-up streams are ordered by channelstream order in get_channel_catchup_info --- apps/channels/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/channels/utils.py b/apps/channels/utils.py index e9b6e854..9aa2154d 100644 --- a/apps/channels/utils.py +++ b/apps/channels/utils.py @@ -24,6 +24,7 @@ def get_channel_catchup_info(channel): stream = ( channel.streams.filter(is_catchup=True) + .order_by("channelstream__order") .select_related("m3u_account") .first() )