Sonos and local MPD

Cool stuff you can do with MPD. A place for you to put your hacks and patches, or be inspired by others'.
Post Reply
skidoo
Posts: 173
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Sonos and local MPD

Post by skidoo » August 12th, 2019, 8:18 pm

Maybe this information is useful for someone. A large Swedish furniture store sells relatively cheap Sonos speakers with limited features (Bluetooth and microphone missing) called Symfonisk. In order to be able to listen to music via the Symfonisk without an internet connection, MPD can be configured as a local streaming server.

Code: Select all

audio_output {
	type			"httpd"
	tags			"yes"
	name			"My local HTTP Stream"
	always_on		"yes"
	encoder			"lame"
	# Sonos does not support vorbis or flac radio stations.           
	port			"8000"			# your choice
	bind_to_address		"0.0.0.0"		# optional, IPv4 or IPv6
	bitrate			"320"
        format			"44100:16:1"		# kitchen radio, mono
}
For supported bitrates and codes have a look at https://support.sonos.com/s/article/79?language=en_US. Test stream with your web browser and configure with Sonos app. Have fun.
Last edited by skidoo on September 25th, 2019, 8:29 am, edited 1 time in total.

haok
Posts: 6
Joined: September 19th, 2014, 11:51 pm

Re: Sonos and local MPD

Post by haok » September 17th, 2019, 2:24 am

Great tip, thanks for the information skidoo.

A lot of wireless speakers don't allow addition of a "url" for internet radio stations, but looks as though Symfonisk does.

https://support.sonos.com/s/article/260?language=en_US

skidoo
Posts: 173
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: Sonos and local MPD

Post by skidoo » September 25th, 2019, 9:04 am

Adding some basic controlling capabilities for Sonos, Snapcast or Chromecast Audio to MPD would be nice. Volume, mute, add and play local MPD as streaming source .

Post Reply