aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <3226626+ksooo@users.noreply.github.com>2024-05-11 18:54:35 +0200
committerGitHub <noreply@github.com>2024-05-11 18:54:35 +0200
commitbdc3afaa73a7b855f4d817d9a220f3157547dee5 (patch)
treef5c1632087be793150041f041cf5d343c9a4b2f8
parentf22629fc56d0b70a80d34f767e143bbcc04eb67c (diff)
parentb8d8f27640fcfec441699e934248827c0fdf42ba (diff)
Merge pull request #25191 from ksooo/pvr-fix-timer-creation-crash
[PVR] Fix crash on creation of epg-based reminder rule with 'any channel'…
-rw-r--r--xbmc/pvr/timers/PVRTimers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/pvr/timers/PVRTimers.cpp b/xbmc/pvr/timers/PVRTimers.cpp
index fa3df8888f..69ac22f319 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<const CPVREpg> epg =