Skip to content

Commit

Permalink
Update startwizard.xml file to the latest situations
Browse files Browse the repository at this point in the history
  • Loading branch information
Littlesat committed Dec 19, 2024
1 parent 0cfc4c9 commit 1e39e08
Showing 1 changed file with 49 additions and 3 deletions.
52 changes: 49 additions & 3 deletions data/startwizard.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<wizard>
<step id="start" nextstep="introduction">
<text value="Welcome.\n\nThis start wizard will guide you through the basic setup of your receiver.\nPress the OK button on your remote control to move to the next step."/>
<text value="Welcome.\n\nThis start wizard will guide you through the basic setup of your receiver.\nPress the Blue or OK button on your remote control to move to the next step."/>
<code>
self.clearSelectedKeys()
self.selectKey("OK")
self.selectKey("BLUE")
</code>
</step>
<step id="introduction" >
<text value="Use the up/down keys on your remote control to select an option. After that, press OK."/>
<text value="Use the up/down keys on your remote control to select an option. After that, press Blue or OK."/>
<list>
<listentry caption="Use the wizard to set up basic features" step="network"/>
<listentry caption="Exit the wizard" step="end"/>
Expand All @@ -16,6 +17,8 @@ self.selectKey("OK")
self.clearSelectedKeys()
self.selectKey("UP")
self.selectKey("DOWN")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="network" >
Expand All @@ -28,13 +31,16 @@ self.selectKey("DOWN")
self.clearSelectedKeys()
self.selectKey("UP")
self.selectKey("DOWN")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="update">
<text value="Checking the internet connection"/>
<config screen="InstallWizard" module="InstallWizard" args="0" type="ConfigList"/>
<code>
self.clearSelectedKeys()
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
Expand All @@ -51,6 +57,8 @@ self.condition = not config.misc.installwizard.opkgloaded.value
self.clearSelectedKeys()
self.selectKey("UP")
self.selectKey("DOWN")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="timezone">
Expand All @@ -61,6 +69,8 @@ self.selectKey("DOWN")
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nima">
Expand All @@ -74,6 +84,8 @@ self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimb">
Expand All @@ -87,6 +99,8 @@ self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimc">
Expand All @@ -100,6 +114,8 @@ self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimd">
Expand All @@ -113,6 +129,8 @@ self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nime">
Expand All @@ -126,6 +144,8 @@ self.condition = len(nimmanager.nim_slots) > 4 and not nimmanager.nim_slots[4].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimf">
Expand All @@ -139,6 +159,8 @@ self.condition = len(nimmanager.nim_slots) > 5 and not nimmanager.nim_slots[5].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimg">
Expand All @@ -152,6 +174,8 @@ self.condition = len(nimmanager.nim_slots) > 6 and not nimmanager.nim_slots[6].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimh">
Expand All @@ -165,6 +189,8 @@ self.condition = len(nimmanager.nim_slots) > 7 and not nimmanager.nim_slots[7].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimi">
Expand All @@ -178,6 +204,8 @@ self.condition = len(nimmanager.nim_slots) > 8 and not nimmanager.nim_slots[8].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimj">
Expand All @@ -191,6 +219,8 @@ self.condition = len(nimmanager.nim_slots) > 9 and not nimmanager.nim_slots[9].e
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimq">
Expand All @@ -204,6 +234,8 @@ self.condition = len(nimmanager.nim_slots) > 16 and not nimmanager.nim_slots[16]
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="nimr">
Expand All @@ -217,6 +249,8 @@ self.condition = len(nimmanager.nim_slots) > 17 and not nimmanager.nim_slots[17]
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="channels">
Expand All @@ -230,6 +264,8 @@ self.condition = nimmanager.somethingConnected() and config.misc.installwizard.h
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="fallbacktuner">
Expand All @@ -243,6 +279,8 @@ self.condition = not nimmanager.somethingConnected() and config.misc.installwiza
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="doscan">
Expand All @@ -254,6 +292,9 @@ self.condition = nimmanager.somethingConnected()
<config screen="InstallWizard" module="InstallWizard" args="3" type="ConfigList"/>
<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
Expand All @@ -265,6 +306,9 @@ self.condition = config.misc.installwizard.hasnetwork.value and config.misc.inst
<config screen="InstallWizard" module="InstallWizard" args="2" type="ConfigList"/>
<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
Expand All @@ -273,13 +317,15 @@ self.selectKey("OK")
<config screen="Setup" module="Setup" args="wizardsetup" type="ConfigList"/>
<code>
self.clearSelectedKeys()
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
<step id="end" laststep="true">
<text value="Thank you for using the wizard. Your receiver is now ready for use.\nPress OK to start using your receiver."/>
<text value="Thank you for using the wizard. Your receiver is now ready for use.\nPress Blue or OK to start using your receiver."/>
<code>
self.clearSelectedKeys()
self.selectKey("BLUE")
self.selectKey("OK")
</code>
</step>
Expand Down

2 comments on commit 1e39e08

@littlesat
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe in all the config screens I also need to add up/down

@WanWizard
Copy link
Member

@WanWizard WanWizard commented on 1e39e08 Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To do what? And if you renable OK there, doesn't that block using OK to open popup lists?

Please sign in to comment.