|
How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming?
|
|
17-11-2018, 12:01
(This post was last modified: 17-11-2018 12:07 by Uoppi.)
Post: #1
|
|||
|
|||
|
How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming?
I'm trying to toggle my PC power profiles (sleep after 5 min & never sleep) based on whether there's active streaming going on or not (between MinimServer and BubbleUPnP Server, which are on the same HTPC, reading from a NAS).The rationale for it being, normal sleeping tweaks and power on request overrides etc. don't work.
What I've got halfway working is to loop a query ('netstat -an') from a batch script, on a specific x.x.x.x.:9790 port. Is there any other method to check whether MinimServer is actively streaming? I'm thinking maybe mscript (which I'm unfamiliar with), or a batch script scanning the contents of some MinimServer log etc.? I'd really appreciate some help. The x.x.x.x.:9790 port I mentioned is always opened when streaming starts but that also requires making the urlcache in BubbleUPnP Server read-only, so that BubbleUPnP Server always needs an active connection to MinimServer while streaming. Everything seems to work fine up until streaming has stopped. Sometimes the x.x.x.x.:9790 disappears from the netstat active connection list after a few minutes but sometimes the connection appears to get stuck in established mode. What this means is that then my PC also remains in the never-sleep power profile . I haven't been able to decipher the logic, the connection closing or not post-streaming seems hit-and-miss.
|
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - Uoppi - 17-11-2018 12:01
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - Uoppi - 17-11-2018, 20:38
RE: How to detect on Windows if MinimServer is actively streaming? - simoncn - 17-11-2018, 21:41
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - Uoppi - 18-11-2018, 17:26
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - simoncn - 18-11-2018, 18:02
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - Uoppi - 18-11-2018, 19:18
RE: How to detect on Windows if MinimServer is actively streaming? - simoncn - 18-11-2018, 22:09
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - Uoppi - 20-11-2018, 21:38
|
User(s) browsing this thread: 2 Guest(s)

Search
Member List
Calendar
Help


. I haven't been able to decipher the logic, the connection closing or not post-streaming seems hit-and-miss.

