aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorksooo <3226626+ksooo@users.noreply.github.com>2024-06-29 17:23:02 +0200
committerksooo <3226626+ksooo@users.noreply.github.com>2024-06-30 14:00:18 +0200
commitab1cf0cf792083fcceff7788a58a6773fe67578b (patch)
treeb10d464bb610d7260ab35604665fdee5a6b9b8cb
parent8356d6baca545568dab60124f35edb6ed5560dc3 (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.cpp6
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();
+ }
}
}