Skip to content

Commit

Permalink
Merge pull request #25191 from ksooo/pvr-fix-timer-creation-crash
Browse files Browse the repository at this point in the history
[PVR] Fix crash on creation of epg-based reminder rule with 'any channel'…
  • Loading branch information
ksooo committed May 11, 2024
2 parents f22629f + b8d8f27 commit bdc3afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/pvr/timers/PVRTimers.cpp
Expand Up @@ -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 =
Expand Down

0 comments on commit bdc3afa

Please sign in to comment.