summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-06-30 17:55:17 +0200
committerlouis <louis.braun@gmx.de>2015-06-30 17:55:17 +0200
commitc341a635d9b0c4dfdd5e2f6ab25f9d94f53ac795 (patch)
tree0051dbf5d3146fd145f154ffb83dfb590d9cc4fe /config.c
parent1e6e2c49cbbec03a4dc661edff04b85f7372cf2f (diff)
downloadvdr-plugin-tvguideng-c341a635d9b0c4dfdd5e2f6ab25f9d94f53ac795.tar.gz
vdr-plugin-tvguideng-c341a635d9b0c4dfdd5e2f6ab25f9d94f53ac795.tar.bz2
made default time before a switchtimer switches configurable
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.c b/config.c
index 46cb3b9..b5aaabb 100644
--- a/config.c
+++ b/config.c
@@ -42,6 +42,7 @@ cTVGuideConfig::cTVGuideConfig(void) {
favStartChannel = 0;
favStopChannel = 0;
useSubtitleRerun = 1;
+ switchMinsBefore = 2;
}
bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
@@ -83,7 +84,8 @@ bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
else if (!strcasecmp(Name, "favLimitChannels")) favLimitChannels = atoi(Value);
else if (!strcasecmp(Name, "favStartChannel")) favStartChannel = atoi(Value);
else if (!strcasecmp(Name, "favStopChannel")) favStopChannel = atoi(Value);
+ else if (!strcasecmp(Name, "switchMinsBefore")) switchMinsBefore = atoi(Value);
else return false;
return true;
-}
+} \ No newline at end of file