4.2.0r15
[enigma2.git] / usr / share / enigma2 / startwizard.xml
1 <wizard nextstepanimation="wizard_next" previousstepanimation="wizard_previous">
2                 <step id="start" nextstep="introduction">
3                         <short_title value="Language selection" />
4                         <text value="Please use the UP and DOWN keys to select your language. Afterwards press the OK button." />
5                         <multicontentlist type="dynamic" setfunction="setLanguageList" onselect="onLanguageSelect" evaluation="languageSave" />
6                         <code>
7 self.clearSelectedKeys()
8 self.selectKey("UP")
9 self.selectKey("DOWN")
10                         </code>
11                 </step>
12                 <step id="introduction" >
13                         <short_title value="Startwizard" />
14                         <text value="Welcome.\n\nThis start wizard will guide you through the basic setup of your Dreambox.\n\nUse the up/down keys on your remote control to select an option. After that, press OK." />
15                         <list>
16                                 <listentry caption="Use wizard to set up basic features" step="nima" />
17                                 <listentry caption="Exit wizard" step="end" />
18                         </list>
19                         <code>
20 self.clearSelectedKeys()
21 self.selectKey("UP")
22 self.selectKey("DOWN")
23                         </code>
24                 </step>
25                 <step id="nima">
26                         <condition>
27 from Components.config import config
28 from Components.NimManager import nimmanager
29 self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty and config.misc.startwizard.shownimconfig.value
30                         </condition>
31                         <text dynamictext="setTunerText" />
32                         <short_title value="Tuner A" />
33                         <config screen="NimSetup" module="Satconfig" args="0" type="ConfigList" />
34                         <code>
35 self.clearSelectedKeys()
36 self.selectKey("LEFT")
37 self.selectKey("RIGHT")
38                         </code>
39                 </step>
40                 <step id="nimb">
41                         <condition>
42 from Components.config import config
43 from Components.NimManager import nimmanager
44 self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty and config.misc.startwizard.shownimconfig.value
45                         </condition>
46                         <text dynamictext="setTunerText" />
47                         <short_title value="Tuner B" />
48                         <config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
49                         <code>
50 self.clearSelectedKeys()
51 self.selectKey("LEFT")
52 self.selectKey("RIGHT")
53                         </code>
54                 </step>
55                 <step id="nimc">
56                         <condition>
57 from Components.config import config
58 from Components.NimManager import nimmanager
59 self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and config.misc.startwizard.shownimconfig.value
60                         </condition>
61                         <text dynamictext="setTunerText" />
62                         <short_title value="Tuner C" />
63                         <config screen="NimSetup" module="Satconfig" args="2" type="ConfigList" />
64                         <code>
65 self.clearSelectedKeys()
66 self.selectKey("LEFT")
67 self.selectKey("RIGHT")
68                         </code>
69                 </step>
70                 <step id="nimd">
71                         <condition>
72 from Components.config import config
73 from Components.NimManager import nimmanager
74 self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and config.misc.startwizard.shownimconfig.value
75                         </condition>
76                         <text dynamictext="setTunerText" />
77                         <short_title value="Tuner D" />
78                         <config screen="NimSetup" module="Satconfig" args="3" type="ConfigList" />
79                         <code>
80 self.clearSelectedKeys()
81 self.selectKey("LEFT")
82 self.selectKey("RIGHT")
83                         </code>
84                 </step>
85                 <step id="satlistsquestion">
86                         <text value="Do you want to install default sat lists?" />
87                         <short_title value="Sat lists" />
88                         <condition>
89 from Components.config import config
90 from Components.NimManager import nimmanager
91 self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
92                         </condition>
93                         <code>
94 self.hideRc()
95                         </code>
96                         <list>
97                                 <listentry caption="Yes, install default servicelists" step="startdefaultlists" />
98                                 <listentry caption="No, but do an automatic scan now" step="scan" />
99                                 <listentry caption="No, but do a manual scan now" step="manualscan" />
100                                 <listentry caption="No, proceed with empty service list" step="setautomaticstandby" />
101                         </list>
102                 </step>
103                 <step id="scan" nextstep="setautomaticstandby">
104                         <condition>
105 from Components.config import config
106 from Components.NimManager import nimmanager
107 self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
108                         </condition>                    
109                         <text value="What do you want to scan?" />
110                         <short_title value="Simple Scan" />
111                         <config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
112                 </step>
113                 <step id="manualscan">
114                         <condition>
115 from Components.config import config
116 from Components.NimManager import nimmanager
117 self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
118                         </condition>
119                         <text value="What do you want to scan?" />
120                         <short_title value="Manual scan" />
121                         <config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
122                 </step>
123                 <step id="nextscan">
124                         <condition>
125 from Components.config import config
126 from Components.NimManager import nimmanager
127 self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected()
128                         </condition>
129                         <text value="Do you want to do another manual service scan?" />
130                         <short_title value="Manual scan" />
131                         <list>
132                                 <listentry caption="Yes, do another manual scan now" step="manualscan" />
133                                 <listentry caption="No, scan later manually" step="setautomaticstandby" />
134                         </list>
135                 </step>
136                 <step id="setautomaticstandby">
137                         <text value="Automatic standby mode\n\nIf you don't press any button on the remote control, your Dreambox can enter the standby mode automatically. You can choose the period after which the standby mode will be activated or disable this functionality now." />
138                         <short_title value="Auto Standby" />
139                         <list type="config" configelement="config.usage.inactivity_shutdown" />
140                         <code pos="after">
141 config.usage.inactivity_shutdown_initialized.value = True
142 config.usage.inactivity_shutdown_initialized.save()
143                         </code>
144                 </step>
145                 <step id="enableparentalcontrol">
146                         <text value="Do you want to enable the parental control feature on your dreambox?" />
147                         <short_title value="ParentControl" />
148                         <list>
149                                 <listentry caption="Disable Parental Control" step="expert" />
150                                 <listentry caption="Enable Parental Control" step="parentalsetup" />
151                         </list>
152                         <code pos="after">
153 from Components.config import config
154 if self["list"].index == 0:
155         config.ParentalControl.configured.value = True
156 else:
157         config.ParentalControl.configured.value = False
158 config.ParentalControl.configured.save()
159                         </code>
160                 </step>
161                 <step id="parentalsetup">
162                         <text value="You need to set a PIN code and hide it from your children.\n\nDo you want to set the pin now?" />
163                         <short_title value="Parent PIN" />
164                         <list>
165                                 <listentry caption="Yes" step="finishparentalsetup" />
166                                 <listentry caption="No" step="warnpin" />
167                         </list>
168                         <code pos="after">
169 from Components.config import config
170 from ParentalControlSetup import ParentalControlChangePin
171 if self["list"].index == 0:
172         self.openScreen(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))
173                         </code>
174                 </step>
175                 <step id="warnpin">
176                         <text value="Please be aware, that anyone can disable the parental control, if you have not set a PIN." />
177                         <short_title value="PIN WARNING" />
178                 </step>
179                 <step id="finishparentalsetup">
180                         <code>
181 from Components.config import config
182 if config.ParentalControl.setuppin.value == "aaaa":
183         config.ParentalControl.setuppinactive.value = False
184 else:
185         config.ParentalControl.setuppinactive.value = True
186 config.ParentalControl.setuppinactive.save()
187 config.ParentalControl.servicepinactive.value = True
188 config.ParentalControl.servicepinactive.save()
189 config.ParentalControl.setuppin.value = config.ParentalControl.servicepin[0].value
190 config.ParentalControl.setuppin.save()
191                         </code>
192
193                         <text value="After the start wizard is completed, you need to protect single services. Refer to your dreambox's manual on how to do that." />
194                         <short_title value="ParentControl Finished" />
195                 </step>
196                 <step id="expert">
197                         <text value="Your Dreambox offers three levels of configuration options:\n\nSimple - We suggest this level if this is your first contact with a Dreambox.\nIntermediate - This level enables you to change some more options, mainly the graphical user interface and the behaviour of your Dreambox.\nExpert - This gives you full control over all available settings of your Dreambox.\n\nWarning: Higher levels may lead to increased usage complexity." />
198                         <short_title value="User level" />
199                         <list type="config" configelement="config.usage.setup_level" />
200                 </step>
201                 <step id="multibouquets">
202                         <condition>
203 from Components.config import config
204 self.condition = config.usage.setup_level.value != "simple" 
205                         </condition>
206                         <text value="Multiple Favourites\n\nYour Dreambox offers a multiple favourites feature. If this feature is active, you can manage multiple favourite lists of TV and radio services. If deactivated, only one favourite list is available which makes navigation a bit easier.\n\nWould you like to activate the multiple favourites feature now?" />
207                         <short_title value="Favourites" />
208                         <list type="config" configelement="config.usage.multibouquet" />
209                 </step>
210                 <step id="end" laststep="true">
211                         <condition>
212 self.condition = self.isLastWizard
213                         </condition>
214                         <text value="Thank you for using the wizard. Your box is now ready to use.\nPlease press OK to start using your Dreambox." />
215                         <short_title value="Finished" />
216                 </step>
217 </wizard>