I like to listen to Spotify while showering. For that I use a bluetooth speaker connected to my Alexa.
Sadly the Spotify track-history is quite lacking, that’s why I decided to create my own Spotify track-history with Python and Spotipy.
Since I had already done some projects with Python and Spotipy, I finished this one rather quickly but I am really happy with the end result.
It’s really simple, checking which song is played every 20 seconds and save that into a JSON-file if the song has changed.
The Python-script runs on my NAS in a docker container.
You can check it out here.
My next step is to build a frontend for my phone. I want to get into Flutter without building a todo-list, and this project might be perfect for that. Before that I might switch the backend from a simple JSON file to Firebase though.
Thanks for reading, I am happy for any feedback.