Hello,
My pc goes to sleep while I'm streaming. I do see the powercfg /request made by MC. It stays there around 10 seconds before going away(expected behavior?). On every track change a new request is made. I would expect that to reset the sleeping timer to 0 but it doesn't as my pc goes to sleep. Sleeping when idle is a desired behavior that is working flawlessly on non streaming mode.
Since, my old car died and got a real one, I want to stream MC into it with no sleeping interruption.
Update:
Problem already posted here:
https://yabb.jriver.com/interact/index.php?topic=124334.020 minutes was perfect as it is longer than mostly all songs... Why not put the request for the song length + 5 minutes. And even if this add an extra 5 minutes before going to sleep mode and you really care, then you can do it manually with the remote!
Maybe the expiration time could be in a parameter. I don't get the relation between the playlist and the sleeping time. IMO, if PC reach sleep time and you are not in the 5 seconds gap while track is changing, then, the PC will sleep, but, I'm probably wrong. Is there a shell command that could tell me that MC is currently streaming? If so, I can manage my own keep awake service...
I used to have a router that supported WOL from WAN, but, new one is a packaged one without that possibility. My plan to fix that is to use an AC smart plug to turn off/on the PC. As I'm always putting my PC to hibernation after 30 minutes, I think it's safe to do an AC power off from that state and then restart the PC to gain access to library trough port forwarding. Anyone could confirm that AC shutdown in hibernate mode is safe? Of course, I do need to fix the hibernate while streaming problem first...