Live data from Hacker News

Analyzing Spotify Stream History

ericchiang.github.io

11–20 of 26 posts

Re: Analyzing Spotify Stream History

#12

I collected 10 years worth of my complete listening habits via a lastfm plugin, in the past for Winamp, then for iPhone/Android Media players and finally within Spotify. Now lastfm has shut down their free API access and visualization tools stopped working. I printed a 2x1m large poster of my over 10 years of data as a beautiful LastGraph visualization.

> Now lastfm has shut down their free API access

I think they just sometimes disable new API accounts creation. It is open now anyway, and my old API key is still working.

Re: Analyzing Spotify Stream History

#14
For me, this is easily one of best pros of using Spotify. The post did not mention but it may take up to a month to get data files from spotify (took 28 days for me) but it is worth it. One example use case for data science is the Stats.fm project that neatly aggregates you listening history with graphs and such.

Re: Analyzing Spotify Stream History

#15
I have been using last.fm[1] for this for years (just checked, from 2008!). They now do a rolling weekly and annual interactive chart which is fun to look at, here's mine for 2023[2].

They have a Spotify integration and I use PanoScrobbler on mobile.

[1]: https://www.last.fm/

[2]: https://www.last.fm/user/GripFx/listening-report/year

Re: Analyzing Spotify Stream History

#16

I wish YouTube Music did this :( Ideas for other analysis; Songs that over or under index when sliced by some other dimension. Weather? Morning vs evening? Weekday vs weekend? Summer vs winter? Songs you never finish vs songs you always finish. Songs you don't like from albums you do. One hit wonders (within your personal taste) Songs you've played 10+ times but haven't heard in over three years If you had this data…

It would be possible to plug an LLM [1] into the stream history and be able to directly type the ideas you cited and get instant results.

> If you had this data at scale

That was the "raison d'etre" of last.fm. Alas, it is not popular anymore (=smaller scale)

> favourite songs from people who enjoy similar niches to you

In last.fm, you can go to an artist's listener page [2], pick a user who "listens to Televators a lot", export their most-listened/loved tracks to Spotify, filter them by genre, and try them out :). You could also go to a track page [3], pick a user who commented on it, and do the same.

[1] https://news.ycombinator.com/item?id=39261486

[2] https://www.last.fm/music/The+Mars+Volta/+listeners

[3] https://www.last.fm/music/The+Mars+Volta/_/Televators

Re: Analyzing Spotify Stream History

#18
post #15

I have been using last.fm[1] for this for years (just checked, from 2008!). They now do a rolling weekly and annual interactive chart which is fun to look at, here's mine for 2023[2]. They have a Spotify integration and I use PanoScrobbler on mobile. [1]: https://www.last.fm/ [2]: https://www.last.fm/user/GripFx/listening-report/year

+1 for last.fm, so glad its still alive and that scrobbling still works :)

Been at it since 2004 [0]!

[0] https://www.last.fm/user/nudgeee/listening-report/year

Re: Analyzing Spotify Stream History

#20

I collected 10 years worth of my complete listening habits via a lastfm plugin, in the past for Winamp, then for iPhone/Android Media players and finally within Spotify. Now lastfm has shut down their free API access and visualization tools stopped working. I printed a 2x1m large poster of my over 10 years of data as a beautiful LastGraph visualization.

> Now lastfm has shut down their free API access I think they just sometimes disable new API accounts creation. It is open now anyway, and my old API key is still working.

can confirm my key still works too
Post reply on HN