diff --git a/qt/aqt/mpv.py b/qt/aqt/mpv.py index c70da9a59..d5a84c3fb 100644 --- a/qt/aqt/mpv.py +++ b/qt/aqt/mpv.py @@ -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. diff --git a/qt/aqt/sound.py b/qt/aqt/sound.py index 3d25f8f9f..c6a483749 100644 --- a/qt/aqt/sound.py +++ b/qt/aqt/sound.py @@ -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):