3 <text value="Welcome.\n\nThis Wizard will help you to create a new AutoTimer by providing descriptions for common settings." />
5 <listentry caption="Create a new AutoTimer." step="conf1" />
6 <listentry caption="Abort this Wizard." step="abort" />
9 self.clearSelectedKeys()
14 <!-- Name / Match / Enabled / Justplay -->
15 <step id="conf1" nextstep="conf2">
16 <text value="You can set the basic properties of an AutoTimer here.\nWhile 'Name' is just a human-readable name displayed in the Overview, 'Match in title' is what is looked for in the EPG." />
17 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
19 self.clearSelectedKeys()
22 <!-- A sanity check is done in selectionMade combined with some helper versions of conf2 -->
25 <!-- Sanity check basic properties
26 They ruin the wizards history for now but better than nothing :D -->
27 <step id="conf2" nextstep="conf1">
29 self.condition = self.emptyMatch
31 <text value="You did not provide a valid 'Match in title' Attribute for your new AutoTimer.\nAs this is a mandatory Attribute you cannot continue without doing so." />
33 self.clearSelectedKeys()
40 self.condition = self.trailingWhitespacesMatch
42 <text value="Your 'Match in title' Attribute ends with a Whitespace.\nPlease confirm if this was intentional, if not they will be removed." />
44 <listentry caption="Yes, keep them." step="conf2" />
45 <listentry caption="No, remove them." step="removeTrailingWhitespaces" />
48 self.clearSelectedKeys()
52 self.maybeRemoveWhitespaces()
57 <step id="conf2" nextstep="conf4">
59 self.condition = not self.emptyMatch and not self.trailingWhitespacesMatch
61 <text value="The Timespan of an AutoTimer is the first 'advanced' attribute. If a timespan is specified an event will only match this AutoTimer if it lies inside of this timespan." />
62 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
64 self.clearSelectedKeys()
66 self.selectKey("LEFT")
67 self.selectKey("RIGHT")
71 <!-- Offset / AfterEvent / Match --> <!-- CURRENTLY INACTIVE -->
72 <step id="conf3" nextstep="conf4">
74 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
76 self.clearSelectedKeys()
81 <!-- Services/Bouquets -->
82 <step id="conf4" nextstep="conf5">
83 <text value="It's possible to restrict an AutoTimer to certain Services or Bouquets or to deny specific ones.\nAn Event will only match this AutoTimer if it's on a specific and not denied Service (inside a Bouquet).\nPress BLUE to add a new restriction and YELLOW to remove the selected one." />
84 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
86 self.clearSelectedKeys()
87 self.selectKey("LEFT")
88 self.selectKey("RIGHT")
89 self.selectKey("BLUE")
90 self.selectKey("YELLOW")
94 <!-- Include / Exclude -->
95 <step id="conf5" nextstep="justbeforeend">
96 <text value="Filters are another powerful tool when matching events. An AutoTimer can be restricted to certain Weekdays or only match an event with a text inside eg it's Description.\nPress BLUE to add a new restriction and YELLOW to remove the selected one." />
97 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
99 self.clearSelectedKeys()
100 self.selectKey("LEFT")
101 self.selectKey("RIGHT")
102 self.selectKey("BLUE")
103 self.selectKey("YELLOW")
107 <!-- Maxduration / avoidDuplicate / Destination ?! -->
109 <step id="conf6" nextstep="end">
111 <config type="dynamic" source="getConfigList" evaluation="selectionMade" />
113 self.clearSelectedKeys()
119 <step id="justbeforeend">
120 <text value="You successfully configured a new AutoTimer. Do you want to add it to the list?\n\nYou can go back a step by pressing EXIT on your remote." />
122 <listentry caption="Yes" step="end" />
123 <listentry caption="No" step="abort" />
126 self.clearSelectedKeys()
128 self.selectKey("EXIT")
133 <text value="The Timer will not be added to the List.\nPlease press OK to close this Wizard." />
135 self.clearSelectedKeys()
144 <text value="Thank you for using the wizard. Your new AutoTimer has been added to the List.\nPlease press OK to continue." />
146 self.clearSelectedKeys()