Repository navigation
v4.0.0-beta.19
Pre-releasesonn core 4.0.0-beta.19
151 commits since beta.18. The heart of this round: a second Spotify backend, a DSP chain of our own in float, and Bluetooth as a first-class input.
Spotify
Soloist as a second backend (experimental). Spotify's own headless client, switchable per server. librespot stays for now as the primary path. you can switch in the adminui.
Audio
Our own DSP on a float bus between decode and encode. Dither where samples lose width, headroom for an equalizer that boosts, and a pinned resampler rate.
No more needless re-encoding. Endpoints that can take lossless get it untouched. The library records each file's audio format at scan time, so a track that already matches skips the resampler.
Bluetooth and Sonn Clients
A phone playing in a room is now an input like any other, with its own timeline and cover art. A speaker announces itself to every server and is claimed by one; each device has a log in the admin screen, there is a single published client version, and speakers update alongside everything else.
Beoremote: the room claims the remote rather than the remote claiming the room, keys are kernel key codes now, and the Essence is supported.
API and metering
Every output has a PCM feed for the meters without touching its audio, with a timeline and a clock to read it against, plus per-channel levels. Also: the story around an item, the shelf beside an artist, muting a zone and getting its level back, and an mDNS advertisement that identifies the server.
DLNA tells control points what the zone is really doing, and asks the renderer what it plays instead of assuming MP3.
Sendspin follows the reference server's controller, seek and source surfaces, offers the encrypted path, and logs the spec deviations a session tolerates.
The event stream opens with server.snapshot, not server.ready.
Two things called "ready" meant different things, and a reporter running the readiness probe caught them contradicting each other: /api/v1/ready answered {"ready":false,"phase":"starting"} while the event stream opened by announcing server.ready (#338). The event was never a lifecycle claim — it is the snapshot every connection opens with, so a still-starting server sends it quite correctly. The name was the whole problem.
server.snapshot says what it carries and matches its siblings (zone.changed, queue.changed). GET /ready is now the only thing in the API that claims readiness. This breaks anyone reading the stream, which is why it lands now rather than after 4.0; the player and the Home Assistant integration are updated in their own repos, and INTEGRATING.md names the old event so an integrator can tell what changed.
The lox-linein-bridge is gone.
Sendspin carries a source role in the spec now and Sonn Client implements it, so the bridge was a second way to do the same thing.
Removed: /api/linein and everything under it, the admin bridge routes, the WebSocket command push, config.inputs.lineIn.bridges, the bridge-only source fields (bridge_id, capture_device, ingest_resampler), and the linein* mDNS TXT keys.
Staying, because none of it was the bridge's: the ingest transports themselves — TCP 7080 and /ingest/ — plus the command queue and the wanted flag.
No migration, deliberately. A config that still holds inputs.lineIn.bridges or a source of type bridge keeps those keys as dead weight and the input goes on working as an ingest. Recreate it to clean up.