squeezelite

This commit is contained in:
2022-01-16 11:39:37 +00:00
parent bb03fbd666
commit fc7c764317
3 changed files with 57 additions and 6 deletions

6
etc/asound.conf Normal file
View File

@@ -0,0 +1,6 @@
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}

View File

@@ -0,0 +1,22 @@
# file located at /lib/systemd/system/
[Unit]
Description=Squeezelite
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
#ExecStart=/usr/bin/squeezelite -n "PlayerName"
#by default use pi name
ExecStart=/usr/bin/squeezelite
[Install]
WantedBy=multi-user.target