gitmyhub

ScrobblePlot

Python ★ 0 updated 1mo ago

A Python app to generate scatter plots of your last.fm library

A small Python app that downloads your last.fm listening history and turns it into a scatter plot image.

PythonTkinterMatplotlibsetup: moderatecomplexity 2/5

ScrobblePlot is a small Python application that turns your last.fm listening history into a scatter plot image. Last.fm is a music tracking service that records what you listen to, and each recorded play is called a scrobble. This tool downloads your scrobbles and plots them so you can see a visual picture of your listening habits over time.

To use it, you need an API key for your own last.fm account, which you can generate through last.fm's own account page. The app itself is built with Python 3, using tkinter for its interface and matplotlib to draw the chart.

According to the README, the tool can download a very large library, around a quarter million scrobbles, in about fifteen minutes, and then generate the actual chart image in just a couple of seconds. Downloaded scrobbles are stored locally in a JSON file, and the app is designed to handle incomplete downloads: it can fill in gaps from a previous run, and if a cache file is already present, it will simply append newly found scrobbles to it rather than starting over.

The final output is a PNG image. All of the app's working files, meaning its cache, its settings, and the output image, are saved in the same directory as the main ScrobblePlot.py script, so there is no separate configuration folder to look for.

The README is fairly brief and does not go into detail about installation steps beyond needing Python 3 with tkinter and matplotlib, or about what the resulting scatter plot actually shows on its axes.

Where it fits