1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 06:39:02 -08:00

bypass ytdl-format checks for now (no longer an issue?)

This commit is contained in:
Connor Olding 2021-12-02 13:06:31 -08:00
parent 803a77d27b
commit 5cda41a841

View file

@ -74,7 +74,8 @@ mpv_watch() { ### @-
local url="$1"; shift
local seen=0 A=()
for a; do [ "$a" = "${a#--ytdl-format}" ] && A+=("$a") || seen=1; done
# for a; do [ "$a" = "${a#--ytdl-format}" ] && A+=("$a") || seen=1; done
for a; do A+=("$a"); done # bypass ytdl-format checks
[ $seen = 0 ] || printf '%s\n' "NOTE: the --ytdl-format flag is temporarily ignored due to throttling issues." >&2
if has youtube-dl && ! has yt-dlp; then