add
[vuplus_dvbapp] / lib / python / Screens / ServiceInfo.py
1 from Screen import Screen
2 from Components.ActionMap import ActionMap
3 from Components.Label import Label
4 from Components.MenuList import MenuList
5
6 class ServiceInfo(Screen):
7         def __init__(self, session):
8                 Screen.__init__(self, session)
9
10                 self["actions"] = ActionMap(["OkCancelActions"],
11                 {
12                         "ok": self.close,
13                         "cancel": self.close
14                 }, -1)
15         
16                 Labels = ("Name", "Provider", "VideoPID", "AudioPID",
17                                                         "PCRPID", "PMTPID", "TXTPID", "Videoformat",
18                                                         "TSID", "ONID", "SID", "Namespace")
19         
20                 tlist = [ ]
21
22                 for item in Labels:
23                         tlist.append((item + ":",0))
24                 
25                 self["infolist"] = MenuList(tlist)