more patterns to detect playlists from youtube

This commit is contained in:
shockrah 2020-03-12 14:25:49 -07:00
parent 3e615443cc
commit 02d5c85677

2
ytdl
View File

@ -19,7 +19,7 @@ outplaylist="$HOME/Music/${dir}/%(autonumber)02d - %(title)s.%(ext)s"
outsingle="$HOME/Music/${dir}/%(title)s.%(ext)s"
# youtube playlists
if echo "$url" | grep -q '&list='; then
if echo "$url" | grep -q '&list=\|?list'; then
$cmd -o "$outplaylist" "$url"
# soundcloud sets
elif echo "$url" | grep -q '/sets/'; then