From 904209587d9ed084e011b54550cad4ba3e425780 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 19 Aug 2021 22:45:24 +0200 Subject: [PATCH] fix mpv call --- grzegorz/mpv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grzegorz/mpv.py b/grzegorz/mpv.py index eb5a56a..442d7d8 100644 --- a/grzegorz/mpv.py +++ b/grzegorz/mpv.py @@ -1,6 +1,7 @@ import os import asyncio import json +from shlex import quote from . import nyasync @@ -15,7 +16,7 @@ class MPV: async def run(self): self.proc = await asyncio.create_subprocess_exec( 'mpv', - '--input-ipc-server', self._ipc_endpoint, + '--input-ipc-server=' + quote(self._ipc_endpoint), '--idle', '--force-window', '--fullscreen',