The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
Stopping Sleep When MinimServer actively streaming
04-10-2025, 17:34
Post: #1
Stopping Sleep When MinimServer actively streaming
My setup is fairly simple, I have a small form factor PC running MinimServer, a NAS with my ripped music and a Naim Mu-So which I control from the Naim app. I use Control Panel/Power Options to set 'Put the computer to sleep' at 4 hours.

However, often, my music listening goes beyond this and my PC goes to sleep mid session. I know it is relatively simple to get up and wake it, but it's awkward if there are guest round, etc..

I'd like a script (e.g. Powershell or similar) that I could set to run periodically that would set 'Put the computer to sleep' to 'Never' when MinimServer is actively streaming, but back to say 20 min when streaming has finished and no music is being played.

I have tried all sorts of tactics, interestingly helped by Copilot, but can't reliably tell when MinimServer is active.

Has anyone solved this - I see lots of posts about MinimServer preventing sleep, but I have the oposite issue - the PC goes to sleep when I'd rather it stayed awake. How can I detect that MinimServer is active?

Any thoughts? Thanks in advance.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Stopping Sleep When MinimServer actively streaming - M_C - 04-10-2025 17:34

Forum Jump:


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