diff options
author | xyz <gky44px1999@gmail.com> | 2021-07-17 09:37:20 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-07-17 09:37:20 -0700 |
commit | 15b5620652070b8bf9b67aec52bf78a9d7e46220 (patch) | |
tree | d2e76927ebc1c3e168f58950d144c37be56d0ca7 | |
parent | d263540b1a2659ed65a7f1da1d7a4b9f91cd9753 (diff) |
fix bug, missing double quote
-rwxr-xr-x | .local/bin/mpvsel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/mpvsel b/.local/bin/mpvsel index bfd7bc3a..27e0c8bc 100755 --- a/.local/bin/mpvsel +++ b/.local/bin/mpvsel @@ -5,7 +5,7 @@ url=$(xsel -ob) case $url in - *"youtu"*) mpv --ytdl-format=bestvideo[height<=?900][fps<=?30][vcodec!=?vp9]+bestaudio/best --fs --speed=2 --af=rubberband=pitch-scale=0.981818181818181 $url ;; + *"youtu"*) mpv --ytdl-format="bestvideo[height<=?900][fps<=?30][vcodec!=?vp9]+bestaudio/best" --fs --speed=2 --af=rubberband=pitch-scale=0.981818181818181 $url ;; *"douyu"*) alacritty -e mpv $(basename $url | python $HOME/programs/real-url/douyu.py | tail -1) ;; *) echo "Clipboard url not supportted." >&2; exit 1 ;; esac |