Skip to content

Commit

Permalink
Pass input-ipc-server player argument to mpv (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Jan 28, 2024
1 parent 0c0df60 commit 5419358
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syncplay/players/mpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ def sendMpvOptions(self):
options_string = ", ".join(options)
self._listener.sendLine(["script-message-to", "syncplayintf", "set_syncplayintf_options", options_string])
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):
self.mpvErrorCheck(line)
Expand Down

0 comments on commit 5419358

Please sign in to comment.