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
7 from Components.Sources.FrontendInfo import FrontendInfo
9 class ServiceScan(Screen):
12 if self["scan"].isDone():
18 def __init__(self, session, scanList):
19 Screen.__init__(self, session)
21 self.session.nav.stopService()
23 self["scan_progress"] = ProgressBar()
24 self["scan_state"] = Label(_("scan state"))
25 self["network"] = Label()
26 self["transponder"] = Label()
28 self["pass"] = Label("")
29 self["servicelist"] = FIFOList(len=10)
30 self["FrontendInfo"] = FrontendInfo()
31 self["scan"] = CScan(self["scan_progress"], self["scan_state"], self["servicelist"], self["pass"], scanList, self["network"], self["transponder"], self["FrontendInfo"])
33 self["actions"] = ActionMap(["OkCancelActions"],