Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #155 from tsirysndr/feat/chromecast-sink

Add Chromecast section to README

authored by

Tsiry Sandratraina and committed by
GitHub
a5d18e56 98c05cb7

+33
+33
README.md
··· 292 292 squeezelite -s localhost -o "Built-in Output" 293 293 ``` 294 294 295 + ### Chromecast 296 + 297 + ```toml 298 + music_dir = "/path/to/Music" 299 + audio_output = "chromecast" 300 + chromecast_host = "192.168.1.60" # LAN IP of the target Chromecast 301 + chromecast_port = 8009 # optional, default 8009 (Cast protocol) 302 + chromecast_http_port = 7881 # optional, default 7881 (WAV HTTP stream) 303 + ``` 304 + 305 + Rockbox streams audio to any Google Cast-compatible device — Google Home, 306 + Chromecast Audio, Chromecast with Google TV, Nest Hub, or third-party Cast 307 + receivers. It uses two channels simultaneously: 308 + 309 + - **Cast protocol** (TCP 8009, TLS + Protobuf) — sends playback commands and 310 + tells the device where to fetch the audio stream. 311 + - **WAV over HTTP** (port 7881) — serves a live `audio/wav` stream with a 312 + finite `Content-Length` so the Chromecast can show a progress bar and 313 + auto-advance the queue at track boundaries. 314 + 315 + Track metadata (title, artist, album, duration) and album art are pushed to the 316 + device on every track change. Chromecast devices on the LAN are also discovered 317 + automatically via mDNS (`_googlecast._tcp.local.`) and appear in the UI device 318 + picker; connecting through the picker starts the Cast session on demand without 319 + requiring `audio_output = "chromecast"` in the config file. 320 + 321 + > **Network requirement**: the Chromecast device must be able to reach port 7881 322 + > on the machine running rockboxd. If rockboxd is inside a VM or container, 323 + > forward that port to the host. 324 + 325 + See [`crates/chromecast/README.md`](crates/chromecast/README.md) for a detailed 326 + description of the architecture, protocols, and FFI surface. 327 + 295 328 ### UPnP / DLNA 296 329 297 330 Rockbox has three independent UPnP/DLNA modes that can be combined freely.