From 6f6f63297316fb35bd16ee6b823faaec7985e5b3 Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Fri, 2 Jan 2015 09:08:47 +0100 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index eefaaf95..50349f5a 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,37 @@ Synchronous audio player Installation ------------ +These installation instructions are valid for Debian derivates (e.g. Raspbian). +First install all packages needed to compile snapcast: $ sudo apt-get install libboost-dev libboost-system-dev libboost-program-options-dev libasound2-dev libvorbis-dev alsamixer +Build snapcast by cd'ing into the snapcast src-root directory + + $ cd + $ make all + +Install snapclient and/or snapserver. The client installation will ask you for the server's hostname or ip address + + $ make installserver + $ make installclient + +Test +---- +You can test your installation by copying random data into the server's fifo file + + $ cat /dev/urandom > /tmp/snapfifo + +All connected clients should play random noise now + + WiFi setup: http://www.maketecheasier.com/setup-wifi-on-raspberry-pi/ MPD setup --------- +Edit /etc/mpd.conf, so that mpd will feed the audio into the snap-server's named pipe + Disable alsa audio output by commenting the section: #audio_output {