#!/bin/bash
artists=(
	https://open.spotify.com/artist/3bfSaJqEYosPcdoCN06G3P # Pinkshift
	https://open.spotify.com/artist/48GgebpHGBikfDXg0o592i # Hands Off Gretel
	https://open.spotify.com/artist/4Z8W4fKeB5YxbusRsdQVPb # Radio Head
	https://open.spotify.com/artist/2eq1D9x8jRZQa3vAVn5wHi # Nouvelle Story
	https://open.spotify.com/artist/3RBbPmeuOZUZK0xtR32fHy # I'm Gheist
	https://open.spotify.com/artist/29OqAIxz15uCoDjXX0a4Gg # inuday
	https://open.spotify.com/artist/0Hsm1DHvcL8kNCWRlZAxkP # Jace June
	https://open.spotify.com/artist/4BqK6JLgMwQ99hx85DxNhP # John Michael Howell
	https://open.spotify.com/artist/34IxeAY58XxcEJxdLRR3MR # Krystal System
	https://open.spotify.com/artist/1WgXqy2Dd70QQOU7Ay074N # AURORA
	https://open.spotify.com/artist/7gXb99Sf9nNmpNYeAgIQFG # Sub Urban
	https://open.spotify.com/artist/3rNX4fCtNvNyDcLhfpA1NN # Halou
	https://open.spotify.com/artist/6ffGl12en9jAbvFTJmWxkW # RafScrap
	https://open.spotify.com/artist/38wxcfNEqMwuPniHvplin5 # NEONI
	https://open.spotify.com/artist/50tDsT4wwq8FCMJNkn1D67 # AViVA
	https://open.spotify.com/artist/0HODHLn6ujo4Zmu17oF4HF # UNDREAM
	https://open.spotify.com/artist/0TCuSgJzNaRyxjbvvLjBK3 # Lollia
	https://open.spotify.com/artist/3AYZMgvmzNKc3cGmJUSITh # Jake Daniels
	https://open.spotify.com/artist/0if9xXy3yUwyqOjViLYnan # CVllXXX
	https://open.spotify.com/artist/4IliztYDlfMvzQzbx50o60 # Fly Leaf
	https://open.spotify.com/artist/5r9uIJCoquVtEkCkvcn8Ez # Get Scared
	https://open.spotify.com/artist/298H8XdYsBHii98wfAZT1S # VIOLENT VIRA
	https://open.spotify.com/artist/7FBcuc1gsnv6Y1nwFtNRCb # My Chemical Romance
	https://open.spotify.com/artist/3N8Hy6xQnQv1F1XCiyGQqA # Sleeping With Sirens
	https://open.spotify.com/artist/4iJLPqClelZOBCBifm8Fzv # Pierce The Veil
	https://open.spotify.com/artist/5lesbEwQ2NN151pbqCjOZ8 # Miss Cherry Delight
	https://open.spotify.com/artist/5G4r8ljlfEd8oFcI2Fneax # Babyteeth
	https://open.spotify.com/artist/1NFdLYtu29c6NKzd49BdEd # ELAZ
	https://open.spotify.com/artist/0razZwrEBUw3dXGrlfbGbb # The Grass Museum
	https://open.spotify.com/artist/6feiG5vBlLmBTU0cfJ16zv # Max Madly
	https://open.spotify.com/artist/6hV6oxGLeLFw17DGjIPkYD # Cosmo Sheldrake
	https://open.spotify.com/artist/2CRxNuABFZtB0WLApF2pvP # Merci Raines
	https://open.spotify.com/artist/2EXpthNgSeTDeX8nGwxppp # Paris Paloma
	https://open.spotify.com/artist/4IF11U0nzFhAaLDGZH3vSx # RichaadEB
	https://open.spotify.com/artist/2y69gaZL8wD15wSB2Vl188 # Pollyanna
	https://open.spotify.com/artist/2hThsqaVEAWhWPBXnaOfB9 # Pussy Riot
	https://open.spotify.com/artist/0hAd6zwEgt9ILuMDY1prcI # Palaye Royale
	https://open.spotify.com/artist/5fENlrINIVP0gJOtKxvORt # Call me Karizma
	https://open.spotify.com/artist/4ZgQDCtRqZlhLswVS6MHN4 # grandson
	https://open.spotify.com/artist/0cevUP0ssLSLm7ict9X2E9 # Azari
	https://open.spotify.com/artist/0XDvcwWavm2VcdiXwDKgvB # jon-YAKITORY
	https://open.spotify.com/artist/6NOuhUhXshepSHcBqwwZJt # issey
	https://open.spotify.com/artist/0pWR7TsFhvSCnbmHDjWgrE # Creepy Nuts
	https://open.spotify.com/artist/5qUT9YBghleRCXg0WifEzf # Yuri
	https://open.spotify.com/artist/1A7NzAUPSwbUmfyGEmRM7h # Anya Nami
	https://open.spotify.com/artist/5HuKMWteBRI09tWyKeQE1F # Kiki Rockwell
	https://open.spotify.com/artist/1jJzuhgUaCarfJG7PFbcQL # Isaak Wolf
	https://open.spotify.com/artist/50RI7HrjY56ozmvYBd5mND # Lappy
	https://open.spotify.com/artist/3Im80147ZVJOINDRXLlh5p # vylt
	https://open.spotify.com/artist/3eA50bg8EgNcCd4VbgkcxA # ProdGX
	https://open.spotify.com/artist/5ehwNkSX4dudpuUlmACPw3 # L-79
	https://open.spotify.com/artist/7ArkPxPSwZoQw5ESuxt4oG # Rok Nardin
	https://open.spotify.com/artist/47jj8O3bfaoJYIPABYBtEc # Ewy
	https://open.spotify.com/artist/65uuUPZ3mkqQ6gi0zfefHb # Birds Fear Death
	https://open.spotify.com/artist/52kWQlXGQIUQXXlFfQSUeV # TotalDeadCenter
	https://open.spotify.com/artist/40Aif8AfzbNGA2s52ESEE2 # Sofia Isella
	https://open.spotify.com/artist/7v1FnYrZOgvaUme0ihJWBo # Starving Narcissist
	https://open.spotify.com/artist/6S2tas4z6DyIklBajDqJxI # Infected Mushroom
	#https://open.spotify.com/artist/2kdmTOXncgNHSuYVMhdd5I # Jorge Rivera-Herrans (Epic: The Musical)
	https://open.spotify.com/artist/727lHtPYLOpucSU9lJoKPF # Chai
	https://open.spotify.com/artist/6XgIk9Y6qy6JCMZVime6DQ # Bob Vylan
	https://open.spotify.com/artist/1N1JZ3SRv6PSzAsOEW2aZp # Bear Ghost
	https://open.spotify.com/artist/7xUEVAixJOG51xLGQvRCLH # AZALI
	https://open.spotify.com/artist/1jj5JcHK4rKRFXxVdu7GPx # Alice Schach and the Magic Orchestra
	https://open.spotify.com/artist/52KatchKjz0L2amwBDxxwO # aeseaes
	https://open.spotify.com/artist/0K05TDnN7xPwIHDOwD2YYs # Mili
	https://open.spotify.com/artist/7a9a1rfEgOYQVJrPUKfl3k # Cjbeards
	https://open.spotify.com/artist/7s3OoIocX1gTOnEvCg2VV8 # McCafferty
	https://open.spotify.com/artist/7wMpo9UvGYjLW5BMKiQ958 # FREE.99
	https://open.spotify.com/artist/5Y7rFm0tiJTVDzGLMzz0W1 # IMANU
	https://open.spotify.com/artist/7MxaflmSZI1igZLk7Rg2LD # YMIR
	https://open.spotify.com/artist/3xNCp8cktZ1IGwRregR2yO # Aviators
	https://open.spotify.com/artist/3YQKmKGau1PzlVlkL1iodx # Twenty One Pilots
	https://open.spotify.com/artist/3HedFe4b2Nqeg1CEzmt6ZI # Marino
	https://open.spotify.com/artist/0e5Rda7VQAY786739xp0Jt # Rare Americans
	https://open.spotify.com/artist/7l5zSPffvPDaRRYkAHsyt7 # Monster Siren Records
	
	# Playlists
	#https://open.spotify.com/playlist/3tR5wuaokeG1Ar0HvdCuAY # Quasit Core
	#https://open.spotify.com/playlist/5DBqRUN0h5NpE9yMCNzs61 # Kyra
	#https://open.spotify.com/playlist/25kq2zv8ywAo5yisCptKtW # Kyra's Sad Playlist
	#https://open.spotify.com/playlist/4gzCuKE63u3K30Ccdv2WNb # Kyra Silverblood
	#https://open.spotify.com/playlist/4HhKD4F7uyS2HoPPz4RlT2 # Liked songs
)
playlists=(
	https://open.spotify.com/playlist/2ayhvZtoig4J0aYP3XJ16D # Maidcore playlist
	https://open.spotify.com/playlist/4xkJNICP5ILTtdrtWNWI4W # Re:Zero OST
	https://open.spotify.com/playlist/3HvgaZeBWbr7UjFeicPFRI # EPIC: The Musical
)
albumsources=(
)

for url in "${artists[@]}"; do
	/spotdl/bin/spotdl --save-errors ./failed-songs.txt --output "{artist}/{album}/{track-number} - {title}.{output-ext}" "$url"
done

for url in "${playlists[@]}"; do
	/spotdl/bin/spotdl --m3u --save-errors ./failed-playlists.txt --output "{artist}/{album}/{track-number} - {title}.{output-ext}" "$url"
done

for url in "${albumsources[@]}"; do
	/spotdl/bin/spotdl --m3u --fetch-album --save-errors ./failed-albums.txt --output "{artist}/{album}/{track-number} - {title}.{output-ext}" "$url"
done

# Monster hunter wilds
/spotdl/bin/spotdl --save-errors ./failed-songs.txt --output "Capcom Sound Team/{album}/{track-number} - {title}.{output-ext}" https://open.spotify.com/album/7pHUiKv5aacEuna4rdiJyZ

