From af653d092027ac6b091e57153c054a26aa41f326 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 17 Jun 2006 18:11:37 +0000 Subject: [PATCH 1/1] fix seek state visualization --- lib/python/Screens/MediaPlayer.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/python/Screens/MediaPlayer.py b/lib/python/Screens/MediaPlayer.py index 21f26ffa..b03bc9bb 100644 --- a/lib/python/Screens/MediaPlayer.py +++ b/lib/python/Screens/MediaPlayer.py @@ -98,9 +98,9 @@ class MediaPlayer(Screen, InfoBarSeek): self.__event_tracker = ServiceEventTracker(screen=self, eventmap= { -# iPlayableService.evSeekableStatusChanged: self.__seekableStatusChanged, -# iPlayableService.evStart: self.__serviceStarted, - + #iPlayableService.evStart: self.__serviceStarted, + #iPlayableService.evSeekableStatusChanged: InfoBarSeek.__seekableStatusChanged, + iPlayableService.evEOF: self.__evEOF, # iPlayableService.evSOF: self.__evSOF, }) @@ -133,7 +133,7 @@ class MediaPlayer(Screen, InfoBarSeek): def __evEOF(self): self.nextEntry() - + def __onClose(self): self.session.nav.playService(self.oldService) @@ -360,4 +360,8 @@ class MediaPlayer(Screen, InfoBarSeek): self.session.nav.playService(None) self.updateMusicInformation(clear=True) + def unPauseService(self): + self.setSeekState(self.SEEK_STATE_PLAY) + + -- 2.30.2