summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index 9c1a5e74..9c6b71e5 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 3.9 2015/02/10 11:43:11 kls Exp $
+ * $Id: config.c 3.10 2015/02/10 12:24:13 kls Exp $
*/
#include "config.h"
@@ -476,6 +476,7 @@ cSetup::cSetup(void)
AdaptiveSkipInitial = 120;
AdaptiveSkipTimeout = 3;
AdaptiveSkipAlternate = 0;
+ AdaptiveSkipPrevNext = 0;
SkipSeconds = 60;
SkipSecondsRepeat = 60;
ResumeID = 0;
@@ -697,6 +698,7 @@ bool cSetup::Parse(const char *Name, const char *Value)
else if (!strcasecmp(Name, "AdaptiveSkipInitial")) AdaptiveSkipInitial= atoi(Value);
else if (!strcasecmp(Name, "AdaptiveSkipTimeout")) AdaptiveSkipTimeout= atoi(Value);
else if (!strcasecmp(Name, "AdaptiveSkipAlternate")) AdaptiveSkipAlternate = atoi(Value);
+ else if (!strcasecmp(Name, "AdaptiveSkipPrevNext")) AdaptiveSkipPrevNext = atoi(Value);
else if (!strcasecmp(Name, "SkipSeconds")) SkipSeconds = atoi(Value);
else if (!strcasecmp(Name, "SkipSecondsRepeat")) SkipSecondsRepeat = atoi(Value);
else if (!strcasecmp(Name, "ResumeID")) ResumeID = atoi(Value);
@@ -822,6 +824,7 @@ bool cSetup::Save(void)
Store("AdaptiveSkipInitial",AdaptiveSkipInitial);
Store("AdaptiveSkipTimeout",AdaptiveSkipTimeout);
Store("AdaptiveSkipAlternate", AdaptiveSkipAlternate);
+ Store("AdaptiveSkipPrevNext", AdaptiveSkipPrevNext);
Store("SkipSeconds", SkipSeconds);
Store("SkipSecondsRepeat", SkipSecondsRepeat);
Store("ResumeID", ResumeID);