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 os
import asyncio import asyncio
import json import json
from shlex import quote
from . import nyasync from . import nyasync
@ -15,7 +16,7 @@ class MPV:
async def run(self): async def run(self):
self.proc = await asyncio.create_subprocess_exec( self.proc = await asyncio.create_subprocess_exec(
'mpv', 'mpv',
'--input-ipc-server', self._ipc_endpoint, '--input-ipc-server=' + quote(self._ipc_endpoint),
'--idle', '--idle',
'--force-window', '--force-window',
'--fullscreen', '--fullscreen',