Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Moonlight docs #873

Closed
Tracked by #887
MichaIng opened this issue Apr 20, 2023 · 4 comments
Closed
Tracked by #887

Add Moonlight docs #873

MichaIng opened this issue Apr 20, 2023 · 4 comments
Labels
extension Extend/complement existing pages
Milestone

Comments

@MichaIng
Copy link
Owner

MichaIng commented Apr 20, 2023

MichaIng/DietPi#6303

Should contain:

moonlight pair HOST # hostname or IP, can be omitted for auto-detection but this did not work in my case
# enter shown PIN on HOST web UI
moonlight stream -app Desktop HOST # Stream desktop as example
@mtekman
Copy link

mtekman commented Apr 20, 2023

On a windows machine, running cmdcd C:\Program Files\Sunshine\; sunshine.exe -0 saves me from having to use the webui (in case of forgotten password), and allows you to enter a PIN directly into stdin

@MichaIng
Copy link
Owner Author

I started it via service according to docs:

cd /d "C:\Path\To\Sunshine\scripts"
install-service.bat

I tried it just double-clicking the sunshine.exe first, which did not work: The web UI was reachable but Moonlight could not detect. The -0 arg is required then?

Found /etc/moonlight.conf which allows to add the HOST, default app etc. There one can also define the A/V decoder. I see omx there (OpenMAX) as RPi decoder. This is probably the issue why it fails at least with 64-bit kernel, as this does not support OpenMAX (heading over to PR).

@MichaIng
Copy link
Owner Author

The config file /etc/moonlight.conf can be used to set default host, app, resolution etc, but it needs to be explicitly loaded:

moonlight /etc/moonlight.conf

Looks like it was made for running as service. I'll implement a service, service user and autostart option next week.

@MichaIng MichaIng mentioned this issue May 5, 2023
2 tasks
@MichaIng
Copy link
Owner Author

MichaIng commented May 6, 2023

Done: bb561cf
@mtekman I btw found the magic button to exit streaming:
CTRL+ALT+SHIFT+Q: https://github.com/moonlight-stream/moonlight-docs/wiki/Setup-Guide#keyboardmousegamepad-input-options

@MichaIng MichaIng closed this as completed May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Extend/complement existing pages
Projects
None yet
Development

No branches or pull requests

2 participants