From 101de167f410106b669df2114a6ad946586558c4 Mon Sep 17 00:00:00 2001 From: hd75hd Date: Tue, 30 Jan 2018 11:02:29 +0100 Subject: [PATCH] [sleeptimer] change selection max time from 120 to 240 minutes ( second try ) --- lib/python/Components/UsageConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py index c5cf5d78d6c..76426d27c76 100755 --- a/lib/python/Components/UsageConfig.py +++ b/lib/python/Components/UsageConfig.py @@ -311,7 +311,7 @@ def autorecordpathChanged(configElement): choicelist = [("standby", _("Standby")),("deepstandby", _("Deep Standby"))] config.usage.sleep_timer_action = ConfigSelection(default = "deepstandby", choices = choicelist) choicelist = [("0", _("Disabled")),("event_standby", _("Execute after current event"))] - for i in range(900, 7201, 900): + for i in range(900, 14401, 900): m = abs(i / 60) m = ngettext("%d minute", "%d minutes", m) % m choicelist.append((str(i), _("Execute in ") + m))