diff options
author | louis <louis.braun@gmx.de> | 2015-06-30 17:55:17 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-06-30 17:55:17 +0200 |
commit | c341a635d9b0c4dfdd5e2f6ab25f9d94f53ac795 (patch) | |
tree | 0051dbf5d3146fd145f154ffb83dfb590d9cc4fe /config.c | |
parent | 1e6e2c49cbbec03a4dc661edff04b85f7372cf2f (diff) | |
download | vdr-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |