Use TCP for auto-discovery, multiple snapservers, or no filesystem
dependency. Use FIFO for stdout piping or the traditional pipe model.
TCP (recommended)
Startup order: start
snapserver first so it is already listening when
rockboxd begins playback. If the connection drops (e.g. snapserver
restarts), it is re-established automatically on the next play call.FIFO / pipe
stdout mode
fifo_path = "-" writes raw PCM to stdout — useful for piping into any
consumer:
macOS quirk
Snapserver v0.35.0 on macOS ignores the-s sample-format CLI flag. Use the
config file at /usr/local/etc/snapserver.conf instead:
Verifying it works
Stream: 'default' connected in the snapserver logs within
a second of starting playback. From a snapclient host: