diff options
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/mpvy | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,7 +9,7 @@ cookie= download_dir= fps=30 height=$SCR_HEIGHT -url="$(xsel -ob)" +url= cookie_ytdl= cookie_mpv= @@ -28,6 +28,9 @@ while getopts Aabcd:f:h:su: opt; do \?) exit 1;; esac done + +[ "$url" ] || url="$(xsel -ob)" + if [ -z "$format" ]; then # xyzstudio GPU #vformat="[height<=?$height][fps<=?$fps][vcodec!^=?vp9][vcodec!^=?av01]" |