diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-10-13 14:19:26 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-10-13 14:19:26 +0200 |
commit | 8c633a5f65da85769600f8867296f33cc30b9946 (patch) | |
tree | 2563791d7f807e34ddd4fd144fe814bb625ac701 /vdr.c | |
parent | 7f7fa7fd902c819f616312489dbe882f3bc1edfa (diff) | |
download | vdr-8c633a5f65da85769600f8867296f33cc30b9946.tar.gz vdr-8c633a5f65da85769600f8867296f33cc30b9946.tar.bz2 |
Fixed handling VPS timers in case the running status of an event goes to '1' (not running) and later goes to '4' (running)
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <getopt.h> @@ -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 { |