From 95386a54243d4e2e3b4dd85862e8dc6b8fca3b6c Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Thu, 25 Sep 2008 14:50:05 +0000 Subject: fix pause, introduce rudimentary fast forward and get rid of latency of AudioSelection. however, all of this is far away from being frame accurate (yet). --- lib/python/Plugins/Extensions/MediaPlayer/plugin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/python') diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py index 27cf1d5e..f819d782 100644 --- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py @@ -738,7 +738,10 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB def pauseEntry(self): self.pauseService() - self.show() + if self.seekstate == self.SEEK_STATE_PAUSE: + self.show() + else: + self.hide() def stopEntry(self): self.playlist.stopFile() -- cgit v1.2.3