small optimizations and cleanups by Moritz Venn
[vuplus_dvbapp] / lib / python / Screens / InfoBar.py
index bd9ea18..4d92bd3 100644 (file)
@@ -148,8 +148,8 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \
                                InfoBarPlugins:
                        x.__init__(self)
 
-               self.lastservice = self.session.nav.getCurrentlyPlayingServiceReference()
-               self.session.nav.playService(service)
+               self.lastservice = session.nav.getCurrentlyPlayingServiceReference()
+               session.nav.playService(service)
                self.returning = False
                self.onClose.append(self.__onClose)