music/librespot: Various tweaks

* Use pulseaudio backend
* Run as separate librespot user
* Use linear volume mixer
This commit is contained in:
polyfloyd 2025-05-14 19:57:30 +02:00
parent 301529271d
commit 43075d27fe
4 changed files with 22 additions and 15 deletions

View file

@ -8,13 +8,13 @@
state: restarted
daemon_reload: true
- name: Rebuild librespot
- name: rebuild librespot
ansible.builtin.command:
cmd: /root/.cargo/bin/cargo build --release --features jackaudio-backend
cmd: /root/.cargo/bin/cargo build --release --features pulseaudio-backend
args:
chdir: /opt/librespot
- name: Restart librespot
- name: restart librespot
ansible.builtin.systemd:
name: librespot
state: restarted