aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MovieList.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-14 12:59:18 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-14 12:59:18 +0000
commita65edb264cc943a2a15b6886d9fa3190a92373c0 (patch)
tree91bdc462f49092cc04aaf1cbd60367a07cf0918d /lib/python/Components/MovieList.py
parentda3cbd785189e979d5c06eddb965795b24e73d2f (diff)
downloadenigma2-a65edb264cc943a2a15b6886d9fa3190a92373c0.tar.gz
enigma2-a65edb264cc943a2a15b6886d9fa3190a92373c0.zip
add possibility to view eventinfo in recorded movielist (move cursor to
recorded movie and press info)
Diffstat (limited to 'lib/python/Components/MovieList.py')
-rw-r--r--lib/python/Components/MovieList.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index 970180cd..1a61d20f 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -59,6 +59,10 @@ class MovieList(HTMLComponent, GUIComponent):
def getCurrentIndex(self):
return self.instance.getCurrentIndex()
+ def getCurrentEvent(self):
+ l = self.l.getCurrentSelection()
+ return l and l[0] and l[1] and l[1].getEvent(l[0])
+
def getCurrent(self):
l = self.l.getCurrentSelection()
return l and l[0]