summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 21:04:57 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-04 21:04:57 +0000
commitd4d1dec8f3f204ad0d7abac3b553c5023a4324bd (patch)
treec0827d5ffcffaef521980eb6562f65f0bbb6ceb4 /pages
parent4f7cd6ef7a1a9d3659ff7386425b705767351b53 (diff)
downloadvdr-plugin-live-d4d1dec8f3f204ad0d7abac3b553c5023a4324bd.tar.gz
vdr-plugin-live-d4d1dec8f3f204ad0d7abac3b553c5023a4324bd.tar.bz2
- added EPGLinger
Diffstat (limited to 'pages')
-rw-r--r--pages/schedule.ecpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/schedule.ecpp b/pages/schedule.ecpp
index 36084dc..b1443cf 100644
--- a/pages/schedule.ecpp
+++ b/pages/schedule.ecpp
@@ -70,8 +70,9 @@ int channel = -1;
bool active_line = false;
std::string current_day = "";
const cEvent* PresentEvent = Schedule->GetPresentEvent();
+ time_t now = time(NULL) - ::Setup.EPGLinger * 60;
for (const cEvent *Event = Schedule->Events()->First(); Event; Event = Schedule->Events()->Next(Event)) {
- if (Event->EndTime() <= time(0) && Event != PresentEvent)
+ if (Event->EndTime() <= now && Event != PresentEvent)
continue;
active_line = !active_line;