summaryrefslogtreecommitdiff
path: root/.local/bin/mpvsel
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/mpvsel')
-rwxr-xr-x.local/bin/mpvsel2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/mpvsel b/.local/bin/mpvsel
index d93f8e7e..3ffd8e82 100755
--- a/.local/bin/mpvsel
+++ b/.local/bin/mpvsel
@@ -16,4 +16,4 @@ done
vformat="[height<=?$height][fps<=?$fps][vcodec!^=?vp9][vcodec!^=?av01]"
-mpv --ytdl-format="bestvideo$vformat+bestaudio/best$vformat" --ytdl-raw-options='write-sub=,sub-lang="en,en-US,en-GB,zh-CN,zh-Hans,zh-Hant,zh-HK,zh-SG,zh-TW"' --fs --speed=2 "$(xsel -ob)"
+mpv --ytdl-format="bestvideo$vformat+bestaudio/best$vformat" --ytdl-raw-options='write-sub=,sub-lang="en,en-US,en-GB,zh-CN,zh-Hans,zh-Hant,zh-HK,zh-SG,zh-TW"' --fs --speed=2 "$(xsel -ob)" || notify-send "mpvsel failed"