SegoCode / AutoWall

🌌 Live wallpapers on Windows 7/8/10/11 using open-source wallpaper engine
GNU General Public License v3.0
545 stars 52 forks source link

Blocks Windows from Sleeping #20

Closed AkazaRenn closed 2 years ago

AkazaRenn commented 2 years ago
PS C:\Users\i> powercfg /requests
DISPLAY:
[PROCESS] \Device\HarddiskVolume3\Users\i\Downloads\AutoWall\AutoWall\mpv\mpv.exe

SYSTEM:
[PROCESS] \Device\HarddiskVolume3\Users\i\Downloads\AutoWall\AutoWall\mpv\mpv.exe

AWAYMODE:
None.

EXECUTION:
None.

PERFBOOST:
None.

ACTIVELOCKSCREEN:
None.
SegoCode commented 2 years ago

Hmmm interesting, I found information about it, I will investigate it thoroughly for the next version

maybe powercfg /requestsoverride /? can help for this

https://superuser.com/questions/561381/where-are-changes-made-by-the-pwrcfg-exe-command-line-utility-stored https://superuser.com/questions/1181186/power-request-types-whats-the-difference-between-display-system-awaymode-p https://github.com/mpv-player/mpv/issues/1841

rocksdanister commented 2 years ago

Just set --stop-screensaver=no mpv flag.

SegoCode commented 2 years ago

stop-screensaver=no

@AkazaRenn can you try add this in the conf file https://github.com/SegoCode/AutoWall/blob/master/src/mpv/mpv.conf

Confirm that fixes the problem pls

Thxxx!

AkazaRenn commented 2 years ago

@SegoCode sorry wasn't checking GitHub recently, just tested and seems perfect. Thank you and @rocksdanister ! image

SegoCode commented 2 years ago

Nice! commited, thx for helping!