iTunes/Apple Music to Spotify library transfer tool. Add an album to your Spotify library simply by playing it in iTunes.
pip install itunes2spotify
Login with your Spotify username:
i2s login
or provide username with i2s login -u [USERNAME]
Tranfer albums:
i2s transfer
When a new album is played in iTunes, i2s will find the album on Spotify and ask for confirmation it is correct before adding, use i2s transfer --no-interactive
or i2s transfer -n
to disable confirmation. If i2s is unsure it will display a list of potential matches, select the appropriate album. Not all albums on Apple Music and iTunes are avaiable on Spotify.