diff options
author | ksooo <3226626+ksooo@users.noreply.github.com> | 2024-06-29 17:23:02 +0200 |
---|---|---|
committer | ksooo <3226626+ksooo@users.noreply.github.com> | 2024-06-30 14:00:18 +0200 |
commit | ab1cf0cf792083fcceff7788a58a6773fe67578b (patch) | |
tree | b10d464bb610d7260ab35604665fdee5a6b9b8cb | |
parent | 8356d6baca545568dab60124f35edb6ed5560dc3 (diff) |
[PVR] Fix CPVRTimers::UpdateEntries: Delete existing epg-based local timers if the respective EPG tag does no longer exist.
-rw-r--r-- | xbmc/pvr/timers/PVRTimers.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xbmc/pvr/timers/PVRTimers.cpp b/xbmc/pvr/timers/PVRTimers.cpp index 53be1a9269..91dd76481c 100644 --- a/xbmc/pvr/timers/PVRTimers.cpp +++ b/xbmc/pvr/timers/PVRTimers.cpp @@ -551,6 +551,12 @@ bool CPVRTimers::UpdateEntries(int iMaxNotificationDelay) } } } + else if (!timer->IsTimerRule()) + { + // epg event no longer present. delete the timer + bDeleteTimer = true; + timer->DeleteFromDatabase(); + } } } |