summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-03-13 13:19:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-03-13 13:19:30 +0100
commitae5ee879d0b2fe661278be9337eeda88fd4c656f (patch)
treeb835a355eb8327b272be3257d40ca0fe389ecba1 /timers.c
parent3c0ea98ab3934f944d03919afacbcd33bff63be7 (diff)
downloadvdr-ae5ee879d0b2fe661278be9337eeda88fd4c656f.tar.gz
vdr-ae5ee879d0b2fe661278be9337eeda88fd4c656f.tar.bz2
The running status of a VPS event is now only taken seriously if that event has been seen within the last 30 seconds
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timers.c b/timers.c
index bcdb2426..63bff33c 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.23 2005/03/13 11:42:59 kls Exp $
+ * $Id: timers.c 1.24 2005/03/13 12:53:51 kls Exp $
*/
#include "timers.h"
@@ -343,7 +343,7 @@ bool cTimer::Matches(time_t t, bool Directly) const
firstday = 0;
if (HasFlags(tfActive)) {
- if (HasFlags(tfVps) && !Directly && event && event->Vps()) {
+ if (HasFlags(tfVps) && !Directly && event && event->Vps() && event->SeenWithin(30)) {
startTime = event->StartTime();
stopTime = event->EndTime();
return event->IsRunning(true);