X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fstartwizard.xml;h=5ed6413d0c8f680c66a8af51aef6cf2944cf97f5;hp=89352abddea08ff3e43672c248fdc5221b48e53b;hb=HEAD;hpb=fc11878a40ccc81423a8f223942b89597f2fffb6 diff --git a/data/startwizard.xml b/data/startwizard.xml old mode 100644 new mode 100755 index 89352ab..5ed6413 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,78 +1,298 @@ - - + + + -self["arrowdown"].moveTo(557, 232, 10) -self["rc"].moveTo(500, 50, 10) -self["arrowdown"].startMoving() -self["rc"].startMoving() +self.clearSelectedKeys() +self.selectKey("OK") - + - + -self["arrowdown"].moveTo(557, 200, 10) -self["arrowup"].moveTo(557, 355, 10) -self["arrowdown"].startMoving() -self["arrowup"].startMoving() +self.clearSelectedKeys() +self.selectKey("UP") +self.selectKey("DOWN") - - - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty and config.misc.startwizard.shownimconfig.value + + + -self["arrowup"].moveTo(740, 355, 10) -self["arrowup"].startMoving() -self["arrowdown"].clearPath(True) -self["arrowdown"].addMovePoint(510, 300, 10) -self["arrowdown"].addMovePoint(610, 300, 10) -self["arrowdown"].startMoving() +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty and config.misc.startwizard.shownimconfig.value + - + -self["arrowup"].moveTo(740, 355, 10) -self["arrowup"].startMoving() -self["arrowdown"].clearPath(True) -self["arrowdown"].addMovePoint(510, 300, 10) -self["arrowdown"].addMovePoint(610, 300, 10) -self["arrowdown"].startMoving() +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") - + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[2].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[3].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 4 and not nimmanager.nim_slots[4].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[4].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 5 and not nimmanager.nim_slots[5].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[5].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 6 and not nimmanager.nim_slots[6].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[6].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 7 and not nimmanager.nim_slots[7].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[7].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 8 and not nimmanager.nim_slots[8].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[8].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 9 and not nimmanager.nim_slots[9].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[9].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 16 and not nimmanager.nim_slots[16].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[16].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + +from Components.NimManager import nimmanager +from enigma import isFBCLink +self.condition = len(nimmanager.nim_slots) > 17 and not nimmanager.nim_slots[17].empty and config.misc.startwizard.shownimconfig.value and not isFBCLink(nimmanager.nim_slots[17].slot) + + + + +self.clearSelectedKeys() +self.selectKey("LEFT") +self.selectKey("RIGHT") + + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + +self.hideRc() + + + + + + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + +self.hideRc() + - - + + + - + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + - - -self["arrowup"].moveTo(740, 355, 10) -self["arrowup"].startMoving() -self["arrowdown"].clearPath(True) -self["arrowdown"].addMovePoint(510, 300, 10) -self["arrowdown"].addMovePoint(610, 300, 10) -self["arrowdown"].startMoving() + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + + + + + +from Components.NimManager import nimmanager +self.condition = config.misc.startwizard.doservicescan.value and nimmanager.somethingConnected() + + + + + + + + + + + + + + + +if self["list"].index == 0: + config.ParentalControl.configured.value = True +else: + config.ParentalControl.configured.value = False +config.ParentalControl.configured.save() - - + + + + + + + +from ParentalControlSetup import ParentalControlChangePin +if self["list"].index == 0: + self.session.open(ParentalControlChangePin, config.ParentalControl.servicepin[0], _("parental control pin")) + + + + + + -self["arrowdown"].moveTo(740, 200, 10) -self["arrowup"].moveTo(740, 355, 10) -self["arrowdown"].startMoving() -self["arrowup"].startMoving() -self["rc"].moveTo(500, 600, 5) -self["rc"].startMoving() +if config.ParentalControl.setuppin.value == "aaaa": + config.ParentalControl.setuppinactive.value = False +else: + config.ParentalControl.setuppinactive.value = True +config.ParentalControl.setuppinactive.save() +config.ParentalControl.servicepinactive.value = True +config.ParentalControl.servicepinactive.save() +config.ParentalControl.setuppin.value = config.ParentalControl.servicepin[0].value +config.ParentalControl.setuppin.save() - + + + + + + +self.condition = self.isLastWizard + + + +