You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/setup.xml
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -891,11 +891,23 @@
891
891
<itemlevel="0"text="Sunday"description="Select if this timer activates on a Sunday.">self.timerDay['Sun']</item>
892
892
</if>
893
893
</if>
894
-
<itemlevel="0"text="Start time"description="Select the time when this timer will start.">self.timerStartTime</item>
895
-
<itemlevel="0"text="Set end time"description="Select 'Yes' if an end time is required for this timer.">self.timerSetEndTime</item>
896
-
<ifconditional="self.timerSetEndTime.value">
897
-
<itemlevel="0"text="End time"description="Select the time when this timer should end.">self.timerEndTime</item>
894
+
<ifconditional="self.isFunctionTimer()">
895
+
<itemlevel="0"text="Timer start window"description="Select the start time after which this timer can be activated. Before this time the timer won't be activated even if other conditions are met.">self.timerStartTime</item>
896
+
<itemlevel="0"text="Timer end window"description="Select the end time before which this timer can be activated. After this time the timer won't be activated even if other conditions are met.">self.timerEndTime</item>
898
897
<itemlevel="0"text="After event"description="Select the action to perform when the timer ends.">self.timerAfterEvent</item>
898
+
<else />
899
+
<itemlevel="0"text="Start time"description="Select the time when this timer will start.">self.timerStartTime</item>
900
+
<itemlevel="0"text="Set end time"description="Select 'Yes' if an end time is required for this timer."conditional="not self.isFunctionTimer()">self.timerSetEndTime</item>
901
+
<ifconditional="self.timerSetEndTime.value">
902
+
<itemlevel="0"text="End time"description="Select the time when this timer should end.">self.timerEndTime</item>
903
+
<itemlevel="0"text="After event"description="Select the action to perform when the timer ends.">self.timerAfterEvent</item>
904
+
</if>
905
+
</if>
906
+
<ifconditional="self.isFunctionTimer()">
907
+
<itemlevel="0"text="Standby execution"description="Select how the schedule is handled with respect to Standby mode.">self.timerFunctionStandby</item>
908
+
<itemlevel="0"text="Start retry"description="Select 'Yes' to reschedule the task to when the receiver goes in to/out of Standby mode. The state change must happen within the task schedule window or else the task will not be run."conditional="self.timerFunctionStandby.value > 0">self.timerFunctionStandbyRetry</item>
909
+
<itemlevel="0"text="Error Retry count"description="Select the number of times to retry a task if an error occurs when running the task.">self.timerFunctionRetryCount</item>
910
+
<itemlevel="0"text="Error Retry delay"description="Select the amount of time to wait, after a task error, before trying to run the task again."conditional="self.timerFunctionRetryCount.value > 0">self.timerFunctionRetryDelay</item>
#if "isThreaded" in functionTimerEntry and not functionTimerEntry["isThreaded"]:
832
-
# self.is_threaded = False
833
-
#elif "isScreen" in functionTimerEntry and not functionTimerEntry["isScreen"]:
834
-
# self.is_threaded = False
835
-
#self.execnotifyafter = self.notify_after_t
836
-
#if self.notify_t and not Screens.Standby.inStandby:
837
-
# Notifications.AddNotificationWithCallback(self.askForScheduledTimer, MessageBox, _("An scheduled task wants to execute following function at your STB\n\n %s \n\nContinue?") % functionTimerEntry["name"], timeout = 20)
print(f"[Scheduler] DEBUG functionTimerCallback retry {self.functionRetryCounter} of {self.functionRetryCount} after {self.functionRetryDelay} minutes")
0 commit comments