feat: splite volume for other input
This commit is contained in:
parent
9e80909bef
commit
e60d9d2a70
@ -1 +1 @@
|
|||||||
http://xplayer-ota.pureroad.cn/files_20251107_234319.tar.xz
|
http://xplayer-ota.pureroad.cn/files_20251108_083626.tar.xz
|
||||||
|
|||||||
@ -1,93 +1,104 @@
|
|||||||
- name: Configure Xplayer Server
|
- name: Configure Xplayer Server
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
become: yes
|
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 \
|
||||||
|
cloud-guest-utils"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: update script
|
- name: update script
|
||||||
shell:
|
shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
/usr/bin/install_bluealsa_openaptx.sh
|
/usr/bin/install_bluealsa_openaptx.sh
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: switch mirror
|
- name: switch mirror
|
||||||
copy:
|
copy:
|
||||||
src: ../files/sources.list.d/
|
src: ../files/sources.list.d/
|
||||||
dest: /etc/apt/sources.list.d/
|
dest: /etc/apt/sources.list.d/
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
tags: apt
|
tags: apt
|
||||||
|
|
||||||
- name: update apt cache
|
- name: update apt cache
|
||||||
shell:
|
shell:
|
||||||
cmd: apt-get update -y
|
cmd: |
|
||||||
|
if command -v apt-fast &> /dev/null; then
|
||||||
|
apt-fast update -y
|
||||||
|
else
|
||||||
|
apt-get update -y
|
||||||
|
fi
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
tags: apt
|
tags: apt
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
apt:
|
shell:
|
||||||
name:
|
cmd: |
|
||||||
- bluez
|
if command -v apt-fast &> /dev/null; then
|
||||||
- mpc
|
apt-fast install -y {{ packages }}
|
||||||
- libasound2-dev
|
else
|
||||||
- libudev-dev
|
apt-get install -y {{ packages }}
|
||||||
- libfmt-dev
|
fi
|
||||||
- libfmt9
|
ignore_errors: yes
|
||||||
- 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
|
|
||||||
- cloud-guest-utils
|
|
||||||
# - upmpdcli
|
|
||||||
state: present
|
|
||||||
update_cache: no
|
|
||||||
become: yes
|
|
||||||
tags: apt
|
tags: apt
|
||||||
|
|
||||||
- name: Create directories
|
- name: Create directories
|
||||||
@ -141,6 +152,12 @@
|
|||||||
- src: ../files/xplayer-start.sh
|
- src: ../files/xplayer-start.sh
|
||||||
dest: /usr/local/bin/xplayer-start.sh
|
dest: /usr/local/bin/xplayer-start.sh
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
- 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
|
- name: update mpd data
|
||||||
copy:
|
copy:
|
||||||
|
|||||||
2
sync.sh
2
sync.sh
@ -36,6 +36,8 @@ 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:/usr/bin/install_bluealsa_openaptx.sh files/install_bluealsa_openaptx.sh
|
||||||
rsync 5c:/etc/systemd/system/bluealsa.service files/bluealsa.service
|
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:/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
|
# Clean up macOS resource fork files
|
||||||
find files -name "._*" -type f -delete
|
find files -name "._*" -type f -delete
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user