Skip to content

Commit

Permalink
Create secondary mpv IPC Socket "mpvSyncplaySocket" by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Feb 2, 2024
1 parent 5419358 commit fa1278a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncplay/players/mpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +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"))
publicIPCSocket = self._listener.mpv_arguments.get("input-ipc-server") if self._listener.mpv_arguments.get("input-ipc-server") else "mpvSyncplaySocket"
self._setProperty("input-ipc-server", publicIPCSocket)

def _handleUnknownLine(self, line):
self.mpvErrorCheck(line)
Expand Down

0 comments on commit fa1278a

Please sign in to comment.