From b22c10638c4e5a12d9c2712b70b1bb59b3efe2a3 Mon Sep 17 00:00:00 2001 From: ksooo <3226626+ksooo@users.noreply.github.com> Date: Wed, 8 May 2024 08:28:12 +0200 Subject: [PATCH] [PVR] Fix crash on creation of epg-based reminder rule with 'any channel' set instead of a certain channel. --- xbmc/pvr/timers/PVRTimers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/pvr/timers/PVRTimers.cpp b/xbmc/pvr/timers/PVRTimers.cpp index 5b899d21b62fb..3f98227fa4544 100644 --- a/xbmc/pvr/timers/PVRTimers.cpp +++ b/xbmc/pvr/timers/PVRTimers.cpp @@ -511,7 +511,7 @@ bool CPVRTimers::UpdateEntries(int iMaxNotificationDelay) bool bDeleteTimer = false; if (!timer->IsOwnedByClient()) { - if (timer->IsEpgBased()) + if (timer->IsEpgBased() && timer->Channel()) { // update epg tag const std::shared_ptr epg =