dont let open satfinder for "2nd cable from rotor" and "loothrough" connected lnbs
[enigma2.git] / lib / python / Plugins / SystemPlugins / Satfinder / plugin.py
index 72982483e5a67858f437a9797b7fd57a30e9a21b..87dc81e4abad28f1f27cdb3a0e7ba368cf6ed126 100644 (file)
@@ -259,7 +259,13 @@ class SatNimSelection(Screen):
                self.session.open(Satfinder, selection)
 
 def SatfinderMain(session, **kwargs):
-       nimList = nimmanager.getNimListOfType("DVB-S")
+       nims = nimmanager.getNimListOfType("DVB-S")
+
+       nimList = []
+       for x in nims:
+               if not nimmanager.getNimConfig(x).configMode.value in ("loopthrough", "satposdepends", "nothing"):
+                       nimList.append(x)
+
        if len(nimList) == 0:
                session.open(MessageBox, _("No satellite frontend found!!"), MessageBox.TYPE_ERROR)
        else: