download-spotify.sh (362B)
1 #!/bin/bash 2 3 # download playlists (or albums) from ./resources/download.txt using spotdl 4 5 LS=$(cat resources/download.txt) 6 7 for item in $LS; do 8 python3 -m spotdl $item --output "output/{artist}/{album}/{title}.mp3" 9 done 10 11 # show drag and drop of output directory. 12 # this is useful if you have a web interface to upload the files to. 13 14 #dragon $HOME/bin/output/*