Personal project

SpinStack

Self-hosted music tracking that turns your Sonos playback into a private, searchable listening history. No cloud. No subscriptions. No third parties.

Project site
spinstack.org
Maintained by
Charles Leerink

What it does

SpinStack watches every room on a Sonos network and logs every track that plays, without a manual check-in. Tracks are enriched through MusicBrainz and Deezer — release year, genre, label, BPM, ISRC and high-resolution album art — and the enriched metadata is cached locally. The dashboard shows what is playing now, recent plays, top artists and albums, and listening trends over time.

Where the data stays

The listening history lives in a local SQLite database on hardware you control. There is no cloud account, no telemetry and no third-party server involved. The only outbound calls are the metadata lookups, plus the optional ListenBrainz plugin if you turn it on. A Last.fm bridge exists as an optional plugin rather than a requirement, so the social features are available without giving up the local copy.

The site is explicit that anything your Sonos plays is scrobbled — Spotify, Tidal, Apple Music, Sonos Radio and local libraries all flow through — and that the data never leaves your network beyond those metadata calls.

What it runs on

Python 3.12 or newer on any machine on the network, with a Raspberry Pi 4 suggested as the low-power always-on companion. The plugin architecture lets new sources be dropped in against the event dispatcher.

Who builds it

SpinStack is built by a former Sonos engineer — Charles Leerink, whose escalation engineering work at Sonos is documented above.