mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-08 13:51:43 +02:00
Update README.md
This commit is contained in:
parent
0515cd9db1
commit
6f6f632973
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
@ -5,14 +5,37 @@ Synchronous audio player
|
||||||
|
|
||||||
Installation
|
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
|
$ 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:
|
WiFi setup:
|
||||||
http://www.maketecheasier.com/setup-wifi-on-raspberry-pi/
|
http://www.maketecheasier.com/setup-wifi-on-raspberry-pi/
|
||||||
|
|
||||||
MPD setup
|
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:
|
Disable alsa audio output by commenting the section:
|
||||||
|
|
||||||
#audio_output {
|
#audio_output {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue