A simple, no-login desktop tool that lets you export your Last.fm listening history (scrobbles) to a structured .csv file.
Built with Python and Tkinter for an easy-to-use GUI.
-
Export your Last.fm scrobbles to
.csv -
Select a date range using a calendar widget
-
Detect and mark loved tracks
-
Consolidate play counts for repeated tracks
π€ What does "Consolidate play counts for repeated tracks" mean?
When a track is played multiple times during the selected date range,
the app groups all those plays into one row in the CSV.- β
Playcountshows how many times you played the same track - π
Played Timereflects the most recent play - β€οΈ
Lovedis set to 1 if any of the plays were loved
This keeps your data clean and compact, without duplicates.
- β
-
Choose where to save the CSV file
-
Input via username or profile URL
- Enter your Last.fm username or profile URL
- Select a time range (or choose All time)
- Browse and pick an output folder
- Preview the first 100 tracks before saving
No Python or installation required β just double-click and go.
Make sure Python 3.9+ is installed. Then install these libraries:
pip install requests tkcalendarThe following libraries are built-in:
tkinterdatetimecsvos
(No installation needed for these)
python gui_lastfm_to_csv.pyThe exported .csv file includes these columns:
| Column | Description |
|---|---|
| Played Time | Timestamp of each scrobble |
| Artist | Artist name |
| Track Title | Song name |
| Loved | 1 = loved, 0 = not loved |
| Playcount | Number of times track was played |