A95X F3 Air, latest version worked for me too, and it’s fine with Kodi hdmi multi ch. Much appreciated @smg04!
Btw, do you have any idea why we have to replug our usb devices? Chris_j and I have the same issue apparently. For example, ctrl + shift + alt + Q shortcut doesn’t work until I do this.
I thought the issue was gone with the new version, but I was wrong. This will try and reset the USB devices before launching moonlight, which helps in proper recognition.
Hey CoreELEC Team!
I’ve provided a fix for most of the bugs within the moonlight binary and we now have confirmation of both audio and video working, as well as surround audio.
I already have a setup on your toolchain for building it, so I was wondering, could this addon become a part of the official repository?
@smg04, your efforts have been fantastic and I really appreciate all you have done to bring Moonlight to CoreELEC. It runs really smoothly for me and is great to have the mouse emulation with the gamepad - is there a recommended configuration on the packet sizes do you know?
@smg04, I’ve just applied this version now and I found when quiting the stream using the controller, the controller no longer worked on the Kodi interface. If I used the remote to open a session again then the controller carried on working. So don’t know if there is something going on there.
@smg04, I’ll try it again tomorrow I ended up putting the previous version back on which was fine.
I just simply went on a game for a short while and when I quit moonlight the controller wouldn’t control Kodi afterwards. I went onto moonlight again and only mouse emulation worked. I ended up restarting the box and it worked again.
Morning @smg04, here are the logs for the 118 & 120 version. I enabled debug for them both, but doesn’t seem to give a lot of information to me.
118 works flawlessly, but 120 again Kodi lost connection to the controller once I quit Luna… Another thing I noticed with 120 is that my WIndows Sound was configured to Stereo, despite Luna being set to 5.1.
As soon as I reverted back to version 118 again and rebooted my X96 Air, everything started working perfectly again, including sound being set to 5.1 within Windows Audio Control Panel.
@smg04 Our dear friend @shanti is drooling over this changes as well for his EmuELEC. Maybe it’s a good idea to PR to him as well. On the other hand if it’s trivial to CE repo he will pull it probably anyways.
I am still working on one piece of the puzzle, I am rewriting Luna to the most basic version possible in order to remove any possible issues with Kodi and making it more future-proof by removing any code that might become stale and keep moonlight as the only dependency.
As a bonus, it will make the addon faster to parse and Kodi will become less of an obstacle…
I’m mostly done, but I am currently having permission issues… Shell scripts keep giving Permission denied for basic commands like echo 0 > /sys/class/graphics/fb0/blank
This returns : Permission deniedne 1: can't create /sys/class/graphics/fb0/blank…
I don’t really know why, but once I figure these out, I’ll be making a PR.
UPDATE: I have fixed the issue, line endings tend to break things…
The PR is draft-ready, but I recommend a little more testing before actually accepting PR…
@smg04, have just tested latest release and can confirm that now the gamepad continues to work within Kodi when exiting a stream session.
However, my custom programs/shortcuts on my GeForce Gamestream seem to be missing and only shows the Nvidia detected ones.
Also when I was reviewing the settings which I see you’ve tidied up, my bitrate dropped from 100 to 0 when scrolling through and now I can’t increase it.
Fixed all the sliders and some other stuff in the settings and I’m now waiting for PR to be merged. Then you will be able to update the addon from the official repo.