darklinkpower / PlayniteExtensionsCollection

Collection of extensions made for Playnite.
MIT License
331 stars 29 forks source link

[Splash Screen] extension preventing sleep / hibernate #395

Open lyndonguitar opened 1 year ago

lyndonguitar commented 1 year ago

Extension name

Splash Screen

Bug Description

This is preventing sleep / hibernate because when playnite and this extension is open apparently "An audio stream is currently in use." is appearing via powercfg /requests

This is more apparent with Steam Deck because I am constantly using the power button to sleep, only for it to wake right back up (after around a minute) because of this.

I have tested thoroughly and I can validate that it's this combo that's causing this "audio stream is currently in use." Note that I don't even have videos configured in. Having it installed in Playnite is enough to cause this bug.

After more testing, the problem also persists with games run via playnite, even if playnite was closed after the fact. (Run game via Playnite -> Game is running -> Close playnite and leave game running -> Try to Sleep -> it still wakes back up)

However, running a game via its own launcher/shortcut/exe or via playnite desktop seems to have eliminated the problem. So if it runs while in Playnite fullscreen, it causes it to wake back up

uninstalling the "splash screen" extension seems to be what fixed the problem.

To Reproduce

No response

Logs

extensions.log playnite.log

Screenshots

No response

darklinkpower commented 1 year ago

It looks like this issue in Playnite itself https://github.com/JosefNemec/Playnite/issues/2932

Does the issue happen on Desktop Mode? The extension doesn't work differently on either mode, if it doesn't happen on Desktop Mode it means the issue is not in the extension itself.

Also try restarting Playnite in safe mode from menu > help and see if the issue remains.