From 8c633a5f65da85769600f8867296f33cc30b9946 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 13 Oct 2012 14:19:26 +0200 Subject: Fixed handling VPS timers in case the running status of an event goes to '1' (not running) and later goes to '4' (running) --- vdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index 4ce7b269..5494cf7d 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.41 2012/10/03 09:58:46 kls Exp $ + * $Id: vdr.c 2.42 2012/10/13 12:48:56 kls Exp $ */ #include @@ -892,7 +892,7 @@ int main(int argc, char *argv[]) Timer->SetInVpsMargin(InVpsMargin); } else if (Timer->Event()) { - InVpsMargin = Timer->Event()->StartTime() <= Now && Timer->Event()->RunningStatus() == SI::RunningStatusUndefined; + InVpsMargin = Timer->Event()->StartTime() <= Now && Now < Timer->Event()->EndTime(); NeedsTransponder = Timer->Event()->StartTime() - Now < VPSLOOKAHEADTIME * 3600 && !Timer->Event()->SeenWithin(VPSUPTODATETIME); } else { -- cgit v1.2.3