From 6847b6208a99169193958888b80022ee3dec88d4 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 17 Oct 2020 18:49:12 +0200 Subject: Newsboat rice --- .local/bin/mpv-view.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to '.local/bin/mpv-view.pl') diff --git a/.local/bin/mpv-view.pl b/.local/bin/mpv-view.pl index 3e17dd7..a66a75b 100755 --- a/.local/bin/mpv-view.pl +++ b/.local/bin/mpv-view.pl @@ -53,6 +53,7 @@ sub main } $size = get_size(); if ($size != 0) { + print 'mpv --ytdl-format=[height<=' . $size . '] ' . $ARGV[0] . "\n"; exec( 'mpv', '--ytdl-format=[height<=' . $size . ']', @@ -60,6 +61,7 @@ sub main ); } else { + print 'mpv ' . $ARGV[0] . "\n"; exec( 'mpv', $ARGV[0] -- cgit v1.2.3