aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-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)