|
本帖最后由 leonbernieni 于 2022-7-24 16:56 编辑
继续套娃。
piCorePlayer能装RoonBridge,为什么不能再装个NAA呢,果然可以。这个可能要三分钟。
照例,本人不用HQP,未及测试。。
https://github.com/lin-silas/pcp-naa
首先还是检查piCoerPlayer的Tweaks页面,把User command #1空出来,一塌刮子三行他们就喜欢抢第一行。
下载地址不能解析的话照例网页下载到本地,git-clone也可以。
naa_install.sh需要修改,不用去wget了,把wget所在的三行用#注释掉
- #!/bin/busybox ash
- . /etc/init.d/tc-functions
- . /var/www/cgi-bin/pcp-functions
- useBusybox
- TARGET=`cat /etc/sysconfig/backup_device`
- cd /mnt/$TARGET
- sed -i '/naa_arm64.tcz/d' onboot.lst
- echo naa_4.2.0-50.tcz >>onboot.lst
- cd optional
- tce-load -i ca-certificates.tcz
- #wget https://github.com/lin-silas/pcp-naa/raw/main/naa_4.2.0-50.tcz
- # tc home
- cd ~
- #wget https://github.com/lin-silas/pcp-naa/raw/main/naa.sh
- #wget https://github.com/lin-silas/pcp-naa/raw/main/main/sq.sh
- sudo chmod +x *.sh
- pcp_write_var_to_config USER_COMMAND_1 "/home/tc/naa.sh"
- echo "Rebooting..."
- sleep 3
- pcp br
复制代码
scp传给piCorePlayer,密码 piCore
- ~/Desktop $ scp ./naa_4.2.0-50.tcz *.sh tc@192.168.1.5:~/
- tc@192.168.1.5's password:
- naa_4.2.0-50.tcz 100% 308KB 2.8MB/s 00:00
- naa_install.sh 100% 585 229.5KB/s 00:00
- naa.sh 100% 191 59.1KB/s 00:00
- sq.sh 100% 132 36.5KB/s 00:00
复制代码
ssh登录piCorePlayer
脚本可执行化
- tc@pCP:~$ sudo chmod +x *.sh
复制代码
运行安装脚本,不用sudo
- tc@pCP:~$ sh naa_install.sh
- ca-certificates is already installed!
- Rebooting...
- [ INFO ] Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz
- Done.
- [ OK ] Backup successful.
- [ WARN ] Your backup is a little large - 17015944 bytes.
- [ INFO ] Be careful adding large files to /home/tc.
- [ INFO ] If your backup takes a long time, piCorePlayer may fail to start properly.
复制代码
至此,在piCorePlayer里,Squeezelite与RoonBridge、NAA共存达成。
如果不想启用RoonBridge和NAA可以按图在User command栏里加 # 注释掉。
按save保存,pCP的备份保存机制也是有心了。
|
|