美文网首页树莓派
【转载】树莓派配置Airplay服务

【转载】树莓派配置Airplay服务

作者: 飞鱼ll | 来源:发表于2019-02-21 21:29 被阅读0次

更新系统至最新

$ sudo apt-get update
$ sudo apt-get upgrade

关闭wifi节能模式

$ sudo iwconfig wlan0 power off

安装依赖

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

编译安装 shairport-sync

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

设置开机自启并启动

$ sudo systemctl enable shairport-sync
$ sudo systemctl start shairport-sync

至此安装配置完毕, airplay设备名称默认为 raspberrypi

备注

调整音量

$ alsamixer

原文:https://my.oschina.net/firxiao/blog/2223191
参考: https://github.com/mikebrady/shairport-sync/blob/master/INSTALL.md

相关文章

网友评论

    本文标题:【转载】树莓派配置Airplay服务

    本文链接:https://www.haomeiwen.com/subject/jgqjyqtx.html