From 1eb2701d52fe3cf58815a51daf6d182fea5a2aa1 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Tue, 23 Feb 2016 12:13:00 -0300 Subject: [PATCH] Fix service not working when setting a ip address. fix issue #2 --- script.moonlight/addon.xml | 2 +- script.moonlight/bin/service.sh | 4 ++-- script.moonlight/changelog.txt | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/script.moonlight/addon.xml b/script.moonlight/addon.xml index 280adb9..6ee0140 100644 --- a/script.moonlight/addon.xml +++ b/script.moonlight/addon.xml @@ -1,5 +1,5 @@  - + diff --git a/script.moonlight/bin/service.sh b/script.moonlight/bin/service.sh index 40aae2b..572f7cb 100644 --- a/script.moonlight/bin/service.sh +++ b/script.moonlight/bin/service.sh @@ -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 diff --git a/script.moonlight/changelog.txt b/script.moonlight/changelog.txt index 9975943..a40536b 100644 --- a/script.moonlight/changelog.txt +++ b/script.moonlight/changelog.txt @@ -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