aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-08-16 01:02:55 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-08-16 01:02:55 +0000
commitfe813cde98c0c550137b47dd7a75ec2d4d9e6f34 (patch)
tree6aac164b9b49a35bb2c3eff0e61a305118fcab42 /lib/python
parent4fcbd4dd4bee8c65b46b7185879c445beae6ca29 (diff)
downloadenigma2-fe813cde98c0c550137b47dd7a75ec2d4d9e6f34.tar.gz
enigma2-fe813cde98c0c550137b47dd7a75ec2d4d9e6f34.zip
- add getLength() call to iStaticServiceInformation
- implementation for dvb pvr streams using tstools - start of implementing status information for PVR
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/MovieList.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index 4144353e..003302b3 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -34,10 +34,16 @@ def MovieListEntry(serviceref, serviceHandler):
del info
return
+ len = info.getLength(serviceref)
+ if len:
+ len = "%d:%02d" % (len / 60, len % 60)
+ else:
+ len = "?:??"
+
res.append((0, 0, 400, 30, 0, RT_HALIGN_LEFT, info.getName(serviceref)))
res.append((0, 30, 200, 20, 1, RT_HALIGN_LEFT, "Toller Film"))
res.append((0, 50, 200, 20, 1, RT_HALIGN_LEFT, "Aufgenommen: irgendwann"))
- res.append((200, 50, 200, 20, 1, RT_HALIGN_RIGHT, "1232MB"))
+ res.append((200, 50, 200, 20, 1, RT_HALIGN_RIGHT, len))
return res