Spotify DJ is a web application that creates optimized versions of your playlists.
Optimized meaning that the songs are ordered in a way that the transition between songs is as smooth as possible.
Because I can't be bothered to organize my playlists properly
The Spotify API provides several audio features for each song. These features are used to calculate the similarity between two songs. The similarity is then used to create a graph of songs.
On This graph a short Hamiltonian Path is approximated to create a playlist with smooth transitions between songs.
- Create a Spotify application here
- Add your callback url, usually http://localhost:5000/authorization/callback to the application
- Configure the app/conf/spotify_api.json file with the uri under which the server is reachable and the spotify client data
- run
pip3 install -r requirements.txt
to install the dependencies - Run the app with
python3 app/run_server.py
- Open the app in your browser at http://localhost:5000
- ???
- Profit!
See TODO.md