summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
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]
);
}