Spotify's recent changes caused some albums (those where you saved/favorited songs but not the album) to be removed from your Library's album list.
Those songs are still in your Library's song list however. This script looks at all of your saved songs, finds the corresponding album, and saves it to your Library's album list if it is not already there.
- You'll need to create a new client ID on Spotify's developer site, including setting up a redirect URI.
- Fill in the credentials in
populate_env.sh
and runsource populate_env.sh
. - Install spotipy.
pip install spotipy
- Update
username
on line 7 ofresave_albums.py
to your spotify username.
Run at your own risk!
python resave_albums.py