diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-26 10:20:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-26 10:20:51 +0100 |
commit | 4fcd3ba56e37ced65a7591d9165322154ed86fce (patch) | |
tree | 64aa2a908cb80591e5823fbfeef46f960f445b2e /config.c | |
parent | 77c0de71c48759c9eb7b9e23e409cdf965075d40 (diff) | |
download | vdr-4fcd3ba56e37ced65a7591d9165322154ed86fce.tar.gz vdr-4fcd3ba56e37ced65a7591d9165322154ed86fce.tar.bz2 |
Added functionality based on the "jumpplay" patch
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 11 |
1 files changed, 10 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 3.3 2015/01/12 14:32:17 kls Exp $ + * $Id: config.c 3.4 2015/01/25 14:17:45 kls Exp $ */ #include "config.h" @@ -470,6 +470,9 @@ cSetup::cSetup(void) ShowRemainingTime = 0; ProgressDisplayTime = 0; PauseOnMarkSet = 0; + PauseOnMarkJump = 1; + SkipEdited = 0; + PauseAtLastMark = 0; ResumeID = 0; CurrentChannel = -1; CurrentVolume = MAXVOLUME; @@ -683,6 +686,9 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "ShowRemainingTime")) ShowRemainingTime = atoi(Value); else if (!strcasecmp(Name, "ProgressDisplayTime")) ProgressDisplayTime= atoi(Value); else if (!strcasecmp(Name, "PauseOnMarkSet")) PauseOnMarkSet = atoi(Value); + else if (!strcasecmp(Name, "PauseOnMarkJump")) PauseOnMarkJump = atoi(Value); + else if (!strcasecmp(Name, "SkipEdited")) SkipEdited = atoi(Value); + else if (!strcasecmp(Name, "PauseAtLastMark")) PauseAtLastMark = atoi(Value); else if (!strcasecmp(Name, "ResumeID")) ResumeID = atoi(Value); else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value); else if (!strcasecmp(Name, "CurrentVolume")) CurrentVolume = atoi(Value); @@ -800,6 +806,9 @@ bool cSetup::Save(void) Store("ShowRemainingTime", ShowRemainingTime); Store("ProgressDisplayTime",ProgressDisplayTime); Store("PauseOnMarkSet", PauseOnMarkSet); + Store("PauseOnMarkJump", PauseOnMarkJump); + Store("SkipEdited", SkipEdited); + Store("PauseAtLastMark", PauseAtLastMark); Store("ResumeID", ResumeID); Store("CurrentChannel", CurrentChannel); Store("CurrentVolume", CurrentVolume); |