Fix service not working when setting a ip address.

fix issue #2
This commit is contained in:
Gustavo 2016-02-23 12:13:00 -03:00
parent e31b894b55
commit 1eb2701d52
3 changed files with 6 additions and 3 deletions

View file

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

View file

@ -16,7 +16,7 @@ do
rm $ADDON_DIR/start_moonlight.tmp
MOONLIGHT_ARG=""
MOONLIGHT_ARG="stream"
if [ "$MOON_PACKETSIZE" != "0" ]; then
MOONLIGHT_ARG="$MOONLIGHT_ARG -packetsize $MOON_PACKETSIZE"
@ -79,7 +79,7 @@ do
modprobe snd_bcm2835
echo $MOONLIGHT_ARG >> $ADDON_LOG_FILE
/bin/sh -c "${ADDON_DIR}/bin/moonlight ${MOONLIGHT_ARG} stream >> ${ADDON_LOG_FILE} 2>&1"
/bin/sh -c "${ADDON_DIR}/bin/moonlight ${MOONLIGHT_ARG} >> ${ADDON_LOG_FILE} 2>&1"
rmmod snd_bcm2835
systemctl start kodi
fi

View file

@ -1,3 +1,6 @@
v1.0.5
Fix service not working when setting a ip address.
v1.0.4
Update to newest moonlight-embedded (2.1.3) and rename libs to lib