fix mpv call
This commit is contained in:
parent
b14a4e0fd6
commit
904209587d
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user