You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many people use Sunshine with various scripts plugged into the onfig.do_cmd / onfig.undo_cmd, and wrapping the executable itself in a .ps1 script (e.g. MonitorSwapAutomation).
Feature Request
I would like to request a feature where the user can add a "background" task much like the pre/post commands that runs constantly and has sunshine context (e.g. an ENV variable SUNSHINE_CURRENT_SESSIONS, SUNSHINE_LAST_SESSION_LOGOUT, SUNSHINE_IS_PROCESSING_SESSIONS, etc).
The rationale is one can write more robust monitor/cleanup scripts than can currently be written with pre/post operations.
Example Use Case
For example, MonitorSwapAutomation can leave the user with a busted main monitor if say the game crashes into a "debug report" state or other race conditions. This has to be resolved by using "Desktop" on Moonlight and manually fixing the displays with a script/GUI.
This feature would allow the system to "self-heal" itself if it realized no Sunshine sessions h ad been logged in for a certain amount of time.
The text was updated successfully, but these errors were encountered:
Background
Many people use Sunshine with various scripts plugged into the
onfig.do_cmd
/onfig.undo_cmd
, and wrapping the executable itself in a.ps1
script (e.g. MonitorSwapAutomation).Feature Request
I would like to request a feature where the user can add a "background" task much like the pre/post commands that runs constantly and has sunshine context (e.g. an ENV variable
SUNSHINE_CURRENT_SESSIONS
,SUNSHINE_LAST_SESSION_LOGOUT
,SUNSHINE_IS_PROCESSING_SESSIONS
, etc).The rationale is one can write more robust monitor/cleanup scripts than can currently be written with pre/post operations.
Example Use Case
For example,
MonitorSwapAutomation
can leave the user with a busted main monitor if say the game crashes into a "debug report" state or other race conditions. This has to be resolved by using "Desktop" on Moonlight and manually fixing the displays with a script/GUI.This feature would allow the system to "self-heal" itself if it realized no Sunshine sessions h ad been logged in for a certain amount of time.
The text was updated successfully, but these errors were encountered: