<!--suppress XmlUnboundNsPrefix -->
<wizard>
		<step id="start" nextstep="introduction">
			<text value="Welcome.\n\nThis start wizard will guide you through the basic setup of your %s %s.\nPress the OK button on your remote control to move to the next step." />
			<displaytext value="Welcome.\n\nThis start wizard will guide you through the basic setup of your %s %s.\nPress the OK button on your remote control to move to the next step." />
			<code>
self.clearSelectedKeys()
self.selectKey("OK")
			</code>
		</step>
		<step id="introduction" >
			<text value="Use the up/down keys on your remote control to select an option. After that, press OK." />
			<displaytext value="Use the up/down keys on your remote control to select an option. After that, press OK." />
			<list>
				<listentry caption="Use the wizard to set up basic features" step="nima" />
				<listentry caption="Exit the wizard" step="end" />
			</list>
			<code>
self.clearSelectedKeys()
self.selectKey("UP")
self.selectKey("DOWN")
			</code>
		</step>
		<step id="network" >
			<text value="Please connect your %s %s to the internet" />
			<displaytext value="Please connect your %s %s to the internet" />
			<list>
				<listentry caption="Check the internet connection" step="update" />
				<listentry caption="Skip internet connection check (disables automatic package installation)" step="nima" />
			</list>
			<code>
self.clearSelectedKeys()
self.selectKey("UP")
self.selectKey("DOWN")
			</code>
		</step>
		<step id="update">
			<text value="Checking the internet connection" />
			<displaytext value="Checking the internet connection" />
			<config screen="InstallWizard" module="InstallWizard" args="0" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("OK")
			</code>
		</step>
		<step id="networkfailed" >
			<condition>
self.condition = not config.misc.installwizard.ipkgloaded.value
			</condition>
			<text value="Your %s %s does not have an internet connection" />
			<displaytext value="Your %s %s is not connected to the internet" />
			<list>
				<listentry caption="Check the internet connection again" step="update" />
				<listentry caption="Skip internet connection check (disables automatic package installation)" step="nima" />
			</list>
			<code>
self.clearSelectedKeys()
self.selectKey("UP")
self.selectKey("DOWN")
			</code>
		</step>
		<step id="nima">
			<condition>
from Components.NimManager import nimmanager
self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty
			</condition>
			<text value="Please set up tuner A\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<displaytext value="Please set up tuner A" />
			<config screen="NimSetup" module="Satconfig" args="0" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimb">
			<condition>
from Components.NimManager import nimmanager
self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty
			</condition>
			<text value="Please set up tuner B\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<displaytext value="Please set up tuner B" />
			<config screen="NimSetup" module="Satconfig" args="1" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimc">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and not isFBCLink(nimmanager.nim_slots[2].slot)
			</condition>
			<text value="Please set up tuner C\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<displaytext value="Please set up tuner C" />
			<config screen="NimSetup" module="Satconfig" args="2" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimd">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and not isFBCLink(nimmanager.nim_slots[3].slot)
			</condition>
			<text value="Please set up tuner D\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<displaytext value="Please set up tuner D" />
			<config screen="NimSetup" module="Satconfig" args="3" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nime">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 4 and not nimmanager.nim_slots[4].empty and not isFBCLink(nimmanager.nim_slots[4].slot)
			</condition>
			<text value="Please set up tuner E\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="4" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimf">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 5 and not nimmanager.nim_slots[5].empty and not isFBCLink(nimmanager.nim_slots[5].slot)
			</condition>
			<text value="Please set up tuner F\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="5" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimg">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 6 and not nimmanager.nim_slots[6].empty and not isFBCLink(nimmanager.nim_slots[6].slot)
			</condition>
			<text value="Please set up tuner G\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="6" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimh">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 7 and not nimmanager.nim_slots[7].empty and not isFBCLink(nimmanager.nim_slots[7].slot)
			</condition>
			<text value="Please set up tuner H\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="7" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimi">
			<condition>
from Components.NimManager import nimmanager
self.condition = len(nimmanager.nim_slots) > 8 and not nimmanager.nim_slots[8].empty
			</condition>
			<text value="Please set up tuner I\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="8" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimj">
			<condition>
from Components.NimManager import nimmanager
self.condition = len(nimmanager.nim_slots) > 9 and not nimmanager.nim_slots[9].empty
			</condition>
			<text value="Please set up tuner J\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="9" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimq">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 16 and not nimmanager.nim_slots[16].empty and not isFBCLink(nimmanager.nim_slots[16].slot)
			</condition>
			<text value="Please set up tuner Q\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="16" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
		<step id="nimr">
			<condition>
from Components.NimManager import nimmanager
from enigma import isFBCLink
self.condition = len(nimmanager.nim_slots) > 17 and not nimmanager.nim_slots[17].empty and not isFBCLink(nimmanager.nim_slots[17].slot)
			</condition>
			<text value="Please set up tuner R\nFor Hybrid Tuner Models switch Tuner Type with left and right keys" />
			<config screen="NimSetup" module="Satconfig" args="17" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
<!--
		<step id="channels">
			<condition>
from Components.NimManager import nimmanager
self.condition = nimmanager.somethingConnected() and config.misc.installwizard.hasnetwork.value and config.misc.installwizard.ipkgloaded.value
			</condition>
			<text value="Do you want to install a channel list?" />
			<displaytext value="Do you want to install a channel list?" />
			<config screen="InstallWizard" module="InstallWizard" args="1" type="ConfigList" />
			<code>
self.clearSelectedKeys()
self.selectKey("LEFT")
self.selectKey("RIGHT")
			</code>
		</step>
 -->
		<step id="scanquestion">
			<text value="Do you want to do a service scan?" />
			<displaytext value="Do you want to do a service scan?" />
			<condition>
from Components.NimManager import nimmanager
self.condition = nimmanager.somethingConnected() and not config.misc.installwizard.channellistdownloaded.value
			</condition>
			<list>
				<listentry caption="No, scan later manually" step="end" />
				<listentry caption="Yes, do an automatic scan now" step="scan" />
				<listentry caption="Yes, do a manual scan now" step="manualscan" />
			</list>
		</step>
		<step id="scan" nextstep="end">
			<condition>
from Components.NimManager import nimmanager
self.condition = nimmanager.somethingConnected() and not config.misc.installwizard.channellistdownloaded.value
			</condition>
			<text value="What do you want to scan?" />
			<displaytext value="What do you want to scan?" />
			<config screen="ScanSimple" module="ScanSetup" type="ConfigList" />
		</step>
		<step id="manualscan">
			<condition>
from Components.NimManager import nimmanager
self.condition = nimmanager.somethingConnected() and not config.misc.installwizard.channellistdownloaded.value
			</condition>
			<text value="What do you want to scan?" />
			<displaytext value="What do you want to scan?" />
			<config screen="ScanSetup" module="ScanSetup" type="ConfigList" />
		</step>
		<step id="nextscan">
			<condition>
from Components.NimManager import nimmanager
self.condition = nimmanager.somethingConnected() and not config.misc.installwizard.channellistdownloaded.value
			</condition>
			<text value="Do you want to do another manual service scan?" />
			<displaytext value="Do you want to do another manual service scan?" />
			<list>
				<listentry caption="No, scan later manually" step="end" />
				<listentry caption="Yes, do another manual scan now" step="manualscan" />
			</list>
		</step>
<!--
		<step id="finisheddefaultsatlists">
			<text value="Do you want to enable the parental control feature on your %s %s?" />
			<displaytext value="Do you want to enable the parental control feature on your %s %s?" />
			<list>
				<listentry caption="No" step="end" />
				<listentry caption="Yes" step="parentalsetup" />
			</list>
			<code pos="after">
if self["list"].index == 0:
	config.ParentalControl.configured.setValue(True)
else:
	config.ParentalControl.configured.setValue(False)
config.ParentalControl.configured.save()
			</code>
		</step>
		<step id="parentalsetup">
			<text value="You need to set a PIN code and hide it from your children.\n\nDo you want to set the pin now?" />
			<displaytext value="You need to set a PIN code and hide it from your children.\n\nDo you want to set the pin now?" />
			<list>
				<listentry caption="Yes" step="finishparentalsetup" />
				<listentry caption="No" step="warnpin" />
			</list>
			<code pos="after">
from ParentalControlSetup import ParentalControlChangePin
if self["list"].index == 0:
	self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin"))
			</code>
		</step>
		<step id="warnpin">
			<text value="Please be aware, that anyone can disable the parental control, if you have not set a PIN." />
			<displaytext value="Please be aware, that anyone can disable the parental control, if you have not set a PIN." />
		</step>
		<step id="finishparentalsetup">
			<code>
if config.ParentalControl.setuppin.value == "aaaa":
	config.ParentalControl.setuppinactive.setValue(False)
else:
	config.ParentalControl.setuppinactive.setValue(True)
config.ParentalControl.setuppinactive.save()
config.ParentalControl.servicepinactive.setValue(True)
config.ParentalControl.servicepinactive.save()
config.ParentalControl.setuppin.setValue(config.ParentalControl.servicepin[0].value)
config.ParentalControl.setuppin.save()
			</code>
			<text value="After the start wizard is completed, you need to protect single services. Refer to your %s %s's manual on how to do that." />
			<displaytext value="After the start wizard is completed, you need to protect single services. Refer to your %s %s's manual on how to do that." />
		</step>
-->
		<step id="end" laststep="true">
			<condition>
self.condition = self.isLastWizard
			</condition>
			<text value="Thank you for using the wizard. Your %s %s is now ready to use.\nPlease press OK to start using your %s %s." />
			<displaytext value="Thank you for using the wizard. Your %s %s is now ready to use.\nPlease press OK to start using your %s %s." />
			<code>
self.clearSelectedKeys()
self.selectKey("OK")
			</code>
		</step>
</wizard>
