—Hello again proggers—
5.4.0 is actually out, publicly, in people's hands. Diffed v5.3.4 through v5.4.0: 40 commits, Aug 16-18, four threads of work.
Cat or dog? spectral.resume()
—Yap—
Shared play became joinable, Streamer Queue and the Discord bot got hardened, story/visualizer bugs got chased down in one sitting, and some platform/perf issues got caught. None of these were small.
—The Great Suffering—
1 — Shared Play Can Be Joined Now
spectralis://shared-play/join links used to fall through to nothing. Now routed to a real handler.
2 — Streamer Queue: Host Controls + A Bot That Won't Die
Host can add tracks and mark played/skipped directly, no viewer round-trip. Desktop got an add-to-queue button and history panel. Both pollers (desktop + bot) back off dead rooms instead of hammering them. SQ API calls got a 10s timeout + one retry, GETs only — mutating calls don't retry, to avoid double-submitting on a timed-out-but-successful response.
Bot had zero global error handlers before this. One bad promise took the whole process down silently. Now it logs and survives, plus 3-attempt startup retry.
3 — Story Pages vs. Visualizers: Three Bugs, One Afternoon
A capsule with both used to have them fight. Story can now queue a surface behind it — TryAdvancePastStory() swaps in the queued surface on spectral.resume(). Audio was starting under the story before the reader finished — now gated on whether a surface is queued. Once queued, picker/prev-next/keyboard could still hijack it — new IsVisualizerLocked blocks all three (user-picked "Special:" visualizers stay switchable).
4 — Platform + Perf Fixes
MP3 decoding silently depended on Windows' ACM codec via Mp3FileReader. Swapped to NLayer, pure managed decoder — MP3s decode on Linux/macOS now too. WebView2Host inline-rendered small visualizers via NavigateToString, which serves from about:blank with no real origin and tanks frame rate — everything goes through the fast file-backed path now. Auto-cycle switching checked IsLoaded/IsPlaying, both false during Spotify playback since Spotify never loads into the local engine — switched to HasTrack/IsPlaying. And: a regex stripping onclick="..." had no