X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=data%2Fstartwizard.xml;h=5604f90d1cda3c7646f02a1b21ef5484242d2ad6;hb=ac203607d047ed489f339ab211907d1d1a1ff133;hp=d31765f83ca7d3bba2a84324df069a9f00917089;hpb=04a6ffad0d1bd64cda7270ba0fcad74c33a20a51;p=vuplus_dvbapp diff --git a/data/startwizard.xml b/data/startwizard.xml index d31765f..5604f90 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,5 +1,5 @@ - + self["arrowdown"].moveTo(557, 232, 1) @@ -10,10 +10,10 @@ self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() - + - + @@ -27,10 +27,10 @@ self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() - + from Components.NimManager import nimmanager -self.condition = nimmanager.nimCount > 0 +self.condition = len(nimmanager.nim_slots) > 0 and not nimmanager.nim_slots[0].empty and config.misc.startwizard.shownimconfig.value @@ -45,10 +45,10 @@ self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() - + from Components.NimManager import nimmanager -self.condition = nimmanager.nimCount > 1 +self.condition = len(nimmanager.nim_slots) > 1 and not nimmanager.nim_slots[1].empty and config.misc.startwizard.shownimconfig.value @@ -63,8 +63,47 @@ self["arrowdown"].moveTo(740, 355, 1) self["arrowdown"].startMoving() - + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 2 and not nimmanager.nim_slots[2].empty and config.misc.startwizard.shownimconfig.value + + + + +self["rc"].moveTo(500, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(525, 320, 1) +self["arrowup"].startMoving() +self["arrowup2"].moveTo(590, 320, 1) +self["arrowup2"].startMoving() +self["arrowdown"].moveTo(740, 355, 1) +self["arrowdown"].startMoving() + + + + +from Components.NimManager import nimmanager +self.condition = len(nimmanager.nim_slots) > 3 and not nimmanager.nim_slots[3].empty and config.misc.startwizard.shownimconfig.value + + + + +self["rc"].moveTo(500, 50, 1) +self["rc"].startMoving() +self["arrowup"].moveTo(525, 320, 1) +self["arrowup"].startMoving() +self["arrowup2"].moveTo(590, 320, 1) +self["arrowup2"].startMoving() +self["arrowdown"].moveTo(740, 355, 1) +self["arrowdown"].startMoving() + + + + +self.condition = config.misc.startwizard.doservicescan.value + self["rc"].moveTo(800, 50, 1) self["rc"].startMoving() @@ -74,15 +113,74 @@ self["arrowup2"].moveTo(800, 310, 1) self["arrowup2"].startMoving() - - + + + - + + +self.condition = config.misc.startwizard.doservicescan.value + - - - + + +self.condition = config.misc.startwizard.doservicescan.value + + + + + + +self.condition = config.misc.startwizard.doservicescan.value + + + + + + + + + + + + + + +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")) + + + + +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() + + + + + + +