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-07-10 09:01:37 +0200
commit05b84b6e20c910d7c6e1cfe76c7f4a9a90c59ce8 (patch)
tree245878c47e57706b95f19b47236f7fb69041aa09
parent6186114acf4354697317b64d4a75f72eebf353dc (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 3f98227fa4..b01e678209 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();
+ }
}
}