besi / stereopi

MIT License
1 stars 0 forks source link

Airplay #2

Open besi opened 4 years ago

besi commented 4 years ago

https://appcodelabs.com/7-easy-steps-to-apple-airplay-on-raspberry-pi

sudo apt-get update
sudo apt-get install autoconf automake avahi-daemon build-essential git libasound2-dev libavahi-client-dev libconfig-dev libdaemon-dev libpopt-dev libssl-dev libtool xmltoman -y

git clone https://github.com/mikebrady/shairport-sync.git
autoreconf -i -f
 ./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --with-metadata
make
sudo make install

sudo systemctl enable shairport-sync
sudo service shairport-sync start
besi commented 4 years ago

Getting the metadata:

See: https://github.com/mikebrady/shairport-sync-metadata-reader

cd
git clone https://github.com/mikebrady/shairport-sync-metadata-reader.git
cd shairport-sync-metadata-reader
autoreconf -i -f
./configure
make
sudo make install
shairport-sync-metadata-reader < /tmp/shairport-sync-metadata