优化歌曲搜索和显示,优化播放记录采集,修复Airplay偶发播放没声音的问题

This commit is contained in:
xin 2026-06-12 19:06:30 +08:00
parent d61be02415
commit 407a251f18
3 changed files with 68 additions and 68 deletions

View File

@ -1 +1 @@
http://xplayer-ota.pureroad.cn/files_20260612_151631.tar.xz
http://xplayer-ota.pureroad.cn/files_20260612_190129.tar.xz

View File

@ -323,26 +323,26 @@
register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool)
- name: update network-tools
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "{{ item.mode | default('0644') }}"
loop:
- src: ../files/sing-box
dest: /usr/bin/sing-box
mode: '0755'
- src: ../files/sing-box.service
dest: /etc/systemd/system/sing-box.service
mode: '0644'
tags: network-tools
notify:
- reload_systemd
- enable_sing-box
- start_sing-box
- restart_sing-box
register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool)
# - name: update network-tools
# copy:
# src: "{{ item.src }}"
# dest: "{{ item.dest }}"
# mode: "{{ item.mode | default('0644') }}"
# loop:
# - src: ../files/sing-box
# dest: /usr/bin/sing-box
# mode: '0755'
# - src: ../files/sing-box.service
# dest: /etc/systemd/system/sing-box.service
# mode: '0644'
# tags: network-tools
# notify:
# - reload_systemd
# - enable_sing-box
# - start_sing-box
# - restart_sing-box
# register: copy_result
# changed_when: copy_result.changed or (force_update | default(false) | bool)
- name: update shairport-sync
copy:

94
sync.sh
View File

