Update README.md

This commit is contained in:
Johannes Pohl 2015-01-02 09:08:47 +01:00
parent 0515cd9db1
commit 6f6f632973

View file

@ -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 <MY_SNAPCAST_ROOT>
$ 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 {