1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| | From 0e2c723f2b920f96937725a12e3db13c14795117 Mon Sep 17 00:00:00 2001
From: Robert Smith <robertsmith@posteo.net>
Date: Thu, 27 Feb 2020 20:07:08 +0100
Subject: [PATCH] Fix mpv argument formatting
---
mpv now requires that the input-ipc-server argument be passed with an
equals sign and without any spaces. This is a slightly out-of-date
version of anki, so presumably mpv used to be more lenient with
command line arguments.
---
anki/mpv.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anki/mpv.py b/anki/mpv.py
index f53d9d0..c6e7dd7 100644
--- a/anki/mpv.py
+++ b/anki/mpv.py
@@ -104,7 +104,7 @@ 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)]
--
2.25.0
|