Migrate an iTunes playlist to Spotify.
- Create a new Spotify Application.
- Create a callback url for it (doesn't have to be really callable. I used
https://localhost/callback
). - Get the client id and client secret for it.
- Set the environment variables:
export SPOTIPY_CLIENT_ID='xxxxx'
export SPOTIPY_CLIENT_SECRET='xxxxx'
export SPOTIPY_REDIRECT_URI='http://localhost/callback'
- Install
pip install -r requirements.txt
python itunes2spotify.py username playlist.xml
Tested with python 3.7.