bpa wrote: > You may need to start looking at using CLI and possibly JSON - it can ge > complicated. > > Look at this thread for ideas. > https://forums.slimdevices.com/showthread.php?98116-How-to-connect-to-LMS-via-TCP-and-ask-number-of-active-players > > Possible command are in the LMS technical information (webGUI Help / > Technical Information / The Logitech Meda Server Command line interface > or > http://htmlpreview.github.io/?https://raw.githubusercontent.com/Logitech/slimserver/public/7.9/HTML/EN/html/docs/cli-api.html > )
thank you but I think it is for server side. for example this command for using to detect players state. <playerid> connected ? Returns the connected state of the player, 1 or 0 depending on the state of the TCP connection to the player. SLIMP3 players, since they use UDP, always return 1. Examples: Request: "04:20:00:12:23:45 connected ?<LF>" Response: "04:20:00:12:23:45 connected 1<LF>" i need something else, vice versa... detecting server status from client side (zero w) or detecting my zero w is connected to server. if connected led is going to be on. disconncted or lms server not found/led off. ------------------------------------------------------------------------ nimaazx's Profile: http://forums.slimdevices.com/member.php?userid=68798 View this thread: http://forums.slimdevices.com/showthread.php?t=110118 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
