Do/Undo commands to enable/disable display? #288
Unanswered
mdrichardson
asked this question in
Sunshine
Replies: 0 comments 7 replies
-
Prep commands run before the stream starts... So my guess is that your script is completed before the screen is actually initialized. Maybe add a sleep to your script for a few seconds. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My PC is on an Ultrawide monitor and I use Moonlight on a TV, so I use IddSampleDriver to create a virtual monitor.
However, I rarely use Moonlight (once every couple weeks), so it would be nice to have that virtual monitor disabled and then only enabled for Moonlight streams.
I've added CLI commands (that work just fine) as Do/Undo commands at both the app and global config levels. The problem is that when trying to connect via Moonlight, it gives the error about not being able to initialize the display, like it's trying to do that before the Do command runs.
Is there a better/different way to do this?
Beta Was this translation helpful? Give feedback.
All reactions