diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-05 11:49:33 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-05 11:49:33 +0100 |
commit | c005465d9005c7b8918564055639c1766c099121 (patch) | |
tree | f332d6c61391a3848dc181a08a9cc3981e898992 /config.c | |
parent | 0f7b73016add926ed86131e553004c85e294218f (diff) | |
download | vdr-c005465d9005c7b8918564055639c1766c099121.tar.gz vdr-c005465d9005c7b8918564055639c1766c099121.tar.bz2 |
The new option "Setup/Replay/Progress display time" can be used to activate automatically displaying the progress display whenever replay of a recording is started
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 2.29 2012/12/05 09:56:02 kls Exp $ + * $Id: config.c 2.30 2012/12/05 11:33:14 kls Exp $ */ #include "config.h" @@ -458,6 +458,7 @@ cSetup::cSetup(void) MultiSpeedMode = 0; ShowReplayMode = 0; ShowRemainingTime = 0; + ProgressDisplayTime = 0; PauseOnMarkSet = 0; ResumeID = 0; CurrentChannel = -1; @@ -659,6 +660,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "MultiSpeedMode")) MultiSpeedMode = atoi(Value); else if (!strcasecmp(Name, "ShowReplayMode")) ShowReplayMode = atoi(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, "ResumeID")) ResumeID = atoi(Value); else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value); @@ -763,6 +765,7 @@ bool cSetup::Save(void) Store("MultiSpeedMode", MultiSpeedMode); Store("ShowReplayMode", ShowReplayMode); Store("ShowRemainingTime", ShowRemainingTime); + Store("ProgressDisplayTime",ProgressDisplayTime); Store("PauseOnMarkSet", PauseOnMarkSet); Store("ResumeID", ResumeID); Store("CurrentChannel", CurrentChannel); |