From d34abd6665242550e8aed1c134de7fd83e86bb5b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 10 Feb 2015 12:51:07 +0100 Subject: Made the function of the Prev/Next keys during replay configurable --- config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.c') 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); -- cgit v1.2.3