diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2015-02-09 21:10:31 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2015-02-09 21:10:31 +0100 |
commit | 9f184bb3e2c975fa71dad5a65a7e267ea2b7b424 (patch) | |
tree | 2bd9f7bbd5a06075822c8e23c300b23f6cd3c481 /config.c | |
parent | d7635ebd99454747c26d8ddd067858af75e57de2 (diff) | |
download | skin-flatplus-9f184bb3e2c975fa71dad5a65a7e267ea2b7b424.tar.gz skin-flatplus-9f184bb3e2c975fa71dad5a65a7e267ea2b7b424.tar.bz2 |
add remote timers support
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -95,6 +95,10 @@ cFlatConfig::cFlatConfig(void) { MainMenuWidgetActiveTimerHideEmpty = false; MainMenuWidgetActiveTimerShowActive = true; MainMenuWidgetActiveTimerShowRecording = true; + MainMenuWidgetActiveTimerShowRemoteActive = false; + MainMenuWidgetActiveTimerShowRemoteRecording = false; + + MainMenuWidgetActiveTimerShowRemoteRefreshTime = 60 * 30; // every 30 minutes MainMenuWidgetLastRecShow = false; MainMenuWidgetLastRecPosition = 4; @@ -366,7 +370,9 @@ bool cFlatConfig::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "MainMenuWidgetActiveTimerShowActive") == 0) MainMenuWidgetActiveTimerShowActive = atoi(Value); else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRecording") == 0) MainMenuWidgetActiveTimerShowRecording = atoi(Value); else if (strcmp(Name, "MenuEventViewAllwaysWithDate") == 0) MenuEventViewAllwaysWithDate = atoi(Value); - + else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRemoteActive") == 0) MainMenuWidgetActiveTimerShowRemoteActive = atoi(Value); + else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRemoteRecording") == 0) MainMenuWidgetActiveTimerShowRemoteRecording = atoi(Value); + else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRemoteRefreshTime") == 0) MainMenuWidgetActiveTimerShowRemoteRefreshTime = atoi(Value); else return false; return true; |