summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/mpvy2
1 files changed, 1 insertions, 1 deletions
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