Snapcast on Volumio
Snapcast on Volumio - client & server install
MPD config
sudo nano /etc/mpd.conf
..
# disable default ALSA output
..
audio_output {
type "fifo"
name "snapfifo"
path "/tmp/snapfifo"
format "44100:16:2"
}
..
sudo service mpd restart
Snapserver
Install
wget https://github.com/badaix/snapcast/releases/download/v0.22.0/snapserver_0.22.0-1_armhf.deb
sudo dpkg -i snapserver_0.22.0-1_armhf.deb
Config
Test snapserver (does NOT use default config, use args):
snapserver --sampleformat 44100:16:2
Edit default config:
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=Volumio-MPD&mode=read --sampleformat 44100:16:2"
Restart server after changes to config
sudo nano /etc/default/snapserver
sudo service snapserver restart
restart client
sudo service snapclient restart
Snapclient
Install
wget https://github.com/badaix/snapcast/releases/download/v0.22.0/snapclient_0.22.0-1_armhf.deb
sudo dpkg -i snapclient_0.22.0-1_armhf.deb
Config
List devices: snapclient -l
Test: snapclient -s 23 --latency 100
Edit default config: sudo nano /etc/default/snapclient
References
- https://github.com/badaix/snapcast
- https://gist.github.com/gotling/9310f2572e1ea9c9d685c4ce5807001a
- https://github.com/Saiyato/volumio-snapcast-plugin
- https://gist.github.com/ivesdebruycker/3ac8b4f641d3a46745fa6ff2464f99f7
*Ivesdebruycker is the original source of this text!
-- Instructions are edited to the latest snap-release as per 03 Jan. 2021 --


