moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.66k stars 623 forks source link

Auto-Connect to Preferred PC on Launch #1366

Open GeneBO98 opened 3 months ago

GeneBO98 commented 3 months ago

Is your feature request related to a problem? Please describe. Currently, there is no way that I can think of to get Moonlight to start a launch automatically with a Macro.

Describe the solution you'd like Incorporate an option to auto-connect to my "preferred" PC when Moonlight starts. This would make it more "console" like and make it easier to use in a living room setting.

Describe alternatives you've considered I have attempted to use certain autohotkeys to launch Moonlight, then navigate to my PC, then launch the connection, but this is not reliable.

jorys-paulin commented 3 months ago

Hello! You can use the CLI to start streaming directly, see moonlight --help

shodanx2 commented 3 months ago

Hello

For this I have created a shortcut

In target you put the CLI arguments

Here are mine

"C:\Program Files\Moonlight Game Streaming\Moonlight.exe" --display-mode windowed --resolution 1280x720 stream 192.168.1.12 desktop

image

I really wish I could disable mouse capture by default, because now I need to press CTRL+ALT+SHIFT+M every single time I restart it

cgutman commented 2 months ago

I really wish I could disable mouse capture by default, because now I need to press CTRL+ALT+SHIFT+M every single time I restart it

You can with --absolute-mouse.