[mpv] Fix mpv opening time for streams
Fixed mpv taking ages to open for ytdl streams. (or anything else which takes a while to load) Mpv had to wait until it had enough buffer to begin playing and only then would open its main window. With this fix it immediately opens the window, and starts playing whenever it is ready.
This commit is contained in:
parent
9e1bc94025
commit
5837303c96
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ else:
|
|||
os.mkfifo(FIFO, 0o600)
|
||||
|
||||
opts = (os.getenv("MPV") or "mpv").split()
|
||||
opts.extend(["--no-terminal", "--force-window", "--input-file=" + FIFO,
|
||||
opts.extend(["--no-terminal", "--force-window=immediate", "--input-file=" + FIFO,
|
||||
"--"])
|
||||
opts.extend(files)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue