2 <step id="welcome" nextstep="introduction">
3 <text value="Welcome.\n\nThis start wizard will guide you through the basic setup of your Dreambox.\nPress the OK button on your remote control to move to the next step." />
5 self["arrowdown"].moveTo(557, 232, 1)
6 self["arrowdown"].startMoving()
7 self["arrowup"].moveTo(800, 232, 1)
8 self["arrowup"].startMoving()
9 self["rc"].moveTo(500, 50, 1)
10 self["rc"].startMoving()
13 <step id="introduction" >
14 <text value="Use the up/down keys on your remote control to select an option. After that, press OK." />
16 <listentry caption="Use wizard to set up basic features" step="nima" />
17 <listentry caption="Exit wizard" step="end" />
20 self["arrowup2"].moveTo(800, 320, 1)
21 self["arrowup2"].startMoving()
22 self["arrowdown"].moveTo(557, 200, 1)
23 self["arrowup"].moveTo(557, 355, 1)
24 self["arrowdown"].startMoving()
25 self["arrowup"].startMoving()
26 self["rc"].moveTo(500, 50, 1)
27 self["rc"].startMoving()
32 from Components.NimManager import nimmanager
33 self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty
35 <text value="Use the left and right buttons to change an option.\n\nPlease set up tuner A" />
36 <config screen="NimSetup" module="Satconfig" args="0" type="ConfigList" />
38 self["rc"].moveTo(500, 50, 1)
39 self["rc"].startMoving()
40 self["arrowup"].moveTo(525, 320, 1)
41 self["arrowup"].startMoving()
42 self["arrowup2"].moveTo(590, 320, 1)
43 self["arrowup2"].startMoving()
44 self["arrowdown"].moveTo(740, 355, 1)
45 self["arrowdown"].startMoving()
50 from Components.NimManager import nimmanager
51 self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty
53 <text value="Please set up tuner B" />
54 <config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
56 self["rc"].moveTo(500, 50, 1)
57 self["rc"].startMoving()
58 self["arrowup"].moveTo(525, 320, 1)
59 self["arrowup"].startMoving()
60 self["arrowup2"].moveTo(590, 320, 1)
61 self["arrowup2"].startMoving()
62 self["arrowdown"].moveTo(740, 355, 1)
63 self["arrowdown"].startMoving()
68 from Components.NimManager import nimmanager
69 self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty
71 <text value="Please set up tuner C" />
72 <config screen="NimSetup" module="Satconfig" args="2" type="ConfigList" />
74 self["rc"].moveTo(500, 50, 1)
75 self["rc"].startMoving()
76 self["arrowup"].moveTo(525, 320, 1)
77 self["arrowup"].startMoving()
78 self["arrowup2"].moveTo(590, 320, 1)
79 self["arrowup2"].startMoving()
80 self["arrowdown"].moveTo(740, 355, 1)
81 self["arrowdown"].startMoving()
86 from Components.NimManager import nimmanager
87 self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty
89 <text value="Please set up tuner D" />
90 <config screen="NimSetup" module="Satconfig" args="3" type="ConfigList" />
92 self["rc"].moveTo(500, 50, 1)
93 self["rc"].startMoving()
94 self["arrowup"].moveTo(525, 320, 1)
95 self["arrowup"].startMoving()
96 self["arrowup2"].moveTo(590, 320, 1)
97 self["arrowup2"].startMoving()
98 self["arrowdown"].moveTo(740, 355, 1)
99 self["arrowdown"].startMoving()
102 <step id="scanquestion">
103 <text value="Do you want to do a service scan?" />
105 self["rc"].moveTo(800, 50, 1)
106 self["rc"].startMoving()
107 self["arrowup"].moveTo(800, 310, 1)
108 self["arrowup"].startMoving()
109 self["arrowup2"].moveTo(800, 310, 1)
110 self["arrowup2"].startMoving()
113 <listentry caption="Yes, do an automatic scan now" step="scan" />
114 <listentry caption="Yes, do a manual scan now" step="manualscan" />
115 <listentry caption="No, scan later manually" step="parentalcontrol" />
118 <step id="scan" nextstep="parentalcontrol">
119 <text value="What do you want to scan?" />
120 <config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
122 <step id="manualscan">
123 <text value="What do you want to scan?" />
124 <config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
127 <text value="Do you want to do another manual service scan?" />
129 <listentry caption="Yes, do another manual scan now" step="manualscan" />
130 <listentry caption="No, scan later manually" step="parentalcontrol" />
133 <step id="parentalcontrol">
134 <text value="Do you want to enable the parental control feature on your dreambox?" />
136 <listentry caption="Yes" step="parentalsetup" />
137 <listentry caption="No" step="end" />
140 if self["list"].getSelectedIndex() == 0:
141 config.ParentalControl.configured.value = True
143 config.ParentalControl.configured.value = False
144 config.ParentalControl.configured.save()
147 <step id="parentalsetup">
148 <text value="You need to set a pin code and hide it from your children.\n\nDo you want to set the pin now?" />
150 <listentry caption="Yes" step="finishparentalsetup" />
151 <listentry caption="No" step="finishparentalsetup" />
154 from ParentalControlSetup import ParentalControlChangePin
155 if self["list"].getSelectedIndex() == 0:
156 self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))
159 <step id="finishparentalsetup">
161 config.ParentalControl.setuppinactive.value = True
162 config.ParentalControl.setuppinactive.save()
163 config.ParentalControl.servicepinactive.value = True
164 config.ParentalControl.servicepinactive.save()
165 config.ParentalControl.setuppin.value = config.ParentalControl.servicepin[0].value
166 config.ParentalControl.setuppin.save()
169 <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." />
172 <text value="Thank you for using the wizard. Your box is now ready to use.\nPlease press OK to start using you Dreambox." />