- Add tools/sync-version.js script to read root package.json version
and update src-tauri/tauri.conf.json and src-tauri/Cargo.toml.
- Update only the [package] version line in Cargo.toml to preserve formatting.
- Include JSON read/write helpers and basic error handling/reporting.
Initial public preview of RadioPlayer: a lightweight Custom Google Cast Receiver + desktop sidecar for playing a LIVE radio stream.
Highlights
Custom CAF Receiver UI (HTML/CSS/JS) with branded artwork and playback status
Plays LIVE stream: https://live.radio1.si/Radio1MB (audio/mpeg, streamType: LIVE)
Controls: Play / Stop / Volume via Cast sender
Works on Nest Audio, Nest Hub/Hub Max, Chromecast, and speaker groups/stereo pairs (subject to sender capabilities)
Sidecar improvements: robust launch flow (handles NOT_ALLOWED by stopping existing sessions and retrying)
Included files
index.html
receiver.js (CAF Receiver initialization + LOAD interceptor for LIVE metadata)
styles.css (dark/purple UI)
logo.svg
index.js (launch retry + metadata fixes)
Important notes
Receiver must be hosted over HTTPS for Cast
Use Default Media Receiver for local testing; register a Custom Receiver App ID for production
Sidecar uses castv2-client (not official Google sender SDK) — group behavior may vary
No Node.js on receiver; no persistent storage guaranteed
How to test (quick)
Serve the receiver folder over HTTPS (e.g. mkcert + npx http-server).
From sender, LOAD:
contentId: https://live.radio1.si/Radio1MB
contentType: audio/mpeg
streamType: LIVE
Known limitations
UI is intentionally lightweight; some CSS effects may be limited on older devices
Sender-side group handling may need the official sender SDK for full reliability
If you want, I can draft the GitHub release body or a short changelog entry formatted for the Releases page.