From c341a635d9b0c4dfdd5e2f6ab25f9d94f53ac795 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 30 Jun 2015 17:55:17 +0200 Subject: made default time before a switchtimer switches configurable --- config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.c') 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 -- cgit v1.2.3