diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-11 08:29:41 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-11 08:29:41 +0200 |
commit | f1bef11f45f4e3450b51d4c4b5ccf4f52e7039e9 (patch) | |
tree | 114d602c8637ed6744007109579ca5b278434fea /config.c | |
parent | 4e46d2bb3bbcaa72bc106170d9a7dd0ec77ddd0d (diff) | |
download | vdr-f1bef11f45f4e3450b51d4c4b5ccf4f52e7039e9.tar.gz vdr-f1bef11f45f4e3450b51d4c4b5ccf4f52e7039e9.tar.bz2 |
Implemented the setup option "Recording/Record key handling"
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 4.2 2015/09/06 13:17:19 kls Exp $ + * $Id: config.c 4.3 2015/09/11 08:08:05 kls Exp $ */ #include "config.h" @@ -421,6 +421,7 @@ cSetup::cSetup(void) RcRepeatDelta = 100; DefaultPriority = 50; DefaultLifetime = MAXLIFETIME; + RecordKeyHandling = 2; PauseKeyHandling = 2; PausePriority = 10; PauseLifetime = 1; @@ -647,6 +648,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "RcRepeatDelta")) RcRepeatDelta = atoi(Value); else if (!strcasecmp(Name, "DefaultPriority")) DefaultPriority = atoi(Value); else if (!strcasecmp(Name, "DefaultLifetime")) DefaultLifetime = atoi(Value); + else if (!strcasecmp(Name, "RecordKeyHandling")) RecordKeyHandling = atoi(Value); else if (!strcasecmp(Name, "PauseKeyHandling")) PauseKeyHandling = atoi(Value); else if (!strcasecmp(Name, "PausePriority")) PausePriority = atoi(Value); else if (!strcasecmp(Name, "PauseLifetime")) PauseLifetime = atoi(Value); @@ -776,6 +778,7 @@ bool cSetup::Save(void) Store("RcRepeatDelta", RcRepeatDelta); Store("DefaultPriority", DefaultPriority); Store("DefaultLifetime", DefaultLifetime); + Store("RecordKeyHandling", RecordKeyHandling); Store("PauseKeyHandling", PauseKeyHandling); Store("PausePriority", PausePriority); Store("PauseLifetime", PauseLifetime); |