TOOLS/umpv, mpv.desktop: use --no-terminal instead of --really-quiet

So this won't initialize terminal handling if stdout happens to be a
terminal. It also suppresses all output to stdout/stderr.
This commit is contained in:
wm4 2014-04-29 02:09:59 +02:00
parent f2f19b3404
commit fa1b9517bc
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ else:
raise e
os.mkfifo(FIFO, int("0600", 8))
opts = ["mpv", "--really-quiet", "--force-window", "--input-file=" + FIFO]
opts = ["mpv", "--no-terminal", "--force-window", "--input-file=" + FIFO]
opts.extend(opts_env)
opts.append("--")
opts.extend(files)

View File

@ -19,7 +19,7 @@ Comment[ru]=Воспроизвести фильмы и музыку
Comment[zh]=
Icon=mpv
TryExec=mpv
Exec=mpv --really-quiet --force-window -- %U
Exec=mpv --no-terminal --force-window -- %U
Terminal=false
NoDisplay=true
Categories=AudioVideo;Audio;Video;Player;TV;