revision after reinstall

This commit is contained in:
2025-09-28 23:35:19 +01:00
parent 1bf7a0529b
commit 26a7c27a52
4 changed files with 129 additions and 193 deletions

View File

@@ -1,18 +0,0 @@
pcm.!default {
type plug
slave.pcm plugequal;
}
ctl.!default {
type hw card 0
}
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
slave.pcm "plughw:0,0";
}
pcm.equal {
type plug;
slave.pcm plugequal;
}

View File

@@ -1,21 +0,0 @@
# file located at /lib/systemd/system/
[Unit]
Description=onlyone
Requires=network.target sound.target
After=network.target sound.target
[Service]
Type=simple
# change for user you want!
User=root
# note use your mac address as given by ifconfig and the name you wish to give your player
Environment=PYTHONPATH=/srv
ExecStart=/usr/bin/python3 -m onlyone --server
[Install]
WantedBy=multi-user.target

View File

@@ -1,4 +1,4 @@
# file located at /lib/systemd/system/
#/etc/systemd/system/squeezelite.service
[Unit]
@@ -16,7 +16,11 @@ User=root
# note use your mac address as given by ifconfig and the name you wish to give your player
#ExecStart=/usr/bin/squeezelite -n "PlayerName"
#by default use pi name
ExecStart=/usr/local/bin/squeezelite
ExecStart=/usr/local/bin/squeezelite -s lms.lan
ExecStartPre=/bin/sleep 3
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target