Squeezelite inactive

Hi there,

I’ve recently updated to the latest version of Dietpi and have had some issues with getting LMS running alongside Squeezelite on a RPI 3b where I have a HiFiBerry DAC+. I thought something went wrong with the installation so I created a new image from scratch but although LMS is running find, squeezelite is showing as inactive under the dietpi-services.

I have been trying to activate it but without any luck unfortunately.

Anyone has any idea what I could try?

many thanks in advance for your help.

Jules

squeezelite.service - SqueezeLite (DietPi) │
│ Loaded: loaded (/etc/systemd/system/squeezelite.service; disabled; vendor preset: enabled) │
│ Drop-In: /etc/systemd/system/squeezelite.service.d │
│ └─dietpi-services_edit.conf │
│ Active: inactive (dead) │
│ │
│ May 07 14:22:40 DietPi-livingroom systemd[1]: Started SqueezeLite (DietPi). │
│ May 07 14:22:40 DietPi-livingroom systemd[1]: squeezelite.service: Succeeded. │
│ May 07 14:22:42 DietPi-livingroom systemd[1]: Started SqueezeLite (DietPi). │
│ May 07 14:22:42 DietPi-livingroom systemd[1]: squeezelite.service: Succeeded. │
│ May 07 14:23:35 DietPi-livingroom systemd[1]: Started SqueezeLite (DietPi). │
│ May 07 14:23:35 DietPi-livingroom systemd[1]: squeezelite.service: Succeeded. │
│ May 07 14:23:38 DietPi-livingroom systemd[1]: Started SqueezeLite (DietPi). │
│ May 07 14:23:38 DietPi-livingroom systemd[1]: squeezelite.service: Succeeded. │
│ May 07 14:23:46 DietPi-livingroom systemd[1]: Started SqueezeLite (DietPi). │
│ May 07 14:23:46 DietPi-livingroom systemd[1]: squeezelite.service: Succeeded.

Hi,

many thanks for your report. Pls can you poist your service config file

systemctl cat squeezelite.service

No problem and thanks for offering your help!

Here’s the output:

[Unit]
Description=SqueezeLite (DietPi)

[Service]
ExecStart=/usr/bin/squeezelite -a 4096> :1024:> 16:0 -C 5 -n ‘LivingRoom’ -f /var/lo
g/squeezelite.log

[Install]
WantedBy=multi-user.target

/etc/systemd/system/squeezelite.service.d/dietpi-services_edit.conf

[Unit]
#Description=SqueezeLite (DietPi)

[Service]
#ExecStart=/usr/bin/squeezelite -a 4096> :1024:> 16:0 -C 5 -n ‘LivingRoom’ -f /var/l
og/squeezelite.log

[Install]
#WantedBy=multi-user.target

By the way, the squeezelite I have installed on a raspberry pi zero (so another install) is not outputting any music from the server and this stopped working since I updated to the latest version of DietPi so I wonder of something happened on the latest recent releases.

Hi,

can you try running /usr/bin/squeezelite manually on command level? Does it give any error message?

Hi,

there you go:

root@DietPi-livingroom:~# /usr/bin/squeezelite
[08:47:45.387926] test_open:281 playback open error: No such file or directory
[08:47:45.388070] output_init_common:382 unable to open output device

Pls can you have a look to dietpi-config if audio device is correctly setup? May you can have it deactivate, reboot, activate it again and do one more reboot.

Ok all good. In the end what was wrong in my end was that I had the wrong sound card selected. Bit confusing was that I have a dac+ from hifiberry but had to select hifiberry-dac in the options selected.

In any case many many thanks for your help that’s been much appreciated.

best

Ok cool that we have it fixed now.