aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/PositionerSetup
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-29 01:11:21 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-29 01:11:21 +0000
commitdc9aae2149e737517e46534c3c1230a58873d397 (patch)
tree615b5e4b9eb588f8b7ba47915f624d37e001d5b1 /lib/python/Plugins/SystemPlugins/PositionerSetup
parentb332b11ee2f3fd450493b55507324c74d96b20e8 (diff)
downloadenigma2-dc9aae2149e737517e46534c3c1230a58873d397.tar.gz
enigma2-dc9aae2149e737517e46534c3c1230a58873d397.zip
send rotor stop command twice
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/PositionerSetup')
-rw-r--r--lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
index 4e620758..e2c07ae7 100644
--- a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
@@ -12,6 +12,8 @@ from Components.NimManager import nimmanager
from Components.MenuList import MenuList
from Components.config import ConfigSatlist, ConfigNothing, ConfigSelection, ConfigSubsection, KEY_LEFT, KEY_RIGHT, getConfigListEntry
+from time import sleep
+
class PositionerSetup(Screen):
skin = """
<screen position="100,100" size="560,400" title="Positioner setup..." >
@@ -342,12 +344,15 @@ class Diseqc:
string = 'e03167'
else:
string = 'e03160' #positioner stop
+
print "diseqc command:",
print string
-
cmd.setCommandString(string)
self.frontend.sendDiseqc(cmd)
-
+ if string == 'e03160': #positioner stop
+ sleep(0.05)
+ self.frontend.sendDiseqc(cmd) # send 2nd time
+
class Tuner:
def __init__(self, frontend):
self.frontend = frontend