squeezelite
This commit is contained in:
6
etc/asound.conf
Normal file
6
etc/asound.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
pcm.!default {
|
||||
type hw card 0
|
||||
}
|
||||
ctl.!default {
|
||||
type hw card 0
|
||||
}
|
||||
22
etc/systemd/system/squeezelite.service
Normal file
22
etc/systemd/system/squeezelite.service
Normal 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
|
||||
Reference in New Issue
Block a user