diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-04-05 09:56:00 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-04-05 09:56:00 +0000 |
| commit | 3e0a413bb4a34a9cdc72ca14b5399e31f59b1f3c (patch) | |
| tree | be403e7c4a23730082e11d98fcfdae3b3f4a7aec /lib/python/Plugins | |
| parent | 8515e995db319835500cbcb4819d2a30a6155b8f (diff) | |
| download | enigma2-3e0a413bb4a34a9cdc72ca14b5399e31f59b1f3c.tar.gz enigma2-3e0a413bb4a34a9cdc72ca14b5399e31f59b1f3c.zip | |
use new string concept for sending diseqc commands
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py index f15ca405..8353f873 100644 --- a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py @@ -241,21 +241,21 @@ class Diseqc: if self.ready: cmd = eDVBDiseqcCommand() if what == "moveWest": - string = '\xe1\x31\x69' + chr(param) + string = 'e13169' + ("%02x" % param) elif what == "moveEast": - string = '\xe1\x31\x68' + chr(param) + string = 'e13168' + ("%02x" % param) elif what == "moveTo": - string = '\xe1\x31\x6b' + chr(param) + string = 'e1316b' + ("%02x" % param) elif what == "store": - string = '\xe1\x31\x6a' + chr(param) + string = 'e1316a' + ("%02x" % param) elif what == "limitOff": - string = '\xe1\x31\x63' + string = 'e13163' elif what == "limitEast": - string = '\xe1\x31\x66' + string = 'e13166' elif what == "limitWest": - string = '\xe1\x31\x67' + string = 'e13167' else: - string = '\xe0\x31\x60' #positioner stop + string = 'e03160' #positioner stop print "diseqc command:", for x in string: print hex(ord(x)), |
