aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-06-26 11:26:06 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-06-26 11:26:06 +0000
commit1a9e2e35bab6de58c8ec6981f47b4713a6925ead (patch)
tree2d32a4dc92320a51fd2d71ec7f17a1d52ad7f7c1 /lib/python/Screens
parentb540dcd4b6df8789cf4a515593e42f62bf9424e0 (diff)
downloadenigma2-1a9e2e35bab6de58c8ec6981f47b4713a6925ead.tar.gz
enigma2-1a9e2e35bab6de58c8ec6981f47b4713a6925ead.zip
handle 'equal' option in tuner config correctly for -s2 tuners
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/Satconfig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py
index b1757807..e5f73160 100644
--- a/lib/python/Screens/Satconfig.py
+++ b/lib/python/Screens/Satconfig.py
@@ -79,7 +79,10 @@ class NimSetup(Screen, ConfigListScreen):
self.createPositionerSetup(self.list)
elif self.nimConfig.configMode.value in ["satposdepends", "equal"]:
choices = []
- nimlist = nimmanager.getNimListOfType(self.nim.type, exception = self.nim.slot)
+ if self.nim.type == "DVB-S2":
+ nimlist = nimmanager.getNimListOfType("DVB-S", exception = self.nim.slot)
+ else:
+ nimlist = nimmanager.getNimListOfType(self.nim.type, exception = self.nim.slot)
for id in nimlist:
#choices.append((str(id), str(chr(65 + id))))
choices.append((str(id), nimmanager.getNimDescription(id)))