From: Stefan Pluecken Date: Wed, 5 Apr 2006 12:24:04 +0000 (+0000) Subject: another positioner try X-Git-Tag: 2.6.0~3702 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/06b114115ef8f128ff7e2c25d183b9ec05f92e5d another positioner try --- diff --git a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py index 8353f873..ca7ea9d2 100644 --- a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py @@ -152,7 +152,7 @@ class PositionerSetup(Screen): self.yellow.setText(_("Limit east")) self.blue.setText("") elif entry == "storage": - self.red.setText() + self.red.setText("") self.green.setText(_("Store position")) self.yellow.setText(_("Goto position")) self.blue.setText("") @@ -228,7 +228,7 @@ class Diseqc: if res_mgr.allocateRawChannel(raw_channel, self.feid) == 0: self.frontend = iDVBFrontendPtr() if raw_channel.getFrontend(self.frontend) == 0: - self.frontend.setVoltage(iDVBFrontend.voltage18) + self.frontend.setVoltage(iDVBFrontend.voltage13) self.ready = True else: print "getFrontend failed" @@ -241,25 +241,23 @@ class Diseqc: if self.ready: cmd = eDVBDiseqcCommand() if what == "moveWest": - string = 'e13169' + ("%02x" % param) + string = 'e03169' + ("%02x" % param) elif what == "moveEast": - string = 'e13168' + ("%02x" % param) + string = 'e03168' + ("%02x" % param) elif what == "moveTo": - string = 'e1316b' + ("%02x" % param) + string = 'e0316b' + ("%02x" % param) elif what == "store": - string = 'e1316a' + ("%02x" % param) + string = 'e0316a' + ("%02x" % param) elif what == "limitOff": - string = 'e13163' + string = 'e03163' elif what == "limitEast": - string = 'e13166' + string = 'e03166' elif what == "limitWest": - string = 'e13167' + string = 'e03167' else: string = 'e03160' #positioner stop print "diseqc command:", - for x in string: - print hex(ord(x)), - print + print string cmd.setCommandString(string) self.frontend.sendDiseqc(cmd)