Compare commits

...

23 Commits

Author SHA1 Message Date
xin
8e387cc03f 优化网络设置 2026-02-01 23:31:39 +08:00
xin
2f59b8af4b 优化弱网逻辑,airplay检测 2026-02-01 19:13:46 +08:00
xin
f3d4e577e9 优化开机播放 2026-01-31 11:15:54 +08:00
xin
1df5604189 更新v2曲线 2026-01-28 21:08:34 +08:00
xin
4784542e6b 修复蓝牙别名的问题 2026-01-25 11:05:38 +08:00
xin
9b2a61774a 解决Pulse无法显示全量中文的问题,增加Pulse OTA的能力,删除rtings曲线,重启播放器不再清除播放列表,并且如果数播启动后联网会自动开始播放 2026-01-25 09:39:43 +08:00
xin
e5c93be99d 曲线3改为pureroadv2,对人声清晰度和高频延伸有提升,各位请开始测试 2026-01-23 15:28:14 +08:00
xin
8192a260d7 遥控器频谱数据定版,优化弱网体验 2026-01-14 10:18:52 +08:00
xin
e6fd931795 修复版本号不更新的问题 2026-01-07 18:08:18 +08:00
xin
321ed6f35d 增加beta分组 2026-01-07 11:02:04 +08:00
xin
e50ec7bdc2 分离虚拟局域网功能,在数播出问题的时候可以进行紧急修复 2026-01-06 17:51:04 +08:00
xin
65da28395d 弱网环境下暂停播放器,beta版 2026-01-04 19:45:41 +08:00
xin
78cfd658ad 修复音量问题 2026-01-04 08:40:01 +08:00
xin
b8e439972e 修复ota不重启的问题 2026-01-03 23:00:20 +08:00
xin
8eb75bdefa 增加自定义设备名称的功能,预埋led遥控器功能 2026-01-01 21:38:57 +08:00
xin
24083042f8 修复tidal问题 2025-12-30 10:35:35 +08:00
xin
b26a5d0a89 优化蓝牙发现服务,优化wifi连接体验 2025-12-27 09:40:20 +08:00
xin
5037adb317 优化第四条曲线 2025-12-26 20:22:59 +08:00
xin
ebaf117198 修复蓝牙遥控器问题 2025-12-25 20:07:09 +08:00
xin
8878c1127c 各种优化 2025-12-25 18:25:39 +08:00
xin
54d10da527 增加recovery服务,如果出现升级后无法启动,或者异常关机出现文件损坏,可以联系管理员创建恢复包,通过U盘恢复 2025-12-23 10:06:37 +08:00
xin
165ca97717 修复蓝牙遥控器不灵敏的问题 2025-12-22 22:44:13 +08:00
xin
152ab5adbe 修复缺少依赖的问题 2025-12-22 22:12:27 +08:00
3 changed files with 113 additions and 43 deletions

View File

@ -1 +1 @@
http://xplayer-ota.pureroad.cn/files_20251222_145348.tar.xz http://xplayer-ota.pureroad.cn/files_20260201_233009.tar.xz

View File

