From 79f0f14b59c1943261983e92f0b97b9ce7df4bed Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Wed, 26 Jan 2011 15:15:33 +0100 Subject: fix restart of playback after EOF (fixes bug #241) --- lib/python/Screens/InfoBar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python') diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 5b061245..a6403a30 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -174,7 +174,7 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \ (_("Yes, returning to movie list"), "movielist"), (_("Yes, and delete this movie"), "quitanddelete"), (_("No"), "continue"), - (_("No, but restart from begin"), "restart") + (_("No, but restart from the beginning"), "restart") ) from Screens.ChoiceBox import ChoiceBox @@ -221,6 +221,7 @@ class MoviePlayer(InfoBarBase, InfoBarShowHide, \ self.session.nav.stopService() elif answer == "restart": self.doSeek(0) + self.setSeekState(self.SEEK_STATE_PLAY) def doEofInternal(self, playing): if not self.execing: -- cgit v1.2.3