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