Damien Elmes 2020-01-21 19:29:50 +10:00
parent 5351a5f396
commit ccd7150136
2 changed files with 3 additions and 3 deletions

View File

@ -113,9 +113,9 @@ class MPVBase:
"""
self.argv = [self.executable]
self.argv += self.default_argv
self.argv += ["--input-ipc-server", self._sock_filename]
self.argv += ["--input-ipc-server="+self._sock_filename]
if self.window_id is not None:
self.argv += ["--wid", str(self.window_id)]
self.argv += ["--wid="+str(self.window_id)]
def _start_process(self):
"""Start the mpv process.

View File

@ -283,7 +283,7 @@ class SimpleMpvPlayer(SimpleProcessPlayer, SoundOrVideoPlayer):
def __init__(self, taskman: TaskManager, base_folder: str) -> None:
super().__init__(taskman)
conf_path = os.path.join(base_folder, "mpv.conf")
self.args += ["--no-config", "--include=" + conf_path]
self.args += ["--include=" + conf_path]
class SimpleMplayerPlayer(SimpleProcessPlayer, SoundOrVideoPlayer):