Man in a van wrote: 
> @ronnie, my biggest issue is not DAC standby. What really pisses me off
> is what I posted in my last message:
> 
> 
> 
> 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
I’m not at home but will review this later today. Thanks for the
detailed write-up, and for naming your pi after me!! :)


------------------------------------------------------------------------
kitus's Profile: http://forums.slimdevices.com/member.php?userid=73121
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