parent
e31b894b55
commit
1eb2701d52
3 changed files with 6 additions and 3 deletions
|
@ -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.4" provider-name="dead">
|
<addon id="script.moonlight" name="Moonlight" version="1.0.5" provider-name="dead">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.14.0"/>
|
<import addon="xbmc.python" version="2.14.0"/>
|
||||||
</requires>
|
</requires>
|
||||||
|
|
|
@ -16,7 +16,7 @@ do
|
||||||
|
|
||||||
rm $ADDON_DIR/start_moonlight.tmp
|
rm $ADDON_DIR/start_moonlight.tmp
|
||||||
|
|
||||||
MOONLIGHT_ARG=""
|
MOONLIGHT_ARG="stream"
|
||||||
|
|
||||||
if [ "$MOON_PACKETSIZE" != "0" ]; then
|
if [ "$MOON_PACKETSIZE" != "0" ]; then
|
||||||
MOONLIGHT_ARG="$MOONLIGHT_ARG -packetsize $MOON_PACKETSIZE"
|
MOONLIGHT_ARG="$MOONLIGHT_ARG -packetsize $MOON_PACKETSIZE"
|
||||||
|
@ -79,7 +79,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} stream >> ${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
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
v1.0.5
|
||||||
|
Fix service not working when setting a ip address.
|
||||||
|
|
||||||
v1.0.4
|
v1.0.4
|
||||||
Update to newest moonlight-embedded (2.1.3) and rename libs to lib
|
Update to newest moonlight-embedded (2.1.3) and rename libs to lib
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue