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
1 changed files with 2 additions and 1 deletions

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