diff options
Diffstat (limited to '.local/bin/mpv-view.pl')
-rwxr-xr-x | .local/bin/mpv-view.pl | 2 |
1 files changed, 2 insertions, 0 deletions
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] |