summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-02-10 12:51:07 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-02-10 12:51:07 +0100
commitd34abd6665242550e8aed1c134de7fd83e86bb5b (patch)
treece5417c0eb13e907cc608b8633f9e4efcdba225b /config.c
parentfb37e93b044be4acc92bb8a593a8aa01e5477581 (diff)
downloadvdr-d34abd6665242550e8aed1c134de7fd83e86bb5b.tar.gz
vdr-d34abd6665242550e8aed1c134de7fd83e86bb5b.tar.bz2
Made the function of the Prev/Next keys during replay configurable
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);