more patterns to detect playlists from youtube
This commit is contained in:
parent
3e615443cc
commit
02d5c85677
2
ytdl
2
ytdl
@ -19,7 +19,7 @@ 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"
|
||||||
|
|
||||||
# youtube playlists
|
# youtube playlists
|
||||||
if echo "$url" | grep -q '&list='; then
|
if echo "$url" | grep -q '&list=\|?list'; then
|
||||||
$cmd -o "$outplaylist" "$url"
|
$cmd -o "$outplaylist" "$url"
|
||||||
# soundcloud sets
|
# soundcloud sets
|
||||||
elif echo "$url" | grep -q '/sets/'; then
|
elif echo "$url" | grep -q '/sets/'; then
|
||||||
|
Loading…
Reference in New Issue
Block a user