aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ServiceInfo.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/python/Screens/ServiceInfo.py b/lib/python/Screens/ServiceInfo.py
new file mode 100644
index 00000000..03d03d8e
--- /dev/null
+++ b/lib/python/Screens/ServiceInfo.py
@@ -0,0 +1,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)