@ -64,6 +64,7 @@
libldacbt-abr2 \ libldacbt-abr2 \
libldacbt-enc2 \ libldacbt-enc2 \
aria2 \ aria2 \
libsmbclient-dev \
cloud-guest-utils" cloud-guest-utils"
tasks: tasks:
@ -349,6 +350,47 @@
- enable_shairport_sync - enable_shairport_sync
- start_shairport_sync - start_shairport_sync
- name: update xplayer-recovery
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "{{ item.mode | default('0644') }}"
loop:
- src: ../files/xplayer-recovery
dest: /usr/local/bin/xplayer-recovery
mode: '0755'
- src: ../files/xplayer-recovery.service
dest: /etc/systemd/system/xplayer-recovery.service
mode: '0644'
notify:
- reload_systemd
- enable_xplayer_recovery
- start_xplayer_recovery
- restart_xplayer_recovery
register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool)
- name: update xplayer-helper
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "{{ item.mode | default('0644') }}"
loop:
- src: ../files/xplayer-helper.service
dest: /etc/systemd/system/xplayer-helper.service
mode: '0644'
- src: ../files/server-helper
dest: /usr/local/bin/server-helper
mode: '0755'
notify:
- reload_systemd
- enable_xplayer_helper
- start_xplayer_helper
- restart_xplayer_helper
register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool)
- name: update xplayer-server - name: update xplayer-server
copy: copy:
src: "{{ item.src }}" src: "{{ item.src }}"
@ -485,6 +527,30 @@
shell: shell:
cmd: systemctl restart bluealsa cmd: systemctl restart bluealsa
- name: enable_xplayer_recovery
shell:
cmd: systemctl enable xplayer-recovery
- name: start_xplayer_recovery
shell:
cmd: systemctl start xplayer-recovery
- name: restart_xplayer_recovery
shell:
cmd: systemctl restart xplayer-recovery
- name: enable_xplayer_helper
shell:
cmd: systemctl enable xplayer-helper
- name: start_xplayer_helper
shell:
cmd: systemctl start xplayer-helper
- name: restart_xplayer_helper
shell:
cmd: systemctl restart xplayer-helper
- name: enable_xplayer_server - name: enable_xplayer_server
shell: shell:
cmd: systemctl enable xplayer-server cmd: systemctl enable xplayer-server
@ -497,9 +563,9 @@
shell: shell:
cmd: systemctl restart xplayer-server cmd: systemctl restart xplayer-server
- name: reboot_required
shell:
cmd: sync && reboot

82
sync.sh
View File

