diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-04-05 12:24:04 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-04-05 12:24:04 +0000 |
| commit | 06b114115ef8f128ff7e2c25d183b9ec05f92e5d (patch) | |
| tree | 094e4a07e188d7acd34a70ea10075dc38ee577a2 /lib/python | |
| parent | 313bdd3c04290c5f7ca64bac3c8c304e89c328bb (diff) | |
| download | enigma2-06b114115ef8f128ff7e2c25d183b9ec05f92e5d.tar.gz enigma2-06b114115ef8f128ff7e2c25d183b9ec05f92e5d.zip | |
another positioner try
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py | 22 |
1 files changed, 10 insertions, 12 deletions
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) |
