aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-09 16:04:15 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-09 16:04:15 +0000
commit250e846dc7fb2a3920e1aabd2430adb49fca5314 (patch)
treeae8fe1a2dbe6bedd28e9a837778e52d16e64e882 /lib/python/Plugins/SystemPlugins
parent8002c6bccab2a1808d2c2dccffa988be814a977c (diff)
downloadenigma2-250e846dc7fb2a3920e1aabd2430adb49fca5314.tar.gz
enigma2-250e846dc7fb2a3920e1aabd2430adb49fca5314.zip
fix possible deathscreen on sat change (with predefind transponders)
Diffstat (limited to 'lib/python/Plugins/SystemPlugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/Satfinder/plugin.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
index d6d967d2..3ba621d7 100644
--- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py
@@ -184,6 +184,7 @@ class Satfinder(ScanSetup):
if orb_pos is not None:
transponderlist = nimmanager.getTransponders(orb_pos)
list = []
+ default = None
for x in transponderlist:
if x[3] == 0:
pol = "H"
@@ -219,8 +220,11 @@ class Satfinder(ScanSetup):
fec = "FEC_None"
else:
fec = "FEC_Unknown"
- list.append(str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec)
- self.tuning_transponder = ConfigSelection(choices = list)
+ e = str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec
+ if default is None:
+ default = e
+ list.append(e)
+ self.tuning_transponder = ConfigSelection(choices = list, default = default)
self.tuning_transponder.addNotifier(self.retune, initial_call = False)
def keyGo(self):