Commands

sonos linein

sonos linein

Plays line-in from a source speaker on the target speaker or group. If --from is omitted, the target itself is used as the source.

#Synopsis

sonos linein --name "<Target>" [--from "<Source>"]

#Flags

FlagWhat it does
--from stringSource speaker name or IP that has line-in. Defaults to the target.

#Examples

# Play the Connect:Amp's line-in throughout the Kitchen group
sonos linein --name "Kitchen" --from "Connect Amp"

# Same speaker is source and target
sonos linein --name "Office"

#How it works

Sets the target's transport URI to x-rincon-stream:RINCON_<source-uuid> and starts playback. The source speaker must actually have line-in hardware (Connect, Connect:Amp, Five with line-in cable, Port).