From 11ca8a8ed484e5b35205399599b95002e76bb898 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 21 May 2024 21:47:47 +0200 Subject: [PATCH] FIX: stop loading EPG if EPG not found for one single channel --- ViewModels/MainViewModel.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ViewModels/MainViewModel.vb b/ViewModels/MainViewModel.vb index 679714e..f46563f 100644 --- a/ViewModels/MainViewModel.vb +++ b/ViewModels/MainViewModel.vb @@ -350,7 +350,7 @@ Namespace ViewModels For Each channel In ChannelList Dim firstEpg = channel.EpgInfos.FirstOrDefault() - If firstEpg Is Nothing OrElse firstEpg.StartTime.Equals("0") Then Return False + If firstEpg Is Nothing OrElse firstEpg.StartTime.Equals("0") Then Continue For Dim difference As Long = firstEpg.StartTime - earliestEpg.StartTime Application.Current.Dispatcher.Invoke(Sub() channel.EpgInfos.Insert(0, New EpgInfoViewModel(difference)))