An open API service indexing awesome lists of open source software.

https://github.com/mandejan/spotisorter

Sort spotify playlist based on whatever.
https://github.com/mandejan/spotisorter

graph-theory sort spotify spotify-api travelling-salesman-problem

Last synced: 6 months ago
JSON representation

Sort spotify playlist based on whatever.

Awesome Lists containing this project

README

          

# Spotisorter

A set of scripts I made to sort your spotify playlist with ~ science.
Using certain metrics available with in the spotify api I sort a playlist
using the traveling salesman problem method. I made it so my playlists that
have a wide variety of genres make "sense" when listening. Music flows nicely
into each other without big changes in key/tempo/mood. If this is of use to
you let me know. :-)

\- Jan

## Requirements
This program uses the spotipy & python_tsp libraries.

`pip install spotipy python_tsp`

You also need a spotify api key, you can get one [here](https://developer.spotify.com/dashboard/).