Snapcast on Volumio

Volumio Jan 03, 2021

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

-- Instructions are edited to the latest snap-release as per 03 Jan. 2021 --

Tags

Flemming Frederiksen

Currently focusing on building microservices and provide a low-latency Radio Broadcasting Network in Copenhagen. Doing extensive research, studying, etc. This is a personal site for your pleasure.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.