Compare commits

..

No commits in common. "main" and "v0.6.1" have entirely different histories.
main ... v0.6.1

4 changed files with 9 additions and 51 deletions

View File

@ -1 +1 @@
http://xplayer-ota.pureroad.cn/files_20260407_214750.tar.xz
http://xplayer-ota.pureroad.cn/files_20260214_092644.tar.xz

View File

@ -65,7 +65,6 @@
libldacbt-enc2 \
aria2 \
libsmbclient-dev \
ffmpeg \
cloud-guest-utils"
tasks:
@ -147,7 +146,6 @@
- path: /srv/login
- path: /usr/var/lib/bluealsa
- path: /srv/bluez-alsa
- path: /srv/music-classification
- name: Copy static files
@ -192,12 +190,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:
@ -415,9 +407,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 +512,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:

View File

@ -42,11 +42,6 @@ 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

View File

@ -1,31 +0,0 @@
#!/bin/zsh
echo "=== Testing direnv setup ==="
echo ""
echo "1. Shell: $SHELL"
echo "2. Current directory: $(pwd)"
echo ""
echo "3. Checking if direnv hook is loaded:"
type _direnv_hook 2>/dev/null && echo " ✓ direnv hook found" || echo " ✗ direnv hook NOT found"
echo ""
echo "4. Checking .envrc status:"
direnv status | grep -E "(Found RC|allowed)"
echo ""
echo "5. Current QINIU_BUCKET value:"
echo " QINIU_BUCKET=${QINIU_BUCKET:-[not set]}"
echo ""
echo "6. Manually trigger direnv:"
eval "$(direnv export zsh 2>&1)"
echo " QINIU_BUCKET=${QINIU_BUCKET:-[not set]}"
echo ""
echo "=== Instructions ==="
echo "If you don't see direnv loading automatically:"
echo "1. Exit and re-enter the directory: cd .. && cd -"
echo "2. Or reload shell: exec zsh"
echo "3. You should see: direnv: loading ~/Projects/xplayer-ota/.envrc"