A python application to manage spotify albums and tracks using the Spotify API
Code is a work-in-progress and will be published as soon as it is in a usable state
Maybe it's just me, but managing my favorite albums and tracks through the Spotify application confuses (annoys) me. I was looking for a convenient way to manage my collection and I didn't want to use Excel. It was a nice project for me to improve my python skills. Plus, I was testing Github Copilot while writing the code.
- Insert spotify albums and tracks by its URL to the database
- Uses the official Spotify API via spotipy
- Metadata to add: artist, album, genre, release year, uri and url
- Very basic/simple import/export function
- Build a small web UI to manage the items in the database
- Browsing and adding items in the web interface
- Dockerize it
- Better usability if the collection is getting bigger
- Get a spotify developer API key from: https://developer.spotify.com/
- Pull the repository and
cd
into it - Create a
.env
file withSPOTIPY_CLIENT_ID
andSPOTIPY_CLIENT_SECRET
(and put your API keys there) - Create python environment with
python3 -m venv .venv
- Activate your python environment!
- Install the pip requirements:
pip install -r requirements.txt
- Start the app with
python app.py
or withgunicorn -w 4 -b 0.0.0.0:5000 wsgi:app
(pip install gunicorn
)
The app will run at http://127.0.0.1:5000