X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FMovieList.py;fp=lib%2Fpython%2FComponents%2FMovieList.py;h=1a61d20ff224039c0daeb3916f19d7c54ff94211;hb=a65edb264cc943a2a15b6886d9fa3190a92373c0;hp=970180cd243ec1a685ce8ef2b9dec45c28045424;hpb=da3cbd785189e979d5c06eddb965795b24e73d2f;p=vuplus_dvbapp diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 970180c..1a61d20 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]