From 5419358e5f92099176db6646b4dc58b0c52c9cf5 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sun, 28 Jan 2024 21:16:40 +0000 Subject: [PATCH] Pass input-ipc-server player argument to mpv (#529) --- syncplay/players/mpv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syncplay/players/mpv.py b/syncplay/players/mpv.py index 641a1c072..64ae9f80e 100755 --- a/syncplay/players/mpv.py +++ b/syncplay/players/mpv.py @@ -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)