From a65edb264cc943a2a15b6886d9fa3190a92373c0 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 14 Jul 2006 12:59:18 +0000 Subject: add possibility to view eventinfo in recorded movielist (move cursor to recorded movie and press info) --- lib/python/Components/MovieList.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/python/Components') 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] -- cgit v1.2.3