mirror of
https://github.com/Syncplay/syncplay
synced 2025-01-18 21:10:47 +00:00
Changed mplayer2 pausing to documented command.
This commit is contained in:
parent
1994e02b2c
commit
f7489f7c89
@ -85,8 +85,8 @@ class MplayerPlayer(BasePlayer):
|
||||
self._setProperty('time_pos', "{}".format(value))
|
||||
|
||||
def setPaused(self, value):
|
||||
self._paused = value
|
||||
self._setProperty('pause', 'yes' if value else 'no')
|
||||
if self._paused <> value:
|
||||
self._listener.sendLine('pause')
|
||||
|
||||
def _getFilename(self):
|
||||
self._getProperty('filename')
|
||||
|
Loading…
Reference in New Issue
Block a user