aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ServiceScan.py
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-15 23:44:08 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-15 23:44:08 +0000
commit9577681fd68514b24f3ed95f7057443c26c37b28 (patch)
treecedd768c7fae40b40d9892c41a9568d06000c730 /lib/python/Components/ServiceScan.py
parent7f8d4354cf93e97daf1d206193ed7283cd258e93 (diff)
downloadenigma2-9577681fd68514b24f3ed95f7057443c26c37b28.tar.gz
enigma2-9577681fd68514b24f3ed95f7057443c26c37b28.zip
add transponderlist - get it as param
Diffstat (limited to 'lib/python/Components/ServiceScan.py')
-rw-r--r--lib/python/Components/ServiceScan.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Components/ServiceScan.py b/lib/python/Components/ServiceScan.py
index 9aec9829..e51532f4 100644
--- a/lib/python/Components/ServiceScan.py
+++ b/lib/python/Components/ServiceScan.py
@@ -34,7 +34,7 @@ class ServiceScan:
if self.state == self.Error:
self.text.setText("ERROR - failed to scan (%s)!" % (self.Errors[self.errorcode]) )
- def __init__(self, progressbar, text):
+ def __init__(self, progressbar, text, transponders):
self.progressbar = progressbar
self.text = text
self.scan = eComponentScan()
@@ -63,7 +63,10 @@ class ServiceScan:
parm.guard_interval = 0 # eDVBFrontendParametersTerrestrial.GuardInterval.GI_1_32;
parm.hierarchy = 0 #eDVBFrontendParametersTerrestrial.Hierarchy.HNone;
- self.scan.addInitial(parm)
+ for x in transponders:
+ self.scan.addInitial(x)
+
+ #self.scan.addInitial(parm)
def execBegin(self):
self.scan.statusChanged.get().append(self.scanStatusChanged)