Repository navigation
Built from 0ddb8c72 (30 PRs since v0.2.2). The wire protocol is unchanged at v1, with one additive note: the mDNS host key may now be absent.
Highlights
Player
- 16-bit tracks now play on a DAC with no 16-bit format, such as the Mytek Brooklyn DAC+. They were refused with "couldn't play this track". The samples go losslessly in a wider container; no value changes, and a DAC that takes 16-bit sees no difference.
- The bridge's own player seeks within a track.
- When it can't open the DAC, the player names the audio group to fix.
- An OpenHome port clash no longer hides a settings error.
Install and storage
- A host whose name isn't ASCII can install.
bridge initandserveused to fail with "cannot be encoded as an IA5String", which should reach Windows computer names in Cyrillic or Chinese too. Its certificate and advertised names now use the IDNA form, and a name with no valid form pairs at a LAN address. An ASCII name changes nothing. - A disk that mounts after the bridge starts is never taken for an empty library or data dir. The library's rows are kept, the watcher holds the root and looks again, and serve refuses a recorded data dir that has gone rather than making a new identity and database on the bare mount point.
serverefuses a data dir it can't prepare, andbridge doctorchecks the data dir for every config.
Updates
- An update's config is validated before the swap, and an install that refuses its settings at first start rolls back before serve writes anything.
- The updater's install and rollback hold the marker's lock; a late first boot completes its install; the console's Roll back follows the rollback's refusal; a failed Check keeps the Updates rows.
Network and pairing
- DLNA serves private addresses only, and a public one by name.
- The pairing link is
onebit://pair.
Dependencies: golang.org/x/net v0.62.0.
Groundwork, dormant in this release: the DAC profile database for the player's coming DSD choices. Nothing reads it yet.
Upgrade notes
- A record,
.bridge.yaml.datadir, is written beside the config at the first start with the data dir's volume there. If you move a data dir on purpose, changedataDirin the config, and the record follows it. - If that first start after updating happens while the volume is away, there's no record yet, so it can't be told from a new install. Start with the volume mounted.
- No re-qualification is needed: owners' DSD approvals from earlier versions stay accepted.
Verified before release
- A Docker upgrade from the 0.2.2 image: the fingerprint and token survive, the schema is unchanged, re-extraction rewrote nothing, HTTP/3, a rendition and the original files' bytes all check out, restart and stop are clean, and the licence notices match.
- The test suite on Windows, a real
initandservethere, and the suite on a Mac whose real host name isn't ASCII: 83 of 83 packages, where about 200 tests failed before. - The candidate on a Raspberry Pi with a USB DAC and on the operator's bridge, with no warnings or errors through a scan and the TLS fingerprint unchanged.
- The nightly fuzz on the release commit, and the release archives' checksums and signature.