@ -1,43 +1,47 @@
mkdir -p files mkdir -p files
rsync 5cw:/etc/ssh/sshd_config files/sshd_config rsync 5c:/etc/ssh/sshd_config files/sshd_config
rsync 5cw:/root/.ssh/authorized_keys files/authorized_keys rsync 5c:/root/.ssh/authorized_keys files/authorized_keys
rsync 5cw:/etc/asound.conf files/asound.conf rsync 5c:/etc/asound.conf files/asound.conf
rsync 5cw:/usr/local/bin/camilladsp files/camilladsp rsync 5c:/usr/local/bin/camilladsp files/camilladsp
rsync 5cw:/etc/camilladsp.yml files/camilladsp.yml rsync 5c:/etc/camilladsp.yml files/camilladsp.yml
# rsync -avz 5cw:/root/camilladsp-conf files/ # rsync -avz 5c:/root/camilladsp-conf files/
rsync 5cw:/usr/local/lib/systemd/system/mpd.socket files/mpd.socket rsync 5c:/usr/local/lib/systemd/system/mpd.socket files/mpd.socket
rsync 5cw:/usr/local/lib/systemd/system/mpd.service files/mpd.service rsync 5c:/usr/local/lib/systemd/system/mpd.service files/mpd.service
rsync 5cw:/usr/local/bin/mpd files/mpd rsync 5c:/usr/local/bin/mpd files/mpd
rsync 5cw:/etc/mpd.conf files/mpd.conf rsync 5c:/etc/mpd.conf files/mpd.conf
rsync 5cw:/etc/systemd/system/xplayer-server.service files/xplayer-server.service rsync 5c:/etc/systemd/system/xplayer-server.service files/xplayer-server.service
rsync 5cw:/usr/local/bin/server files/server rsync 5c:/usr/local/bin/server files/server
rsync 5cw:/usr/bin/ota files/ota rsync 5c:/usr/bin/ota files/ota
rsync -avz 5cw:/etc/apt/sources.list.d ./files/ rsync -avz 5c:/etc/apt/sources.list.d ./files/
rsync 5cw:/etc/modules files/modules rsync 5c:/etc/modules files/modules
rsync 5cw:/etc/modprobe.d/snd-aloop.conf files/snd-aloop.conf rsync 5c:/etc/modprobe.d/snd-aloop.conf files/snd-aloop.conf
rsync 5cw:/etc/systemd/system/camilladsp.service files/camilladsp.service rsync 5c:/etc/systemd/system/camilladsp.service files/camilladsp.service
rsync 5cw:/usr/lib/systemd/system/bluetooth.service files/bluetooth.service rsync 5c:/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 5c:/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 5c:/usr/local/bin/usb-mount.sh files/usb-mount.sh
rsync 5cw:/etc/custom_service/start_service.sh files/start_service.sh rsync 5c:/etc/custom_service/start_service.sh files/start_service.sh
rsync 5cw:/etc/bluetooth/input.conf files/input.conf rsync 5c:/etc/bluetooth/input.conf files/input.conf
rsync 5cw:/etc/bluetooth/main.conf files/main.conf rsync 5c:/etc/bluetooth/main.conf files/main.conf
rsync 5cw:/etc/default/cpufrequtils files/cpufrequtils rsync 5c:/etc/default/cpufrequtils files/cpufrequtils
rsync 5cw:/usr/lib/systemd/system/shairport-sync.service files/shairport-sync.service rsync 5c:/usr/lib/systemd/system/shairport-sync.service files/shairport-sync.service
rsync 5cw:/usr/local/bin/shairport-sync files/shairport-sync rsync 5c:/usr/local/bin/shairport-sync files/shairport-sync
rsync 5cw:/etc/shairport-sync.conf files/shairport-sync.conf rsync 5c:/etc/shairport-sync.conf files/shairport-sync.conf
rsync 5cw:/usr/bin/shairport_monitor.sh files/shairport_monitor.sh rsync 5c:/usr/bin/shairport_monitor.sh files/shairport_monitor.sh
# rsync 5cw:/etc/upmpdcli.conf files/upmpdcli.conf # rsync 5c:/etc/upmpdcli.conf files/upmpdcli.conf
rsync 5cw:/usr/bin/sing-box files/sing-box rsync 5c:/usr/bin/sing-box files/sing-box
rsync 5cw:/etc/systemd/system/sing-box.service files/sing-box.service rsync 5c:/etc/systemd/system/sing-box.service files/sing-box.service
rsync -avz --exclude='login/' 5cw:/srv/login/ files/login/ rsync -avz --exclude='login/' 5c:/srv/login/ files/login/
rsync 5cw:/usr/bin/led-startup.sh files/led-startup.sh rsync 5c:/usr/bin/led-startup.sh files/led-startup.sh
rsync 5cw:/usr/local/bin/xplayer-start.sh files/xplayer-start.sh rsync 5c:/usr/local/bin/xplayer-start.sh files/xplayer-start.sh
rsync 5cw:/usr/bin/install_bluealsa_openaptx.sh files/install_bluealsa_openaptx.sh rsync 5c:/usr/bin/install_bluealsa_openaptx.sh files/install_bluealsa_openaptx.sh
rsync 5cw:/etc/systemd/system/bluealsa.service files/bluealsa.service rsync 5c:/etc/systemd/system/bluealsa.service files/bluealsa.service
rsync 5cw:/srv/bluez-alsa/bluealsa_bundle.tar.gz files/bluealsa_bundle.tar.gz rsync 5c:/srv/bluez-alsa/bluealsa_bundle.tar.gz files/bluealsa_bundle.tar.gz
rsync 5cw:/usr/local/bin/apt-fast files/apt-fast rsync 5c:/usr/local/bin/apt-fast files/apt-fast
rsync 5cw:/etc/apt-fast.conf files/apt-fast.conf 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
# Clean up macOS resource fork files # Clean up macOS resource fork files
find files -name "._*" -type f -delete find files -name "._*" -type f -delete