From b88e3d9e71384a67b6e988fb6b502ec78405e248 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 23 Aug 2023 22:19:01 +0800 Subject: [PATCH] screensavers saving added --- server.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/server.py b/server.py index 4596dea..c281391 100755 --- a/server.py +++ b/server.py @@ -1682,6 +1682,27 @@ def saveSchedulerSettings(): scheduler_settings['brightness4']['minute'] = input_settings['brightness4_minute'] scheduler_settings['brightness4']['enabled'] = input_settings['brightness4_enabled'] scheduler_settings['brightness4']['bright'] = input_settings['brightness4_bright'] + + scheduler_settings['screensaver1']['hour'] = input_settings['screensaver1_hour'] + scheduler_settings['screensaver1']['minute'] = input_settings['screensaver1_minute'] + scheduler_settings['screensaver1']['endhour'] = input_settings['screensaver1_endhour'] + scheduler_settings['screensaver1']['endminute'] = input_settings['screensaver1_endminute'] + scheduler_settings['screensaver1']['type'] = input_settings['screensaver1_type'] + scheduler_settings['screensaver1']['enabled'] = input_settings['screensaver1_enabled'] + + scheduler_settings['screensaver2']['hour'] = input_settings['screensaver2_hour'] + scheduler_settings['screensaver2']['minute'] = input_settings['screensaver2_minute'] + scheduler_settings['screensaver2']['endhour'] = input_settings['screensaver2_endhour'] + scheduler_settings['screensaver2']['endminute'] = input_settings['screensaver2_endminute'] + scheduler_settings['screensaver2']['type'] = input_settings['screensaver2_type'] + scheduler_settings['screensaver2']['enabled'] = input_settings['screensaver2_enabled'] + + scheduler_settings['screensaver3']['hour'] = input_settings['screensaver3_hour'] + scheduler_settings['screensaver3']['minute'] = input_settings['screensaver3_minute'] + scheduler_settings['screensaver3']['endhour'] = input_settings['screensaver3_endhour'] + scheduler_settings['screensaver3']['endminute'] = input_settings['screensaver3_endminute'] + scheduler_settings['screensaver3']['type'] = input_settings['screensaver3_type'] + scheduler_settings['screensaver3']['enabled'] = input_settings['screensaver3_enabled'] scheduler_settings['timezone'] = input_settings['timezone']