Fixed mplayer/mpv pausing on the init
This commit is contained in:
parent
661d3926df
commit
0c7b26a2b6
@ -56,8 +56,6 @@ class MplayerPlayer(BasePlayer):
|
|||||||
self._client.updateFile(self._filename, self._duration, self._filepath)
|
self._client.updateFile(self._filename, self._duration, self._filepath)
|
||||||
|
|
||||||
def _preparePlayer(self):
|
def _preparePlayer(self):
|
||||||
self.setPaused(self._client.getGlobalPaused())
|
|
||||||
self.setPosition(self._client.getGlobalPosition())
|
|
||||||
self.reactor.callFromThread(self._client.initPlayer, (self),)
|
self.reactor.callFromThread(self._client.initPlayer, (self),)
|
||||||
self._onFileUpdate()
|
self._onFileUpdate()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user