@ -1,51 +1,51 @@
mkdir -p files
rsync 5cw:/etc/ssh/sshd_config files/sshd_config
rsync 5cw:/root/.ssh/authorized_keys files/authorized_keys
rsync 5cw:/etc/asound.conf files/asound.conf
rsync 5cw:/usr/local/bin/camilladsp files/camilladsp
rsync 5cw:/etc/camilladsp.yml files/camilladsp.yml
# rsync -avz 5cw:/root/camilladsp-conf files/
rsync 5cw:/usr/local/lib/systemd/system/mpd.socket files/mpd.socket
rsync 5cw:/usr/local/lib/systemd/system/mpd.service files/mpd.service
rsync 5cw:/usr/local/bin/mpd files/mpd
rsync 5cw:/etc/mpd.conf files/mpd.conf
rsync 5cw:/etc/systemd/system/xplayer-server.service files/xplayer-server.service
rsync 5cw:/usr/local/bin/server files/server
rsync 5cw:/usr/bin/ota files/ota
rsync -avz 5cw:/etc/apt/sources.list.d ./files/
rsync 5cw:/etc/modprobe.d/snd-aloop.conf files/snd-aloop.conf
rsync 5cw:/etc/systemd/system/camilladsp.service files/camilladsp.service
rsync 5cw:/usr/lib/systemd/system/bluetooth.service files/bluetooth.service
rsync 5cw:/etc/udev/rules.d/99-usb-auto-mount.rules files/99-usb-auto-mount.rules
rsync 5cw:/usr/local/bin/usb-mount.sh files/usb-mount.sh
rsync 5cw:/etc/custom_service/start_service.sh files/start_service.sh
rsync 5cw:/etc/bluetooth/input.conf files/input.conf
rsync 5cw:/etc/bluetooth/main.conf files/main.conf
rsync 5cw:/etc/default/cpufrequtils files/cpufrequtils
rsync 5cw:/usr/lib/systemd/system/shairport-sync.service files/shairport-sync.service
rsync 5cw:/usr/local/bin/shairport-sync files/shairport-sync
rsync 5cw:/etc/shairport-sync.conf files/shairport-sync.conf
rsync 5cw:/usr/bin/shairport_monitor.sh files/shairport_monitor.sh
# rsync 5cw:/etc/upmpdcli.conf files/upmpdcli.conf
rsync 5cw:/usr/bin/sing-box files/sing-box
rsync 5cw:/etc/systemd/system/sing-box.service files/sing-box.service
rsync -avz --exclude='login/' 5cw:/srv/login/ files/login/
rsync 5cw:/usr/bin/led-startup.sh files/led-startup.sh
rsync 5cw:/usr/local/bin/xplayer-start.sh files/xplayer-start.sh
rsync 5cw:/usr/bin/install_bluealsa_openaptx.sh files/install_bluealsa_openaptx.sh
rsync 5cw:/etc/systemd/system/bluealsa.service files/bluealsa.service
rsync 5cw:/srv/bluez-alsa/bluealsa_bundle.tar.gz files/bluealsa_bundle.tar.gz
rsync 5cw:/usr/local/bin/apt-fast files/apt-fast
rsync 5cw:/etc/apt-fast.conf files/apt-fast.conf
rsync 5cw:/usr/local/bin/xplayer-recovery files/xplayer-recovery
rsync 5cw:/etc/systemd/system/xplayer-recovery.service files/xplayer-recovery.service
rsync 5cw:/etc/systemd/system/xplayer-helper.service files/xplayer-helper.service
rsync 5cw:/usr/local/bin/server-helper files/server-helper
rsync 5cw:/usr/local/lib/libaptx.so files/libaptx.so
rsync 5cw:/usr/bin/bluealsad files/bluealsad
rsync 5cw:/usr/bin/bluealsa-aplay files/bluealsa-aplay
rsync 5cw:/boot/dtb/rockchip/overlay/rk3588s-pureroad.dtbo files/rk3588s-pureroad.dtbo
# rsync -avz 5cw:/srv/music-classification/ files/music-classification/
rsync 5c:/etc/ssh/sshd_config files/sshd_config
rsync 5c:/root/.ssh/authorized_keys files/authorized_keys
rsync 5c:/etc/asound.conf files/asound.conf
rsync 5c:/usr/local/bin/camilladsp files/camilladsp
rsync 5c:/etc/camilladsp.yml files/camilladsp.yml
# rsync -avz 5c:/root/camilladsp-conf files/
rsync 5c:/usr/local/lib/systemd/system/mpd.socket files/mpd.socket
rsync 5c:/usr/local/lib/systemd/system/mpd.service files/mpd.service
rsync 5c:/usr/local/bin/mpd files/mpd
rsync 5c:/etc/mpd.conf files/mpd.conf
rsync 5c:/etc/systemd/system/xplayer-server.service files/xplayer-server.service
rsync 5c:/usr/local/bin/server files/server
rsync 5c:/usr/bin/ota files/ota
rsync -avz 5c:/etc/apt/sources.list.d ./files/
rsync 5c:/etc/modprobe.d/snd-aloop.conf files/snd-aloop.conf
rsync 5c:/etc/systemd/system/camilladsp.service files/camilladsp.service
rsync 5c:/usr/lib/systemd/system/bluetooth.service files/bluetooth.service
rsync 5c:/etc/udev/rules.d/99-usb-auto-mount.rules files/99-usb-auto-mount.rules
rsync 5c:/usr/local/bin/usb-mount.sh files/usb-mount.sh
rsync 5c:/etc/custom_service/start_service.sh files/start_service.sh
rsync 5c:/etc/bluetooth/input.conf files/input.conf
rsync 5c:/etc/bluetooth/main.conf files/main.conf
rsync 5c:/etc/default/cpufrequtils files/cpufrequtils
rsync 5c:/usr/lib/systemd/system/shairport-sync.service files/shairport-sync.service
rsync 5c:/usr/local/bin/shairport-sync files/shairport-sync
rsync 5c:/etc/shairport-sync.conf files/shairport-sync.conf
rsync 5c:/usr/bin/shairport_monitor.sh files/shairport_monitor.sh
# rsync 5c:/etc/upmpdcli.conf files/upmpdcli.conf
# rsync 5c:/usr/bin/sing-box files/sing-box
# rsync 5c:/etc/systemd/system/sing-box.service files/sing-box.service
rsync -avz --exclude='login/' 5c:/srv/login/ files/login/
rsync 5c:/usr/bin/led-startup.sh files/led-startup.sh
rsync 5c:/usr/local/bin/xplayer-start.sh files/xplayer-start.sh
rsync 5c:/usr/bin/install_bluealsa_openaptx.sh files/install_bluealsa_openaptx.sh
rsync 5c:/etc/systemd/system/bluealsa.service files/bluealsa.service
rsync 5c:/srv/bluez-alsa/bluealsa_bundle.tar.gz files/bluealsa_bundle.tar.gz
rsync 5c:/usr/local/bin/apt-fast files/apt-fast
rsync 5c:/etc/apt-fast.conf files/apt-fast.conf
rsync 5c:/usr/local/bin/xplayer-recovery files/xplayer-recovery
rsync 5c:/etc/systemd/system/xplayer-recovery.service files/xplayer-recovery.service
rsync 5c:/etc/systemd/system/xplayer-helper.service files/xplayer-helper.service
rsync 5c:/usr/local/bin/server-helper files/server-helper
rsync 5c:/usr/local/lib/libaptx.so files/libaptx.so
rsync 5c:/usr/bin/bluealsad files/bluealsad
rsync 5c:/usr/bin/bluealsa-aplay files/bluealsa-aplay
rsync 5c:/boot/dtb/rockchip/overlay/rk3588s-pureroad.dtbo files/rk3588s-pureroad.dtbo
# rsync -avz 5c:/srv/music-classification/ files/music-classification/
# Clean up macOS resource fork files
find files -name "._*" -type f -delete