don't display tuner setup for empty tuner slots
[enigma2.git] / data / startwizard.xml
1 <wizard>
2                 <step id="welcome">
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." />
4                         <code>
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()
11                         </code>
12                 </step>
13                 <step>
14                         <text value="Use 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["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()
28                         </code>
29                 </step>
30                 <step id="nima">
31                         <condition>
32 from Components.NimManager import nimmanager
33 self.condition = nimmanager.getNimType(0) != nimmanager.nimType["empty/unknown"]
34                         </condition>
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" />
37                         <code>
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()
46                         </code>
47                 </step>
48                 <step id="nimb">
49                         <condition>
50 from Components.NimManager import nimmanager
51 self.condition = nimmanager.getNimType(1) != nimmanager.nimType["empty/unknown"]
52                         </condition>
53                         <text value="Please set up tuner B" />
54                         <config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
55                         <code>
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()
64                         </code>
65                 </step>
66                 <step id="scanquestion">
67                         <text value="Do you want to do a service scan?" />
68                         <code>
69 self["rc"].moveTo(800, 50, 1)
70 self["rc"].startMoving()
71 self["arrowup"].moveTo(800, 310, 1)
72 self["arrowup"].startMoving()
73 self["arrowup2"].moveTo(800, 310, 1)
74 self["arrowup2"].startMoving()
75                         </code>
76                         <list>
77                                 <listentry caption="Yes, do an automatic scan now" step="scan" />
78                                 <listentry caption="Yes, do a manual scan now" step="manualscan" />
79                                 <listentry caption="No, scan later manually" step="end" />
80                         </list>
81                 </step>
82                 <step id="scan" nextstep="end">
83                         <text value="What do you want to scan?" />
84                         <config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
85                 </step>
86                 <step id="manualscan">
87                         <text value="What do you want to scan?" />
88                         <config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
89                 </step>
90                 <step id="nextscan">
91                         <text value="Do you want to do another manual service scan?" />
92                         <list>
93                                 <listentry caption="Yes, do another manual scan now" step="manualscan" />
94                                 <listentry caption="No, scan later manually" step="end" />
95                         </list>
96                 </step>
97                 <step id="end">
98                         <text value="Thank you for using the wizard. Your box is now ready to use.\nPlease press OK to start using you Dreambox." />
99                 </step>
100 </wizard>