diff options
author | ksooo <3226626+ksooo@users.noreply.github.com> | 2024-10-05 11:23:19 +0200 |
---|---|---|
committer | ksooo <3226626+ksooo@users.noreply.github.com> | 2024-10-05 22:43:32 +0200 |
commit | a43d301933dc142e880d9cc46c99934ab025f0ed (patch) | |
tree | 2e0efbe025145d70ff8a0786c36546ae6b0d2e8a | |
parent | eb29391d79578fd2e022f1bdcbf7ce4efdb02d5a (diff) |
[PVR] [PVR] Async EPG update: Fix removal of EPG events notified as 'deleted', take 2.
-rw-r--r-- | xbmc/pvr/epg/Epg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/pvr/epg/Epg.cpp b/xbmc/pvr/epg/Epg.cpp index bf1fd4a2ad..8bc6045d20 100644 --- a/xbmc/pvr/epg/Epg.cpp +++ b/xbmc/pvr/epg/Epg.cpp @@ -223,8 +223,8 @@ bool CPVREpg::UpdateEntry(const std::shared_ptr<CPVREpgInfoTag>& tag, EPG_EVENT_ } else { - // Delete running/future events and past events if they are older than epg linger time setting - if ((existingTag->EndAsUTC() >= CDateTime::GetUTCDateTime()) || IsTagExpired(existingTag)) + // Delete future events and past events if they are older than epg linger time setting + if ((existingTag->StartAsUTC() > CDateTime::GetUTCDateTime()) || IsTagExpired(existingTag)) { m_tags.DeleteEntry(existingTag); } |