From 62ee78005ace41abab179580905dff52b6516271 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 21 Sep 2021 00:34:03 -0700 Subject: refactor --- .local/bin/mpvy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin') diff --git a/.local/bin/mpvy b/.local/bin/mpvy index 50c2566c..eb1820f8 100755 --- a/.local/bin/mpvy +++ b/.local/bin/mpvy @@ -36,7 +36,7 @@ case $flag in a) yt-dlp -f "$format" --embed-subs -P "${download_dir:-/tmp/mpvy/}" --sponsorblock-remove all "$url" --exec 'mpv --fs --speed=2';; s) mpv --ytdl-format="$format" --ytdl-raw-options='write-sub=' --fs --speed=2 "$url";; esac -# not sure if this is the best practice, but it works ;) +# not sure if this is the best practice, but it seems working ;) status=$? [ $status -ne 0 ] && notify-send 'mpvsel failed' exit $status -- cgit v1.2.3-70-g09d2