moonlight-embedded w/ Luna (BETA)
Source code with amlogic decoder changes: https://github.com/TheChoconut/moonlight-embedded
Modified Luna: https://github.com/stickman89/Luna
Moonlight install script: https://gist.githubusercontent.com/TheChoconut/fe550f8c19c11f71a85841f135eddecb/raw/
Download Luna from GitHub releases:
Install Luna in Kodi:
Addons -> Install from ZIP --> script.luna.zip
Select “Setup Moonlight PKG” in the settings window. It will automatically setup moonlight package so you don’t have to worry about anything else.
Set up Luna by entering Host IP in script settings. Click on Pair Host and enter the code on your host machine. Set your wanted settings (resolution, framerate, etc.)
Your game libraries is available in “Games”. Clicking on a game will launch the game with previously selected settings.
Alternative: Manual setup (use this if method above doesn't work)
SSH into your box.
Paste the following line in the console:
wget https://gist.githubusercontent.com/TheChoconut/fe550f8c19c11f71a85841f135eddecb/raw/ -qO - | bash
Moonlight-experiment dl helper command
wget https://gist.githubusercontent.com/TheChoconut/6d260b55439f39bf69e7dd030d7190dd/raw/8e40e3e7bafcc5472be55b997aaf4ebb9419a39e/download_moonlight.sh -qO - | bash
This will set up your moonlight binaries in the right spot so it is compatible with Luna script.
ZeroTier notices by @stickman89
Init scripts are not required for ZeroTier.
Just enable ‘ZeroTier Connect’ via Luna. Set the ‘Host IP’ to your hosts ZeroTier assigned address within Luna > Settings and ZeroTier will automatically initiate a connection before game launch, and close the connection on session disconnect.
Thank you @stickman89!
Latest Luna changelog
New loading animation
Cleanup duplicate code
Update the app icon
Monitor app icon for changes and update cache accordingly
Move some configuration files to Settings.xml. (zerotier & lastrun)
Latest moonlight-embedded changelog
Added support for delaying A/V playback.
Tweaked build scripts as some libraries aren’t required anymore.