aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ScanSetup.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-10 11:27:35 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-10 11:27:35 +0000
commit4e1e6ba3e78de639bf72a7d4456da78f9cad1acf (patch)
treec8db094b1408f3e59e1cd8d4c8ad1e4394163a92 /lib/python/Screens/ScanSetup.py
parent3d833640ae5664e2a6815499eaea232d7608d516 (diff)
downloadenigma2-4e1e6ba3e78de639bf72a7d4456da78f9cad1acf.tar.gz
enigma2-4e1e6ba3e78de639bf72a7d4456da78f9cad1acf.zip
fix
Diffstat (limited to 'lib/python/Screens/ScanSetup.py')
-rw-r--r--lib/python/Screens/ScanSetup.py21
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py
index 052dc708..67ea1b19 100644
--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -468,24 +468,27 @@ class ScanSimple(Screen):
exclusive_satellites = sec.get_exclusive_satellites(0,1)
else:
exclusive_satellites = [0,0]
+ print "exclusive satellites", exclusive_satellites
+ two_sat_tuners = True
else:
- exclusive_satellites = [0,0]
- print "exclusive satellites", exclusive_satellites
+ two_sat_tuners = False
+
for x in self.list:
slotid = x[1].parent.configPath
print "Scan Tuner", slotid, "-", currentConfigSelectionElement(x[1].parent)
if currentConfigSelectionElement(x[1].parent) == "yes":
tlist = [ ]
if nimmanager.getNimType(x[1].parent.configPath) == nimmanager.nimType["DVB-S"]:
- if slotid > 0:
- idx = exclusive_satellites[0]+1
- else:
- idx = 0
- exclusive_nim_sats = exclusive_satellites[idx+1:idx+1+exclusive_satellites[idx]]
- print "exclusive_nim_sats", exclusive_nim_sats
+ if two_sat_tuners:
+ if slotid > 0:
+ idx = exclusive_satellites[0]+1
+ else:
+ idx = 0
+ exclusive_nim_sats = exclusive_satellites[idx+1:idx+1+exclusive_satellites[idx]]
+ print "exclusive_nim_sats", exclusive_nim_sats
SatList = nimmanager.getSatListForNim(slotid)
for sat in SatList:
- if sat[1] in exclusive_nim_sats or slotid == 0:
+ if not two_sat_tuners or (sat[1] in exclusive_nim_sats or slotid == 0):
print sat
getInitialTransponderList(tlist, sat[1])
elif nimmanager.getNimType(x[1].parent.configPath) == nimmanager.nimType["DVB-C"]: