From: Fraxinas Date: Wed, 26 Jan 2011 14:15:33 +0000 (+0100) Subject: fix restart of playback after EOF (fixes bug #241) X-Git-Tag: experimental-2011.02~3^2~4 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/79f0f14b59c1943261983e92f0b97b9ce7df4bed fix restart of playback after EOF (fixes bug #241) --- 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: