Compare commits

...

51 Commits

Author SHA1 Message Date
xin
f0efcff07f 优化体验 2025-12-03 23:38:29 +08:00
xin
7280e186dd 优化体验 2025-12-03 16:32:38 +08:00
xin
f8d3ba4327 优化稳定性 2025-12-02 22:33:34 +08:00
xin
251d8795ea 恢复可以回退到上一个版本的功能 2025-11-30 21:41:23 +08:00
xin
33cfff35b7 优化曲线显示数据 2025-11-30 20:04:16 +08:00
xin
5e5aac70fa 新接口 2025-11-30 11:22:31 +08:00
xin
ed79033f44 修复重启功能, 新功能埋点 2025-11-29 09:53:39 +08:00
xin
c87fa90e62 增加内部存储删除文件夹功能,添加qqmusic proxy功能 2025-11-27 19:17:06 +08:00
xin
9377f60b7d 测试 2025-11-25 22:20:35 +08:00
xin
8c2e8d5e08 优化播放器 2025-11-25 19:17:31 +08:00
xin
b56434f44e 优化ota速度 2025-11-24 09:46:52 +08:00
xin
ddef5769ee 继续修复播放器卡顿的问题,并且让播放器具备复制文件夹到内部存储的能力 2025-11-24 09:17:55 +08:00
xin
6dd30696b4 修复播放器偶尔不播放的问题 2025-11-21 23:10:19 +08:00
xin
f89cb7e93b 修复对优盘ntfs的支持,优化播放进度条体验 2025-11-18 13:25:01 +08:00
xin
28b7cb428b feat: qqmusic 2025-11-17 18:52:58 +08:00
xin
e6057713f9 fix: playback stuttering 2025-11-13 13:28:29 +08:00
xin
855c2c0a2d fix: validate issue 2025-11-10 19:43:45 +08:00
xin
af5ab1f3bd fix: ota 2025-11-10 15:25:19 +08:00
xin
5672ff56d2 feat: sync filesystem 2025-11-09 08:54:33 +08:00
xin
817c79b149 feat: sync filesystem 2025-11-09 08:01:01 +08:00
xin
2d035374fb feat: sync filesystem 2025-11-09 08:00:31 +08:00
xin
4940f479a1 feat: bt pair 2025-11-08 21:07:17 +08:00
xin
81e5b3cb32 fix: airplay status for ws 2025-11-08 19:13:06 +08:00
xin
e60d9d2a70 feat: splite volume for other input 2025-11-08 08:44:31 +08:00
xin
9e80909bef feat: update mirror 2025-11-07 23:44:24 +08:00
xin
49406fd2d4 feat: update mirror 2025-11-07 23:15:49 +08:00
xin
37ccae4552 feat: update mirror 2025-11-07 22:41:04 +08:00
xin
453c9fb7e2 feat: enable bluetooth input 2025-11-07 21:49:53 +08:00
xin
601d06c1a2 fix: update 2025-11-07 15:30:56 +08:00
xin
ea28dc87ba fix: update 2025-11-07 15:18:23 +08:00
xin
834f8f4e40 fix: update 2025-11-07 15:08:34 +08:00
xin
784ccbead8 fix: update 2025-11-07 15:05:07 +08:00
xin
88a3719a16 fix: update 2025-11-07 15:02:28 +08:00
xin
9a588bbaaf fix: update 2025-11-07 14:58:06 +08:00
xin
f1365c1967 fix: update 2025-11-07 14:45:42 +08:00
xin
e23b7d2a8a feat: raz 2025-11-07 14:00:52 +08:00
xin
e590805570 feat: delete internal disk file 2025-11-02 08:59:02 +08:00
xin
f64775dd68 feat: more features 2025-11-02 08:14:49 +08:00
xin
88d844e364 feat: more features 2025-11-02 06:55:58 +08:00
xin
b48b4fc330 feat: more features 2025-10-31 08:37:58 +08:00
xin
25221d9178 fix: machine id issue 2025-10-30 22:54:33 +08:00
xin
d91a1fd564 fix: machine id issue 2025-10-30 15:33:38 +08:00
xin
4b5d2e7f70 feat: for bluetooth audio 2025-10-30 14:34:26 +08:00
xin
0c8e7639ca feat: internal disk 2025-10-26 19:28:00 +08:00
xin
633f20cb76 fix: airplay service status issue 2025-10-26 16:47:56 +08:00
xin
645250fac6 fix: airplay service status issue 2025-10-26 15:51:09 +08:00
xin
6433f98d88 feat: optimization for weak network env 2025-10-24 13:35:06 +08:00
xin
398d8ef10f feat: more 2025-10-17 10:09:13 +08:00
xin
d7d5527136 fix: validate error 2025-10-13 21:31:18 +08:00
xin
46c91b2801 feat: optimize sign 2025-10-13 09:47:24 +08:00
xin
55338e4218 feat: optimize 2025-10-11 20:28:27 +08:00
3 changed files with 188 additions and 82 deletions

View File

@ -1 +1 @@
http://xplayer-ota.pureroad.cn/files_20251010_095642.tar.xz
http://xplayer-ota.pureroad.cn/files_20251203_232832.tar.xz

View File

@ -2,11 +2,77 @@
hosts: localhost
become: yes
vars:
packages: "bluez \
mpc \
libasound2-dev \
libudev-dev \
libfmt-dev \
libfmt9 \
libchromaprint1 \
libupnp17 \
libnfs14 \
libavutil58 \
libavformat60 \
libavcodec60 \
libcdio-paranoia2 \
libcdio-cdda2 \
libcdio19 \
libmms0 \
libsoxr0 \
libid3tag0 \
libiso9660-11 \
libzzip-0-13 \
libao4 \
libjack-jackd2-0 \
libpipewire-0.3-0 \
libpulse0 \
libshout3 \
libsndio7.0 \
libopenal1 \
libavahi-common3 \
libavahi-client3 \
libadplug-2.3.3-0 \
libflac12 \
libfluidsynth3 \
libaudiofile1 \
libfaad2 \
libgme0 \
libmad0 \
libmikmod3 \
libmodplug1 \
libmpcdec6 \
libmpg123-0 \
libopus0 \
libsndfile1 \
libogg0 \
libvorbis0a \
libwavpack1 \
libwildmidi2 \
libvorbisenc2 \
libmp3lame0 \
libtwolame0 \
libshine3 \
net-tools \
libconfig9 \
avahi-daemon
libdbus-1-3 \
libglib2.0-0 \
libbluetooth3 \
libsbc1 \
libfdk-aac2 \
libldacbt-abr2 \
libldacbt-enc2 \
aria2 \
cloud-guest-utils"
tasks:
- name: update script
shell:
cmd: |
rm -rf /etc/apt/sources.list.d/jean-francois-dockes-ubuntu-upnpp1-noble.sources
/usr/bin/install_bluealsa_openaptx.sh
ignore_errors: yes
- name: switch mirror
copy:
src: ../files/sources.list.d/
@ -14,75 +80,73 @@
mode: '0644'
tags: apt
- name: install dependencies
apt:
name:
- bluez
- mpc
- libasound2-dev
- libudev-dev
- libfmt-dev
- libfmt9
- libchromaprint1
- libupnp17
- libnfs14
- libavutil58
- libavformat60
- libavcodec60
- libcdio-paranoia2
- libcdio-cdda2
- libcdio19
- libmms0
- libsoxr0
- libid3tag0
- libiso9660-11
- libzzip-0-13
- libao4
- libjack-jackd2-0
- libpipewire-0.3-0
- libpulse0
- libshout3
- libsndio7.0
- libopenal1
- libavahi-common3
- libavahi-client3
- libadplug-2.3.3-0
- libflac12
- libfluidsynth3
- libaudiofile1
- libfaad2
- libgme0
- libmad0
- libmikmod3
- libmodplug1
- libmpcdec6
- libmpg123-0
- libopus0
- libsndfile1
- libogg0
- libvorbis0a
- libwavpack1
- libwildmidi2
- libvorbisenc2
- libmp3lame0
- libtwolame0
- libshine3
- net-tools
- libconfig9
- avahi-daemon
# - bluez-alsa-utils
# - upmpdcli
state: present
cache_valid_time: 3153600 # 365天缓存
update_cache: no
become: yes
tags: apt
- name: uninstall bluez-alsa-utils
- name: check missing packages
shell:
cmd: apt remove -y bluez-alsa-utils
become: yes
cmd: |
MISSING=""
for pkg in {{ packages }}; do
# 先检查原包名
if dpkg-query -W -f='${Status}' "$pkg" 2>/dev/null | grep -q "install ok installed"; then
continue
# 如果原包名不存在,尝试检查带 t64 后缀的版本
elif dpkg-query -W -f='${Status}' "${pkg}t64" 2>/dev/null | grep -q "install ok installed"; then
continue
else
MISSING="yes"
break
fi
done
if [ -n "$MISSING" ]; then
echo "missing"
else
echo "all_installed"
fi
args:
executable: /bin/bash
register: package_check
changed_when: false
ignore_errors: yes
tags: apt
- name: update apt cache
shell:
cmd: |
if command -v apt-fast &> /dev/null; then
apt-fast update -y || apt-get update -y
else
apt-get update -y
fi
when: package_check.stdout == "missing"
ignore_errors: yes
tags: apt
- name: install dependencies
shell:
cmd: |
if command -v apt-fast &> /dev/null; then
apt-fast install -y {{ packages }} || apt-get install -y {{ packages }}
else
apt-get install -y {{ packages }}
fi
when: package_check.stdout == "missing"
ignore_errors: yes
tags: apt
- name: Create directories
file:
path: "{{ item.path }}"
state: directory
mode: "{{ item.mode | default('0755') }}"
recurse: yes
loop:
- path: /var/lib/mpd/playlists
- path: /var/lib/mpd/music
- path: /usr/local/lib/systemd/system
- path: /srv/login
- path: /usr/var/lib/bluealsa
- path: /srv/bluez-alsa
- name: Copy static files
copy:
src: "{{ item.src }}"
@ -119,17 +183,12 @@
- src: ../files/xplayer-start.sh
dest: /usr/local/bin/xplayer-start.sh
mode: '0755'
- name: Create directories
file:
path: "{{ item.path }}"
state: directory
mode: "{{ item.mode | default('0755') }}"
loop:
- path: /var/lib/mpd/playlists
- path: /var/lib/mpd/music
- path: /usr/local/lib/systemd/system
- path: /srv/login
- src: ../files/apt-fast
dest: /usr/local/bin/apt-fast
mode: '0755'
- src: ../files/apt-fast.conf
dest: /etc/apt-fast.conf
mode: '0644'
- name: update mpd data
copy:
@ -176,6 +235,29 @@
register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool)
- name: update bluealsa
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "{{ item.mode | default('0644') }}"
loop:
- src: ../files/bluealsa.service
dest: /etc/systemd/system/bluealsa.service
- src: ../files/install_bluealsa_openaptx.sh
dest: /usr/bin/install_bluealsa_openaptx.sh
mode: '0755'
- src: ../files/bluealsa_bundle.tar.gz
dest: /srv/bluez-alsa/bluealsa_bundle.tar.gz
tags: bluealsa
notify:
- install_bluealsa_openaptx
- reload_systemd
- enable_bluealsa
- stop_bluealsa
- start_bluealsa
register: copy_result
changed_when: copy_result.changed or (force_update | default(false) | bool)
- name: update camilladsp
copy:
src: "{{ item.src }}"
@ -217,6 +299,7 @@
mode: '0755'
- src: ../files/99-usb-auto-mount.rules
dest: /etc/udev/rules.d/99-usb-auto-mount.rules
mode: '0644'
tags: usb
notify:
@ -385,6 +468,23 @@
shell:
cmd: systemctl restart sing-box
- name: install_bluealsa_openaptx
shell:
cmd: /usr/bin/install_bluealsa_openaptx.sh
- name: enable_bluealsa
shell:
cmd: systemctl enable bluealsa
- name: stop_bluealsa
shell:
cmd: systemctl stop bluealsa
- name: start_bluealsa
shell:
cmd: systemctl start bluealsa
- name: restart_bluealsa
shell:
cmd: systemctl restart bluealsa
- name: enable_xplayer_server
shell:
cmd: systemctl enable xplayer-server
@ -399,6 +499,7 @@
- name: reboot_required
shell:
cmd: echo "need reboot"
cmd: sync && reboot

View File

@ -33,6 +33,11 @@ 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
# Clean up macOS resource fork files
find files -name "._*" -type f -delete