Plugins: fix permission of plugin.py
[enigma2.git] / lib / python / Plugins / SystemPlugins / PositionerSetup / plugin.py
index ea62550b8af1f76bc2e95d8d2a5cbc5db0318963..be246db2db0c189bb63da48ff8995ecec5459702 100644 (file)
@@ -77,7 +77,7 @@ class PositionerSetup(Screen):
                
                self.frontendStatus = { }
                self.diseqc = Diseqc(self.frontend)
-               self.tuner = Tuner(self.frontend)
+               self.tuner = Tuner(self.frontend, True) #True means we dont like that the normal sec stuff sends commands to the rotor!
 
                tp = ( cur.get("frequency", 0) / 1000,
                        cur.get("symbol_rate", 0) / 1000,
@@ -484,8 +484,8 @@ class TunerScreen(ScanSetup):
                self.updateTransponders()
 
        def updateTransponders(self):
-               if len(tuning.sat.satList):
-                       transponderlist = nimmanager.getTransponders(tuning.sat.orbital_position)
+               if len(tuning.sat.choices):
+                       transponderlist = nimmanager.getTransponders(int(tuning.sat.value))
                        tps = []
                        cnt=0
                        for x in transponderlist:
@@ -608,6 +608,6 @@ def PositionerSetupStart(menuid, **kwargs):
 
 def Plugins(**kwargs):
        if (nimmanager.hasNimType("DVB-S")):
-               return PluginDescriptor(name=_("Positioner setup"), description="Setup your positioner", where = PluginDescriptor.WHERE_MENU, fnc=PositionerSetupStart)
+               return PluginDescriptor(name=_("Positioner setup"), description="Setup your positioner", where = PluginDescriptor.WHERE_MENU, needsRestart = False, fnc=PositionerSetupStart)
        else:
                return []