From df23d3660b5b9ab12b2cefe84d2964e188b5e497 Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Sun, 13 Jul 2025 18:51:04 -0500 Subject: [PATCH] Fetch channels after m3u refresh. --- frontend/src/components/M3URefreshNotification.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/M3URefreshNotification.jsx b/frontend/src/components/M3URefreshNotification.jsx index 3b57af37..fb295252 100644 --- a/frontend/src/components/M3URefreshNotification.jsx +++ b/frontend/src/components/M3URefreshNotification.jsx @@ -15,6 +15,7 @@ export default function M3URefreshNotification() { const refreshProgress = usePlaylistsStore((s) => s.refreshProgress); const fetchStreams = useStreamsStore((s) => s.fetchStreams); const fetchChannelGroups = useChannelsStore((s) => s.fetchChannelGroups); + const fetchChannels = useChannelsStore((s) => s.fetchChannels); const fetchPlaylists = usePlaylistsStore((s) => s.fetchPlaylists); const fetchEPGData = useEPGsStore((s) => s.fetchEPGData); @@ -135,6 +136,7 @@ export default function M3URefreshNotification() { // Only trigger additional fetches on successful completion if (data.action == 'parsing') { fetchStreams(); + fetchChannels(); } else if (data.action == 'processing_groups') { fetchStreams(); fetchChannelGroups();