From 2f23909bed50b940476fb12844331460ffd9ffa3 Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Tue, 29 Apr 2025 15:13:15 -0500 Subject: [PATCH] Fixed bug overwriting tvg-id when loading TV Guide. --- apps/epg/api_views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/epg/api_views.py b/apps/epg/api_views.py index 48eb680d..526172f1 100644 --- a/apps/epg/api_views.py +++ b/apps/epg/api_views.py @@ -140,10 +140,6 @@ class EPGGridAPIView(APIView): } dummy_programs.append(dummy_program) - # Also update the channel to use this dummy tvg_id - channel.tvg_id = dummy_tvg_id - channel.save(update_fields=['tvg_id']) - except Exception as e: logger.error(f"Error creating dummy programs for channel {channel.name} (ID: {channel.id}): {str(e)}")