Querying UMS status?
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Querying UMS status?
Hi there!
I am using UMS as a server in headless mode.
I made a script to restart it periodically, but i do not want to restrt it while it is being "used". Is there a way to query how many clients are connected to it and/or if it is streaming a content?
Thank you
I am using UMS as a server in headless mode.
I made a script to restart it periodically, but i do not want to restrt it while it is being "used". Is there a way to query how many clients are connected to it and/or if it is streaming a content?
Thank you
Re: Querying UMS status?
There's no way to query it at all.
Re: Querying UMS status?
You can try using output from netstat. If port 5001 (9001 for web client) is connected, that would indicate a client is connected to UMS.
Re: Querying UMS status?
Great idea, thank you!