summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-04 13:22:31 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-04 13:22:31 +0100
commit66fbfab34ff74fad6e2da45b8fb02d2df3712bb9 (patch)
tree744a1bff446e8982e40a4dfd93161e73ae058ee8 /.local
parentRevert (diff)
downloaddotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.gz
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.bz2
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.xz
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.tar.zst
dotfiles-bsd-66fbfab34ff74fad6e2da45b8fb02d2df3712bb9.zip
Fat update
Diffstat (limited to '')
-rwxr-xr-x.local/bin/mpview6
1 files changed, 4 insertions, 2 deletions
diff --git a/.local/bin/mpview b/.local/bin/mpview
index 804a32d..c1ea734 100755
--- a/.local/bin/mpview
+++ b/.local/bin/mpview
@@ -64,19 +64,21 @@ sub main
}
$size = get_size();
if ($size != 0) {
- print 'mpv --ytdl-format=[height<=' . $size . '] ' . $ARGV[0] . "\n";
+ print 'mpv --really-quiet --audio-channels=stereo --ytdl-format=[height<=' . $size . '] ' . $ARGV[0] . "\n";
exec(
'mpv',
'--really-quiet',
+ '--audio-channels=stereo',
'--ytdl-format=[height<=' . $size . ']',
$ARGV[0]
);
}
else {
- print 'mpv ' . $ARGV[0] . "\n";
+ print 'mpv --really-quiet --audio-channels=stereo ' . $ARGV[0] . "\n";
exec(
'mpv',
'--really-quiet',
+ '--audio-channels=stereo',
$ARGV[0]
);
}