* Upgrading to yt-dlp to avoid throttling

This commit is contained in:
shockrah 2022-04-03 22:22:11 -07:00
parent c2091d2886
commit d839df9938

2
ytdl
View File

@ -14,7 +14,7 @@ url=`echo '' | dmenu -p 'Enter a url'`
if [ -z "$url" ]; then exit; fi if [ -z "$url" ]; then exit; fi
# youtube-dl constantly breaks so --verbose is here for your pleasure # youtube-dl constantly breaks so --verbose is here for your pleasure
cmd='youtube-dl --extract-audio --verbose --audio-format mp3' cmd='yt-dlp --extract-audio --verbose --audio-format mp3'
outplaylist="$HOME/Music/${dir}/%(autonumber)02d - %(title)s.%(ext)s" outplaylist="$HOME/Music/${dir}/%(autonumber)02d - %(title)s.%(ext)s"
outsingle="$HOME/Music/${dir}/%(title)s.%(ext)s" outsingle="$HOME/Music/${dir}/%(title)s.%(ext)s"