Inspiration

I love playlists but I am terrible at mixing them so they flow nicely. I wanted to fix that!

What it does

It takes a playlist, builds it as a graph used the audio features to measure the 'distance' between two tracks. Then it treats it as the Travelling Salesman Problem and uses a genetic algorithm to learn what paths are good.

How I built it

I just used Python and the Spotify API. I also used a little bit of the Spotipy lib to help with auth.

Challenges I ran into

I don't know how the web works :( so struggled a lot getting requests and authentication to work

Accomplishments that I'm proud of

I managed to overcome the above challenges

What I learned

I got a better at Web API stuff

What's next for TravellingPlaylistProbelm

Building a better understanding of the distance between two tracks.

Built With

Share this project:

Updates