Skip to content

Commit

Permalink
Ensure non-IPC mpv.net args are set (v7 workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed Feb 2, 2024
1 parent 2fcb1e4 commit 793804e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions syncplay/players/mpvnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@ def getExpandedPath(playerPath):
def getIconPath(path):
return constants.MPVNET_ICONPATH

def sendMpvOptions(self):
for key in self._listener.mpv_arguments:
if key != "script" and key != "input-ipc-server":
self._setProperty(key, self._listener.mpv_arguments[key])
super().sendMpvOptions()

0 comments on commit 793804e

Please sign in to comment.