Repository navigation
v0.2.0
This release replaces the app's interface and reworks much of what sits behind it: how speakers are found and played to, what happens when something fails, updates, and Setup. The sound driver is unchanged.
The interface
- A new panel opens from the app's icon on the taskbar. It shows what plays and its volume, then This PC, every speaker and Music Assistant in one list. One click moves the sound. The delay and the links Can't hear it?, Speaker missing? and Settings are under the list.
- A window with the same contents opens when the app is started from the Start menu.
- First run is three pages: where the sound should play, whether the chime was heard, and what plays now.
- Can't hear it? checks step by step and stops at the first broken step, with the fix as a button. Speaker missing? names the network the app looks on, lists hidden speakers and takes a speaker's address.
- One line above the links says what is new: a newer version, a device that asked for the sound, settings that couldn't be saved.
- The tray menu lists every speaker and each of this PC's outputs. Notifications say when sound starts on a speaker after a break and when a speaker stopped responding.
- The page for your phone shows what plays first and has the panel's buttons.
- Narrator and other assistive tools get the rows with their state, the buttons and the volume as a value.
- Speaker names in Chinese, Japanese and Korean are drawn with Windows' own fonts for them (#109).
- The volume shown stays in step with Windows, and the status says only what is true (#107).
Speakers
- Sonos groups and stereo pairs are one row named by their rooms. The list follows groups changed in the Sonos app, and a group's volume keeps the balance between its rooms.
- A HomePod pair is one speaker. With one HomePod away it says 1 of 2 found · can't play yet.
- This PC's outputs are listed by their own names and can be picked.
- Music Assistant: its page follows Music Assistant's current setup, and pairing codes count down. When its server leaves while sound plays, the sound goes on from this PC after ten seconds, with a note. Discovery follows the network adapter chosen for finding speakers (#105). With Music Assistant on another network, the README says which address to enter in Music Assistant (#119).
- Speakers that refused the connection: the app offers a speaker the sound as a type the speaker lists, and a refused connection shows the speaker's own error, such as 714 Illegal MIME-type (#117).
- AirPlay: a receiver that answers 453 Not Enough Bandwidth is taken as busy and tried once more (#116). HomeKit pairing no longer fails about once in 128 tries, and a stored Apple TV pairing is kept when its check fails (#114).
Who can hear this PC
- Only the speaker you picked gets this PC's sound, with the other members of its group and devices you allowed. A device that asks and doesn't get it is named on the panel with Allow. The switch Let any device on this network listen is in Settings.
- The page for your phone and the API are behind a secret link, and the audio stream is closed to other devices while nothing is streaming (#113).
- Music Assistant keys and pairings are protected with Windows' data protection (#106).
- Messages from other devices on the network are read within limits. A broken one no longer stops the app (#112, #114).
When something goes wrong
- The app starts again by itself after a crash. When it keeps crashing it stops trying, and a window says so.
- A display that sleeps, wakes or changes no longer ends the app with a fatal error. The tray menu offers a restart of the app when the window can't be drawn for ten seconds.
- Graphics that can't draw the app's windows get a window that says so and what usually fixes it.
- An output of this PC that Windows won't open is tried again, and the panel says so meanwhile.
- A speaker that stops responding: the sound moves to this PC and a note says so.
Updates
- Update now downloads the new Setup, has Windows check that the same publisher signed it, asks GitHub about the release once more, and runs it. Setup closes the app, updates it and starts it again.
- The × on the line about a newer version hides that version for a week. Skip this version hides it until Check now.
Setup, repair and uninstall
- The driver step keeps a working driver. Until now every install and update removed the device and every driver package before it knew whether the new driver would install. That moved the PC's sound to another output and lost Windows' choice of Stream To Speaker as the output. Now a driver that is already installed and working is left alone.
- Setup's last page says what happened and what to do next. A restart is asked for only when the driver Windows has loaded isn't the one installed.
- The install folder is yours to choose, with Program Files as the default. An update goes to the folder the app is in.
- Installed scripts and driver files are checked before they run as administrator. A file that differs from what Setup installed isn't run, and the app says that running Setup again puts it back.
- Install the sound driver again is offered at the end of Can't hear it? and works while the app runs.
- Setup never starts the app with administrator rights.
- Windows Firewall: a second rule lets speakers on the same subnet reach the app on a network Windows treats as public.
- Uninstall moves Windows off the app's sound output first, names what it couldn't remove and keeps a log.
- The app keeps its files in one folder,
%APPDATA%\StreamToSpeaker(#120). Diagnose.ps1reports the driver Windows actually uses and keeps names and addresses out of its report.
Scripts and home automation
- Settings shows the API's address with the port in use, next to Copy key. The README's examples use it.
Building and releasing
- A release stays a draft until every step has passed, the driver is checked for reproducibility before the installer is signed, and CI actions are pinned to commits (#108, #111, #115).
Found a problem? Settings → Report a problem collects what is needed for an issue here.
All changes
- Dismiss the "Still connecting" notice when the connect ends by @Mihonarium in #104
- Sendspin discovery follows the discovery network adapter; "Never" applies to the Sendspin launch reconnect by @Mihonarium in #105
- Protect Sendspin keys and pairings with DPAPI; read config.json saved with a byte-order mark by @Mihonarium in #106
- Keep the volume display in step with Windows and make the status say only what is true by @Mihonarium in #107
- Release chain: draft releases, a driver reproducibility gate before the installer is signed, test-signed fallbacks as pre-releases, CI hardening by @Mihonarium in #108
- Keep the install log and Rename-Endpoint.ps1's compile out of the user's profile; let Windows PowerShell parse Rename-Endpoint.ps1 and Diagnose.ps1 by @Mihonarium in #110
- Pin CI actions to commits, compile the release exe without the Rust cache, and never delete the driver reproducibility check's build directory by @Mihonarium in #111
- Harden discovery and the Music Assistant input against hostile LAN devices; show non-ASCII Sonos names; say when another account runs the app by @Mihonarium in #112
- Put the web UI and its API behind a secret link, and close the audio stream to other devices while streaming is off by @Mihonarium in #113
- AirPlay: limits on property lists from receivers, stored Apple TV pairings kept when pair-verify fails, rate-limited resends; fix HomeKit pairing failing about once in 128 tries by @Mihonarium in #114
- Keep the Partner Center credential in a main-only environment; check Driver certified's inputs and give it a dry run by @Mihonarium in #115
- A new interface (panel, window, first run), sturdier playing and discovery, updates from inside the app, a restart after a crash, and a reworked Setup by @Mihonarium in #121
Full Changelog: v0.1.10...v0.2.0