aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-04-07 16:20:11 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-04-07 16:20:11 +0000
commitfd6e4663672142f13548a43a0d54fa87d67a98a5 (patch)
treefa5296314630d66204f5b8988380dcadbd998905 /lib/python
parent43092fa5b117de96899e5601c657612a0f9fcc3e (diff)
downloadenigma2-fd6e4663672142f13548a43a0d54fa87d67a98a5.tar.gz
enigma2-fd6e4663672142f13548a43a0d54fa87d67a98a5.zip
fix self.terrestrialsList
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/NimManager.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index 8af2763f..a3e64820 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -393,7 +393,7 @@ class NimManager:
#print "found sat " + attrs.get('name',"") + " " + str(attrs.get('position',""))
tname = attrs.get('name',"").encode("UTF-8")
tflags = attrs.get('flags',"")
- self.terrestrialsList.append((tname, tname, tflags))
+ self.terrestrialsList.append((tname, tflags))
self.parsedTer = str(tname)
elif (name == "transponder"):
# TODO finish this!
@@ -477,6 +477,7 @@ class NimManager:
self.nimSocketCount += 1
elif line.strip().startswith("Type:"):
self.nimTypes[lastsocket] = str(line.strip()[6:])
+ self.nimTypes[lastsocket] = str("DVB-T")
elif line.strip().startswith("Name:"):
self.nimNames[lastsocket] = str(line.strip()[6:])
elif line.strip().startswith("empty"):
@@ -728,7 +729,10 @@ def InitNimManager(nimmgr):
elif slot.nimType == nimmgr.nimType["DVB-C"]:
nim.cable = configElement(cname + "cable", configSelection, 0, nimmgr.cablesList, False);
elif slot.nimType == nimmgr.nimType["DVB-T"]:
- nim.terrestrial = configElement(cname + "terrestrial", configSelection, 0, nimmgr.terrestrialsList, False);
+ list = []
+ for x in nimmgr.terrestrialsList:
+ list.append(x[0])
+ nim.terrestrial = configElement(cname + "terrestrial", configSelection, 0, list, False);
else:
print "pls add support for this frontend type!"