diff options
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBar.py | 7 | ||||
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index b28ce515..23754824 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -80,3 +80,10 @@ class MoviePlayer(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey if answer == True: self.session.nav.playService(self.lastservice) self.close() + + def showMovies(self): + self.session.openWithCallback(self.movieSelected, MovieSelection) + + def movieSelected(self, service): + if service is not None: + self.session.nav.playService(service) diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 922f8ab5..0fcb6ba9 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -478,6 +478,9 @@ class InfoBarPVR: "seekFwd": (self.seekFwd, "skip forward"), "seekBack": (self.seekBack, "skip backward"), + + "up": (self.showMovies, "movie list"), + "down": (self.showMovies, "movie list") }) self.seekstate = self.SEEK_STATE_PLAY @@ -486,6 +489,12 @@ class InfoBarPVR: self.skipinterval = 500 # 500ms skip interval self.onClose.append(self.delSeekTimer) + def up(self): + pass + + def down(self): + pass + def delSeekTimer(self): del self.seekTimer |
