epoch1970 wrote: 
> 
> You can also telnet, as in > 
Code:
--------------------
  >   > (echo "player id  ?"; sleep 1; echo "exit") | telnet server_ip 9090
--------------------
> >  and curl also has a telnet emulation that would work, too.
> 

Thanks, got the hang of it! So the setup would be:

1) start squeezelite
2) on the RasPi client check the initial playerid
3) periodically check from the client/RasPi if LMS still knows the
player, e.g. with "<playerid> connected ?"
4) if not, restart squeezlite; if telnet/nc fails, restart the
network/wifi stack

Gonna hack something together for that tonight.


------------------------------------------------------------------------
Raspi+MIPS's Profile: http://forums.slimdevices.com/member.php?userid=58448
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to