veldenb / plugin.program.moonlight-qt

A launcher and updater for running Moonlight-qt on LibreELEC.
GNU General Public License v3.0
86 stars 11 forks source link

Request: Coreelec support #25

Closed euro2 closed 1 year ago

euro2 commented 1 year ago

I can install the addon, it says its installed succesfully, but doesnt run on coreelec. Did some toying around:

CoreELEC:~/.kodi/addons/plugin.program.moonlight-qt/resources/bin # bash get-platform.sh Platform 'amlogic-ce' running 'coreelec' detected, using platform generic...

CoreELEC:~/.kodi/addons/plugin.program.moonlight-qt/resources/bin # bash launch_moonlight-qt.sh Platform 'amlogic-ce' running 'coreelec' detected, using platform generic... Running without window manager... Detected resolution 1920,2160... Using Qt scale factor 0.77... --- Starting Moonlight --- bootstrap_moonlight-qt.sh: line 207: ./moonlight-qt: cannot execute binary file: Exec format error

CoreELEC:~/.kodi/addons/plugin.program.moonlight-qt/resources/bin # bash bootstrap_moonlight-qt.sh Platform 'amlogic-ce' running 'coreelec' detected, using platform generic... Running without window manager... Detected resolution 1920,2160... Using Qt scale factor 0.77... mkdir: can't create directory '/moonlight-home': Read-only file system CoreELEC:~/.kodi/addons/plugin.program.moonlight-qt/resources/bin #

Dont know why its strike-through letters....

Is there a way to make this work?

veldenb commented 1 year ago

I think the plugin is trying to start the x86 binary, that will not work on amlogic. I'm not sure if there is a linux amlogic build for moonlight-qt.

euro2 commented 1 year ago

ahhhhh got it thanks! Yes got Luna working, but no audio, so wanted to try this.

JordanPlayz158 commented 1 year ago

How did you modify theget-platform.sh script to get it to grab the proper binary and such @euro2?

I modified the get-platform.sh script to get this output on my CoreElec system

Platform 'aarch64' running 'libreelec' detected...

but it results in a failure when updating Moonlight

Edit: after some modifying of files and such, I think I found the issue, they don't publish packages for arm anymore, just based on the output from the "InRelease" file