Post Reply 
How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming?
17-11-2018, 20:38
Post: #2
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming?
OK, I figured it out. Here's what I did, in case someone else is looking for a similar hack:

1. Set MinimServer's ohnet.loglevel to none and loglevel to trace (to pause logging when streaming stops)
2. Make BubbleUPnP Server's urlcache.dat read-only (to force MinimServer to keep trace-level-logging the whole time that streaming is ongoing)
3. Make a script that compares minimserver.log file size changes once a minute
4. If file size changes, MinimServer has updated its log a.k.a. streaming may be going on -> initiate a never-sleeping power profile on PC
5. If minimserver.log file size stays the same, streaming has stopped -> switch to a sleep-after-5-minutes power profile
6. The script is always running in the background. It doesn't eat up any resources, but reliability can be an issue as it's just a dos script running in an invisible cmd (packed as exe).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to detect on Windows if MinimServer (+BubbleUPnP Server) is actively streaming? - Uoppi - 17-11-2018 20:38

Forum Jump:


User(s) browsing this thread: 1 Guest(s)