--- a/anki/mpv.py +++ b/anki/mpv.py @@ -104,9 +104,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/anki/sound.py b/anki/sound.py index aa3431b1..a5fce446 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -124,7 +124,6 @@ class MpvManager(MPV): def setMpvConfigBase(base): mpvConfPath = os.path.join(base, "mpv.conf") MpvManager.default_argv += [ - "--no-config", "--include="+mpvConfPath, ]