1 from Screen import Screen
2 from Components.ServiceScan import ServiceScan as CScan
3 from Components.ProgressBar import ProgressBar
4 from Components.Label import Label
5 from Components.ActionMap import ActionMap
6 from Components.FIFOList import FIFOList
8 class ServiceScan(Screen):
11 if self["scan"].isDone():
17 def __init__(self, session, transponders, feid, flags):
18 Screen.__init__(self, session)
20 self.session.nav.stopService()
22 self["scan_progress"] = ProgressBar()
23 self["scan_state"] = Label(_("scan state"))
24 self["servicelist"] = FIFOList(len=7)
25 self["scan"] = CScan(self["scan_progress"], self["scan_state"], self["servicelist"], transponders, feid, flags)
27 self["actions"] = ActionMap(["OkCancelActions"],