Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5293

How to connect to LMS via TCP and ask number of active players?

$
0
0
Hello.

My LMS 7.7.2 runs on Mac OS. I am a newbie when it comes to LMS CLI commands etc. so my question:


#1 what's the correct way to ask the LMS server (=with username and password) via TCP/IP (not telnet if possible) how many players are still powered on (= not in standy-by mode) and receive a number as a result?

#2 can I also ask the LMS if there is still an unfinished (library) scanning process active?

I need to build this into an Applescript that is supposed to force sleep mode unless there are still players active/powered on or LMS is still scanning my library.

Although it may seem easy for a pro, not for me, more like impossible.

So I'd really appreciate your help!!!

THANK YOU!

Viewing all articles
Browse latest Browse all 5293

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>