I hope I'm not hijacking this thread, but this is the closest thing I
have found to a solution to my current problem.

As ehjones has described in this thread, I could not get any output from
the audio jack (headphones) on a rPi4.  I have gone though a number of
clean installs and re-configurations and am currently at this point:

1)  Raspberry Pi OS with desktop Jan 11/21 installed WITHOUT updates at
initial configuration (note, also tested WITH updates, same results)

2) installed squeezelite -ALSA version via Add/Remove software followed
by reboot

3) upon reboot, the instance of squeezelite appears in my LMS server
(running in a pCP on another rPi4). The squeezelite instance is
reporting version 1.8 with playername "raspberry pi".  The player MAC
address is appearing as 00:00:00:00:00:00

4) on LMS, select the player from the drop down, add a track to the play
list and hit play.  No sound.

5) return to the player pi, stop the squeezelite service and start
squeezelite from the command line *squeezelite -d all=info*

6) back to the LMS server, where I refresh the settings page which now
is displaying the correct MAC address for the player instance

7) now I can play the song in the players queue and get output from the
audio jack.

8) quit the squeezelite application on the player.  

9) Edit /etc/default/squeezelite and add only *SB_EXTRA_ARGS= "-d
all=info"* to the initialisation file.

10) restart the squeezelite daemon using systemctl and confirm that the
process is running with EXACTLY the same arguments as when run from the
command line


Code:
--------------------
    
  pi@raspberrypi:~ $ ps -xa | grep squeeze
  499 ?        SLl    0:00 /usr/bin/squeezelite -d all info
  905 pts/0    S+     0:00 grep squeeze
  
--------------------


11) Flip back over to the LMS server and try to play the mp3 again and
once more, no sound.

I have gone through these series of steps several times and added -f
/var/log/squeezelite.log to the arguments list (both command line and
daemon) and compared the log outputs.  I have not seen any differences
between the logs.

I have tried with and without the *"-a :::0"* argument and seen no
differences.

I have run squeezelite from the command line with the *-z* argument to
daemonize it.  In this instance, I can get sound.

There seems to be something about daemonizing the squeezelite process
via systemd that is causing the problem but I'm hoping that someone here
can either point out something I'm doing wrong, something I've missed or
how to fix this problem.

I'm thinking that I'll just have to run this as a simple boot script in
init.d rather than having it controlled as a daemon via systemd.

Any feedback welcome.


------------------------------------------------------------------------
ryandkg's Profile: http://forums.slimdevices.com/member.php?userid=71415
View this thread: http://forums.slimdevices.com/showthread.php?t=113867

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to