Update moonlight-embedded, added support to GFE 2.11.X

This commit is contained in:
Gustavo 2016-04-01 08:45:13 -03:00
parent 0bcc4b0803
commit 1ec7269213
9 changed files with 8 additions and 4 deletions

BIN
script.moonlight.zip Normal file

Binary file not shown.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.moonlight" name="Moonlight" version="1.0.8" provider-name="dead"> <addon id="script.moonlight" name="Moonlight" version="1.0.9" provider-name="dead">
<requires> <requires>
<import addon="xbmc.python" version="2.14.0"/> <import addon="xbmc.python" version="2.14.0"/>
</requires> </requires>

Binary file not shown.

View file

@ -85,7 +85,7 @@ do
modprobe snd_bcm2835 modprobe snd_bcm2835
echo $MOONLIGHT_ARG >> $ADDON_LOG_FILE echo $MOONLIGHT_ARG >> $ADDON_LOG_FILE
/bin/sh -c "${ADDON_DIR}/bin/moonlight ${MOONLIGHT_ARG} >> ${ADDON_LOG_FILE} 2>&1" /bin/sh -c "${ADDON_DIR}/bin/moonlight ${MOONLIGHT_ARG} > ${ADDON_LOG_FILE} 2>&1"
rmmod snd_bcm2835 rmmod snd_bcm2835
systemctl start kodi systemctl start kodi
fi fi

View file

@ -1,4 +1,7 @@
V1.0.8 v1.0.9
Update moonlight-embedded, added support to GFE 2.11.X
v1.0.8
Fix xbox and dualshock3 mapping. Fix xbox and dualshock3 mapping.
v1.0.7 v1.0.7

View file

@ -12,6 +12,8 @@ GS_NOT_SUPPORTED_4K = -6
class SERVER_DATA(ctypes.Structure): class SERVER_DATA(ctypes.Structure):
_fields_ = [("address", ctypes.c_char_p), _fields_ = [("address", ctypes.c_char_p),
("gpuType", ctypes.c_char_p),
("gfeVersion", ctypes.c_char_p),
("paired", ctypes.c_bool), ("paired", ctypes.c_bool),
("supports4K", ctypes.c_bool), ("supports4K", ctypes.c_bool),
("currentGame", ctypes.c_int), ("currentGame", ctypes.c_int),
@ -31,7 +33,6 @@ class _HTTP_DATA(ctypes.Structure):
class LibGameStream: class LibGameStream:
def __init__(self, libpath = ""): def __init__(self, libpath = ""):
self.commomlib = ctypes.cdll.LoadLibrary(os.path.join(libpath, "libmoonlight-common.so.0"))
self.gslib = ctypes.cdll.LoadLibrary(os.path.join(libpath, "libgamestream.so.0")) self.gslib = ctypes.cdll.LoadLibrary(os.path.join(libpath, "libgamestream.so.0"))
self.connected = False self.connected = False
self.address = "" self.address = ""