您好,欢迎来到伴沃教育。
搜索
您的当前位置:首页【转载】树莓派配置Airplay服务

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

来源:伴沃教育

更新系统至最新

$ 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

编译安装

$ git clone 
$ 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

Copyright © 2019- bangwoyixia.com 版权所有 湘ICP备2023022004号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务