Compare commits
No commits in common. "main" and "v0.7.9" have entirely different histories.
@ -1 +1 @@
|
||||
http://xplayer-ota.pureroad.cn/files_20260407_214750.tar.xz
|
||||
http://xplayer-ota.pureroad.cn/files_20260223_220137.tar.xz
|
||||
|
||||
@ -147,7 +147,6 @@
|
||||
- path: /srv/login
|
||||
- path: /usr/var/lib/bluealsa
|
||||
- path: /srv/bluez-alsa
|
||||
- path: /srv/music-classification
|
||||
|
||||
|
||||
- name: Copy static files
|
||||
@ -192,12 +191,6 @@
|
||||
- src: ../files/apt-fast.conf
|
||||
dest: /etc/apt-fast.conf
|
||||
mode: '0644'
|
||||
- src: ../files/rk3588s-pureroad.dtbo
|
||||
dest: /boot/dtb/rockchip/overlay/rk3588s-pureroad.dtbo
|
||||
mode: '0644'
|
||||
- src: ../files/music-classification/
|
||||
dest: /srv/music-classification/
|
||||
mode: '0644'
|
||||
|
||||
- name: update mpd data
|
||||
copy:
|
||||
@ -229,6 +222,15 @@
|
||||
dest: "{{ item.dest }}"
|
||||
mode: "{{ item.mode | default('0644') }}"
|
||||
loop:
|
||||
- src: ../files/libaptx.so
|
||||
dest: /usr/local/lib/libaptx.so
|
||||
mode: '0644'
|
||||
- src: ../files/bluealsad
|
||||
dest: /usr/bin/bluealsad
|
||||
mode: '0755'
|
||||
- src: ../files/bluealsa-aplay
|
||||
dest: /usr/bin/bluealsa-aplay
|
||||
mode: '0755'
|
||||
- src: ../files/bluetooth.service
|
||||
dest: /usr/lib/systemd/system/bluetooth.service
|
||||
- src: ../files/main.conf
|
||||
@ -415,9 +417,16 @@
|
||||
- reload_systemd
|
||||
- enable_xplayer_server
|
||||
- start_xplayer_server
|
||||
- restart_xplayer_server
|
||||
register: copy_result
|
||||
changed_when: copy_result.changed or (force_update | default(false) | bool)
|
||||
|
||||
- name: Update firmware
|
||||
copy:
|
||||
src: /lib/firmware/ap6276p/
|
||||
dest: /lib/firmware/ap6275p/
|
||||
remote_src: yes
|
||||
|
||||
handlers:
|
||||
- name: cleanup_packages
|
||||
apt:
|
||||
@ -513,12 +522,7 @@
|
||||
|
||||
- name: install_bluealsa_openaptx
|
||||
shell:
|
||||
cmd: |
|
||||
/usr/bin/install_bluealsa_openaptx.sh
|
||||
install -m 0644 {{ playbook_dir }}/../files/libaptx.so /usr/local/lib/libaptx.so
|
||||
install -m 0755 {{ playbook_dir }}/../files/bluealsad /usr/bin/bluealsad
|
||||
install -m 0755 {{ playbook_dir }}/../files/bluealsa-aplay /usr/bin/bluealsa-aplay
|
||||
ldconfig
|
||||
cmd: /usr/bin/install_bluealsa_openaptx.sh
|
||||
|
||||
- name: enable_bluealsa
|
||||
shell:
|
||||
|
||||
2
sync.sh
2
sync.sh
@ -45,8 +45,6 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user