Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Snapcast on Volumio - client & server install

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.15.0/snapserver_0.15.0_armhf.deb
sudo dpkg -i snapserver_0.15.0_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.15.0/snapclient_0.15.0_armhf.deb
sudo dpkg -i snapclient_0.15.0_armhf.deb

Config

List devices: snapclient -l

Test: snapclient -s 23 --latency 100

Edit default config: sudo nano /etc/default/snapclient

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment