Self-Hosted Proxy for Listening History from Last.fm and MusicBrainz
A self-hosted application that fetches listening history from Last.fm or MusicBrainz, adds metadata, and caches cover images. It stores data in DuckDB and has been reliable even for larger profiles.
Why it matters
This project provides a self-hosted solution to preserve and manage one's listening history, which can be valuable data for music enthusiasts and researchers.
Key Points
- 1Fetches listening history from Last.fm or MusicBrainz
- 2Adds metadata from MusicBrainz, Last.fm, and Discogs
- 3Caches cover images to an S3 bucket
- 4Stores data in DuckDB, with each user having their own database
- 5Reliable performance even for large listening histories (200k scrobbles)
Details
The project is a self-hosted proxy that retrieves listening history data from either Last.fm or MusicBrainz. It then adds additional metadata from MusicBrainz, falling back to Last.fm and Discogs if needed, and caches cover art images to an S3 bucket. The data is stored in DuckDB, with each user having their own database. The author mentions that this approach has been reliable even for larger listening profiles of up to 200,000 scrobbles. The motivation behind the project is the concern that centralized services like Last.fm can disappear without warning, taking the user's listening history with them.
No comments yet
Be the first to comment