|
|
|
@ -32,7 +32,7 @@ if [ -n "$urls" ] && check_exists "youtube-dl"; then |
|
|
|
if echo "$urls" | grep -qF "scribblehub.com"; then |
|
|
|
check_exists "lncrawl" && opts="crawl|$opts" |
|
|
|
else |
|
|
|
check_exists "mpv" && opts="play|$opts" |
|
|
|
check_exists "mpv" && opts="play|low-play|$opts" |
|
|
|
opts="download|$opts" |
|
|
|
fi |
|
|
|
fi |
|
|
|
@ -72,7 +72,9 @@ case "$choice" in |
|
|
|
;; |
|
|
|
"play") |
|
|
|
playvideo "$clip" |
|
|
|
|
|
|
|
;; |
|
|
|
"low-play") |
|
|
|
playvideo -l "$clip" |
|
|
|
;; |
|
|
|
"audio-search") |
|
|
|
"$TERM_EMU" --single-instance mpv --ytdl-format=bestaudio ytdl://ytsearch:"$clip" |
|
|
|
|