diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-21 15:30:35 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-21 15:30:35 +0100 |
commit | 6fef98aa971f8ee51b21d95f9fe3f975a13858f1 (patch) | |
tree | 9a08f57ac8377d16a35c1a84b0609b49a58318fe /config.c | |
parent | c969c77d9c5faed74e429a60c9eaa00b4b84ec1f (diff) | |
download | vdr-6fef98aa971f8ee51b21d95f9fe3f975a13858f1.tar.gz vdr-6fef98aa971f8ee51b21d95f9fe3f975a13858f1.tar.bz2 |
Implemented an "EPG linger time"
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 1.123 2004/02/09 16:57:59 kls Exp $ + * $Id: config.c 1.124 2004/02/21 15:05:40 kls Exp $ */ #include "config.h" @@ -262,6 +262,7 @@ cSetup::cSetup(void) EPGLanguages[0] = -1; EPGScanTimeout = 5; EPGBugfixLevel = 2; + EPGLinger = 0; SVDRPTimeout = 300; ZapTimeout = 3; SortTimers = 1; @@ -406,6 +407,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "EPGLanguages")) return ParseLanguages(Value, EPGLanguages); else if (!strcasecmp(Name, "EPGScanTimeout")) EPGScanTimeout = atoi(Value); else if (!strcasecmp(Name, "EPGBugfixLevel")) EPGBugfixLevel = atoi(Value); + else if (!strcasecmp(Name, "EPGLinger")) EPGLinger = atoi(Value); else if (!strcasecmp(Name, "SVDRPTimeout")) SVDRPTimeout = atoi(Value); else if (!strcasecmp(Name, "ZapTimeout")) ZapTimeout = atoi(Value); else if (!strcasecmp(Name, "SortTimers")) SortTimers = atoi(Value); @@ -457,6 +459,7 @@ bool cSetup::Save(void) StoreLanguages("EPGLanguages", EPGLanguages); Store("EPGScanTimeout", EPGScanTimeout); Store("EPGBugfixLevel", EPGBugfixLevel); + Store("EPGLinger", EPGLinger); Store("SVDRPTimeout", SVDRPTimeout); Store("ZapTimeout", ZapTimeout); Store("SortTimers", SortTimers); |