Pause and Unpause Commands #408
Unanswered
Petkov0721
asked this question in
Sunshine
Replies: 1 comment 1 reply
-
Hello, I'm trying to figure it out also. Would you mind sharing your script ? Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have a script that uses Nyrna to suspend and resume my games on start (do command) and stop (undo) of the stream. It helps keep game states and also helps with power consumtion. Problem is there is no way to quit the apps as there are no pause commands so I am using the quit (undo) one.
It would be amazing if we could have intermediate commands that would run when a game is paused and unpaused - aka. when someone stops the stream (and opens it) without quitting the app. That way, it would be possible to have the suspend/resume and also add a quit option.
I suspect this might not be hard to implement as Sunshine already tracks when a stream is paused - the tray notification states it.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions