The Radio checks its network status every 5 seconds, as part of a task
that updates the UI display.

It has occurred to me that, perhaps, the actions of @POMdev's script
might be incorporated into SqueezePlay itself, as part of this regular
update. I don't know whether that is feasible.

My set up does not suffer the problem, so I can't investigate.

My first step would be to look at some SqueezePlay log output to see if
anything can be seen from that. As a start, it might be instructive to
see what, if anything, is logged when the WiFi connection is lost.

A debug log output from -applet.SqueezeboxBaby- will show the following
each time it has run the network status check successfully:


Code:
--------------------
    
  Mar 11 13:00:16 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 1
  Mar 11 13:00:16 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 3
  Mar 11 13:00:16 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 5
  Mar 11 13:00:16 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 8
  Mar 11 13:00:16 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 10
  Mar 11 13:00:16 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 12
  Mar 11 13:00:17 squeezeplay: DEBUG  applet.SqueezeboxBaby - 
SqueezeboxBabyApplet.lua:784 _updateWireless: 12
  
--------------------


The check carried out is a partial "Network health check". A debug log
output from -net.socket- will show very much more.

If an "afflicted" Radio logs something different, well, that might start
to open up an avenue of investigation. My goal in doing this would be to
see if any natural 'hooks', or additional tests, might be suggested.

For those interested in pursuing, the relevant SqueezePlay code ('stock'
firmware) is here:

https://github.com/Logitech/squeezeplay/blob/public/7.8/src/squeezeplay_baby/share/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua#L773
https://github.com/Logitech/squeezeplay/blob/public/7.8/src/squeezeplay_squeezeos/share/jive/net/Networking.lua#L1998

But perhaps these avenues have already been exhausted, I do not know.
This is quite a long thread.


------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=109953

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

Reply via email to