Ensure non-IPC mpv.net args are set (v7 workaround)

This commit is contained in:
Et0h 2024-02-02 11:46:17 +00:00
parent 2fcb1e4f79
commit 793804ede2
1 changed files with 6 additions and 0 deletions

View File

@ -50,3 +50,9 @@ class MpvnetPlayer(MpvPlayer):
def getIconPath(path): def getIconPath(path):
return constants.MPVNET_ICONPATH 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()