Check for unavaliable songs in your "Loved Tracks" playlist or any other playlist
Note: This script was made for my own needs and there is a chance that this work will not develop over time and can be abandoned
- Go to Spotify Developers Dashboard page and create an app
- Open app settings and copy the CLIENT_ID and CLIENT_SECRET and copy it somewhere
- Press "Edit settings" and set the redirect uri to http://localhost:8080
- Make sure you have installed Python 3.x
- If you are using Pipenv, run
pipenv shell && pipenv install
. Otherwise runpip install spotipy
- Run
python main.py
- Paste your
CLIENT_ID
andCLIENT_SECRET
to store them and use later on - Login to Spotify in opened browser window (No credentials is transferred to third parties)
- Choose required option in menu (This process can be long depending on "Loved Tracks" or choosen playlist size)
- After check, you will see all unavailable tracks names and position in your "Loved Tracks" or choosen playlist (Otherwise you will see message that all tracks are available)
This script will only tell you that some song or songs are unavailable in your country (Depending on country from your Spotify Access Token). To check where album of song is available, use albums-availability app by kaaes (Check brief description on Spotify Developers page)
This script is using spotipy library to communicate with Spotify API