Sometimes you do need "fast-track" to get something done right away.
For deep diving purpose, please head to https://github.com/mikebrady/shairport-sync for full (useful) explanation about the setup.
The steps below was tested and might only work for:
- New installation (with no shairport-sync installed before)
- Raspbian (version 8, Jessie) check with cat /etc/os-release
- no external sound card attached (my case)
- tested on streaming through iTune from Macbook (macOS Sierra, 10.12.1)
I'm too will look for the simplest (easiest) approach first, so don't guilt about it, let's get start.
- As usual, update your rpi first
- sudo apt-get update & sudo apt-get upgrade
- sudo rpi-upgrade
- Install dependencies,
- sudo apt-get install build-essential git autoconf automake libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev libpolarssl-dev libssl-dev avahi-daemon libavahi-client-dev
- Download/clone shairport-sync and configurations
- git clone https://github.com/mikebrady/shairport-sync.git
- cd shairport-sync
- autoreconf -i -f
- sudo ./configure --sysconfdir=/etc --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-systemd
- sudo make
- sudo getent group shairport-sync &>/dev/null || sudo groupadd -r shairport-sync >/dev/null
- sudo getent passwd shairport-sync &> /dev/null || sudo useradd -r -M -g shairport-sync -s /usr/bin/nologin -G audio shairport-sync >/dev/null
- sudo make install
- sudo systemctl enable shairport-sync
- sudo update-rc.d shairport-sync defaults 90 10
I've got the shairport-sync working well in my Debian build raspberry pi.
And hope to add more explanation about the steps above once I manage to spend more time playing shartport-sync in the rpi.
You should visit the references below:
A guide from setting up WiFi to shairport-sync - Multiroom audio Rpi (2015)
Use of shairport (earlier version of shairport-sync) and mentioned alsamixer - hifi audio via airplay on Rpi (2013)
You should visit the references below:
A guide from setting up WiFi to shairport-sync - Multiroom audio Rpi (2015)
Use of shairport (earlier version of shairport-sync) and mentioned alsamixer - hifi audio via airplay on Rpi (2013)