FrogTheFrog / moondeck

A plugin that makes it easier to manage your gamestream sessions from the SteamDeck.
GNU General Public License v3.0
119 stars 5 forks source link

[Feature Request] Automatically suspend host PC when gaming session ends #18

Closed KingIzzymon closed 1 year ago

KingIzzymon commented 1 year ago

Could you add the following options to 'Host Settings'?

FrogTheFrog commented 1 year ago

I have already considered something similar, but there are hard questions that I don't want to think about, such as:

There are also some other edge cases that make it hard to properly implement, therefore I will not implement this feature. However, you're free to try to get this working yourself and create a PR.

KingIzzymon commented 1 year ago

Makes sense. I was figuring just keeping it simple in that, "if stream started from SteamDeck, and if stream closed by steam deck, then handle options X, Y, Z" and ignoring all other cases.

If I have time, I'll work on this but going to prioritize simplifying setup. That way your plugin has more potential visibility/contributors.

FrogTheFrog commented 1 year ago

Just a tip if you're going to try to implement this is you need to implement it in Buddy first. PcControl is the class you would be looking for to edit somehow.