Based on songs downloaded locally, this tool searches them on Spotify and adds them to a newly created playlist.
Install spotipy:
https://spotipy.readthedocs.io
Change client_id
and client_secret
in config.json
, according to your application values.
Get your application values from: https://developer.spotify.com/dashboard/applications.
Start tool with:
python local2spotify your-username
Follow instructions in terminal.
https://spotipy.readthedocs.io
https://developer.spotify.com/documentation/web-api/reference/search/search/
https://developer.spotify.com/console/post-playlists/
https://developer.spotify.com/documentation/web-api/reference/playlists/add-tracks-to-playlist/