X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c1311444ea249a45d0eceefa15d77fce410a54da..3d8ffc3281925011e894d57a9f51423736ee891a:/data/startwizard.xml diff --git a/data/startwizard.xml b/data/startwizard.xml index d15082fd..3dedafc9 100644 --- a/data/startwizard.xml +++ b/data/startwizard.xml @@ -1,6 +1,6 @@ - - + + self["arrowdown"].moveTo(557, 232, 1) self["arrowdown"].startMoving() @@ -10,13 +10,15 @@ self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() - + - + +self["arrowup2"].moveTo(800, 320, 1) +self["arrowup2"].startMoving() self["arrowdown"].moveTo(557, 200, 1) self["arrowup"].moveTo(557, 355, 1) self["arrowdown"].startMoving() @@ -25,7 +27,11 @@ self["rc"].moveTo(500, 50, 1) self["rc"].startMoving() - + + +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 + @@ -37,13 +43,68 @@ 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) > 1 and not nimmanager.nim_slots[1].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) > 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() self["arrowup"].moveTo(800, 310, 1) @@ -51,19 +112,82 @@ self["arrowup"].startMoving() self["arrowup2"].moveTo(800, 310, 1) self["arrowup2"].startMoving() - - - - - + + + + + +if self["list"].index == 2: + #from Screens.ScanSetup import ScanSetup + from Screens.ScanSetup import DefaultSatLists + self.session.open(DefaultSatLists) + - + + +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() + + + + + + +