Skip to content

miscellaneous

Logging Spotify data with Spotifyd

I set up Spotify in the terminal the other day, and now I'm interested in logging what I play locally so I can do my own stats (kind of a roll-your-own Spotify Unwrapped). There's no way to get the data on every track you've played from Spotify so that you can manipulate the data yourself (the API will return the last 50 played tracks at most). However, as I'm using Spotifyd, I can use that - here's how.