diff options
| author | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-11-12 20:04:24 +0000 |
|---|---|---|
| committer | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-11-12 20:04:24 +0000 |
| commit | 02916ce89bca007f62951f0a130b0c2bc2e22027 (patch) | |
| tree | ac20687fe77744a4b3cf333c30260a470685c361 /lib/python | |
| parent | b4e3826885934af8be03e30855ba34bb33812a52 (diff) | |
| download | enigma2-02916ce89bca007f62951f0a130b0c2bc2e22027.tar.gz enigma2-02916ce89bca007f62951f0a130b0c2bc2e22027.zip | |
add
-need an disable marker in List
-need to get all Infos
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/ServiceInfo.py | 25 |
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) |
