fix mpv call

This commit is contained in:
Peder Bergebakken Sundt 2021-08-19 22:45:24 +02:00
parent b14a4e0fd6
commit 904209587d

View File

@ -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',