Skip to content

A python application to manage spotify albums and tracks using the Spotify API

License

Notifications You must be signed in to change notification settings

cloonix/spotify-manager

Repository files navigation

spotify-manager

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

Why

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.

Short-term Goals

  • 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

Current state

  • Using a sqlite database
  • Basic functionality is done (adding album/track)
  • Using the spotify API already
  • Basic usability through the web interface
  • Deleting items
  • Cleanup database
  • Export/import through a file export.csv

Todos

  • Dockerize it

Installation

  1. Get a spotify developer API key from: https://developer.spotify.com/
  2. Create a .env file with SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET (and put your API keys there)
  3. Pull the repository and cd into it
  4. Create python environment with python3 -m venv .venv
  5. Actiavate your python environment!
  6. Install the pip requirements:pip install -r requirements.txt
  7. Start the app with python app.py

The app will run at http://127.0.0.1:5000

About

A python application to manage spotify albums and tracks using the Spotify API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published