VERY simple script to import a given list res/artists.txt
to spotify using the wonderful https://github.com/thelinmichael/spotify-web-api-java
How to use:
- create
res/artists.txt
with a\n
seperated list of your artists - create an API-Token, that allows you to set what artists you follow and save it to
res/auth-key.txt
see https://developer.spotify.com/web-api/console/put-following/ - run the app with (
java -jar spotify_import_artists-1.0-SNAPSHOT-jar-with-dependencies.jar
) - execute the generated shell script
./commands.sh
- ???
- Profit
If any artists could not be found by their name in Spotify, they will be written to notFound.txt in Step 3, so you can easily try to find them manually (maybe Spotify lists them under a different alias).
How to build:
- execute
mvn clean compile assembly:single
to create the jar