mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
bypass ytdl-format checks for now (no longer an issue?)
This commit is contained in:
parent
803a77d27b
commit
5cda41a841
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ mpv_watch() { ### @-
|
||||||
local url="$1"; shift
|
local url="$1"; shift
|
||||||
|
|
||||||
local seen=0 A=()
|
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
|
[ $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
|
if has youtube-dl && ! has yt-dlp; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue