Pass input-ipc-server player argument to mpv (#529)
This commit is contained in:
parent
0c0df605d5
commit
5419358e5f
@ -420,6 +420,8 @@ class MpvPlayer(BasePlayer):
|
|||||||
options_string = ", ".join(options)
|
options_string = ", ".join(options)
|
||||||
self._listener.sendLine(["script-message-to", "syncplayintf", "set_syncplayintf_options", options_string])
|
self._listener.sendLine(["script-message-to", "syncplayintf", "set_syncplayintf_options", options_string])
|
||||||
self._setOSDPosition()
|
self._setOSDPosition()
|
||||||
|
if self._listener.mpv_arguments.get("input-ipc-server"):
|
||||||
|
self._setProperty("input-ipc-server", self._listener.mpv_arguments.get("input-ipc-server"))
|
||||||
|
|
||||||
def _handleUnknownLine(self, line):
|
def _handleUnknownLine(self, line):
|
||||||
self.mpvErrorCheck(line)
|
self.mpvErrorCheck(line)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user