I’ve just set-up a very simple multi-room solution. It’s not perfect, it uses MPD’s vorbis http stream, which means that it it won’t be in exact sync, and there will be some quality loss, but it’s a good start!
Because it’s using WiFi, I can move this to any room in the house easily. The client devices are configured to auto-play the stream when they boot up. The whole set-up is very simple, see below.
I’d love to hear suggestions on how to improve it, specifically how to get synchronised audio without quality loss. And also, how to avoid manual edits of /etc/mpd.conf from conflicting with edits made via the Volumio web UI.
Music server (volumio)
This is a Pi model B with the awesome Hifiberry Dac. Available on my network at music. Added the following additional streaming audio output /etc/mpd.cong
name "Zefer Radio"
- Rasbian install on a Pi model B
- sudo apt-get install mpd mpc
- Edimax USB WiFi adaptor
The following script at /home/pi/play/sh
#!/bin/bash host=music port=8000 mpc volume 90 mpc clear mpc add "http://$host:$port" mpc play
With the following crontab entry so it auto-plays when it boots up:
@reboot /bin/bash /home/pi/play.sh