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.
- Host: GitHub
- URL: https://github.com/mandejan/spotisorter
- Owner: ManDeJan
- Created: 2021-07-20T23:17:06.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-21T08:50:55.000Z (about 4 years ago)
- Last Synced: 2025-04-18T19:21:46.999Z (6 months ago)
- Topics: graph-theory, sort, spotify, spotify-api, travelling-salesman-problem
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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/).