aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-12-18 18:08:16 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-12-18 18:08:16 +0100
commita4aa303dd816ac507892afb9e666825ec5e4e8d2 (patch)
treeae26eea169d9cf507492d5068cfc27dc317cf7e7 /lib/python
parent17815854118aa7187570e0e4492064f43a1b94b7 (diff)
downloadenigma2-a4aa303dd816ac507892afb9e666825ec5e4e8d2.tar.gz
enigma2-a4aa303dd816ac507892afb9e666825ec5e4e8d2.zip
dont let open satfinder for "2nd cable from rotor" and "loothrough" connected lnbs
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/SystemPlugins/Satfinder/plugin.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
index 72982483..87dc81e4 100644
--- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
@@ -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: