@ronnie, my biggest issue is not DAC standby. What really pisses me off
is what I posted in my last message:

> 
> I would be very thankful if you provided some guidance to making my 
> system go into standby when pressing the on/off button on LMS. Making my
> DAC go into standby is important, but
> _it_is_way_way_more_important_to_solve_my_biggest_issue_:  every so
> often (starting a few hours or minutes since I have stopped  playing
> music with LMS + pCP) Squeezelite believes it is still capable  of doing
> so (even I can see LMS progress bar moving), but in reality no  sound
> comes through the speakers, unless I manually restart squeezelite  every
> time I want to listen to some music. Restarting pCP is not that 
> convenient when you are not in front of a computer, and it is a mood 
> killer.

Squeezelite is either off or on

If it has the -z flag it is always on (in the background)

If it has the -C flag then it will drop the connection after the
specified time. 

When I have this setting in raspberry PI OS and I run the squeezelite
status it still shows as running

This is taken at 10 56am. with Squeezelite paused and the dac in
standby.



Code:
--------------------
    pi@kitus:~ $ sudo /etc/init.d/squeezelite status
  ● squeezelite.service - Squeezelite LMS player
  Loaded: loaded (/etc/systemd/system/squeezelite.service; enabled; vendor 
preset: enabled)
  Active: active (running) since Sat 2022-12-10 09:05:49 GMT; 1h 50min ago
  Process: 462 ExecStart=/etc/init.d/squeezelite start (code=exited, 
status=0/SUCCESS)
  Main PID: 518 (squeezelite-arm)
  Tasks: 4 (limit: 1596)
  CPU: 4min 16.360s
  CGroup: /system.slice/squeezelite.service
  └─518 /usr/bin/squeezelite-armv6hf -o hw:CARD=Pro,DEV=0 -n kitus 
-m b8 27 eb a6 97 1b -C 5 -P /var/run/squeezelite-armv6hf.pid -z
  
  Dec 10 09:05:48 kitus systemd[1]: Starting Squeezelite LMS player...
  Dec 10 09:05:49 kitus sudo[470]:     root : PWD=/ ; USER=root ; 
COMMAND=/usr/bin/squeezelite-armv6hf -t
  Dec 10 09:05:49 kitus sudo[470]: pam_unix(sudo:session): session opened for 
user root(uid=0) by (uid=0)
  Dec 10 09:05:49 kitus sudo[470]: pam_unix(sudo:session): session closed for 
user root
  Dec 10 09:05:49 kitus squeezelite[462]: Starting: 
/usr/bin/squeezelite-armv6hf  -o hw:CARD=Pro,DEV=0 -n kitus -m 
b8:27:eb:a6:97:1b -C 5 -P /var/run/squeezelite-armv6hf.pid -z
  Dec 10 09:05:49 kitus squeezelite[462]: with pidfile: 
/var/run/squeezelite-armv6hf.pid
  Dec 10 09:05:49 kitus systemd[1]: squeezelite.service: Can't open PID file 
/run/squeezelite-armv6hf.pid (yet?) after start: Operation not permitted
  Dec 10 09:05:49 kitus systemd[1]: Started Squeezelite LMS player.
  pi@kitus:~ $
--------------------


It's the new build from this morning, using Gerrelt's scripts and
squeezelite is daemonised, but even without  -z I'm certain I have seen
it show as running

I think the -C option no longer seems to work, as I can run librespot
and squeezelite through the same output without -C being set, and I sure
that was not always the case

ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=117179

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to