From fa1b9517bc3d68460b721baadf4d38ce68d422df Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 29 Apr 2014 02:09:59 +0200 Subject: [PATCH] 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. --- TOOLS/umpv | 2 +- etc/mpv.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TOOLS/umpv b/TOOLS/umpv index 162ce50449..39d69b5787 100755 --- a/TOOLS/umpv +++ b/TOOLS/umpv @@ -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) diff --git a/etc/mpv.desktop b/etc/mpv.desktop index 9a125d778f..f0ea80bb8c 100644 --- a/etc/mpv.desktop +++ b/etc/mpv.desktop @@ -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;