luci-app-unblockmusic: fix unlock PC and iOS at the same time in nodejs version
This commit is contained in:
parent
dd25de3730
commit
b32a75ed69
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-unblockmusic
|
PKG_NAME:=luci-app-unblockmusic
|
||||||
PKG_VERSION:=2.3.1
|
PKG_VERSION:=2.3.1
|
||||||
PKG_RELEASE:=42
|
PKG_RELEASE:=43
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS := \
|
PKG_CONFIG_DEPENDS := \
|
||||||
CONFIG_UnblockNeteaseMusic_Go \
|
CONFIG_UnblockNeteaseMusic_Go \
|
||||||
|
@ -173,7 +173,8 @@ start()
|
|||||||
if [ $FLAC -eq 1 ]; then
|
if [ $FLAC -eq 1 ]; then
|
||||||
export ENABLE_FLAC=true
|
export ENABLE_FLAC=true
|
||||||
fi
|
fi
|
||||||
node /usr/share/UnblockNeteaseMusic/app.js -e http://music.163.com -p 5200:5201 $musictype >>/tmp/unblockmusic.log 2>&1 &
|
node /usr/share/UnblockNeteaseMusic/app.js -e http://music.163.com -p 5200 $musictype >>/tmp/unblockmusic.log 2>&1 &
|
||||||
|
node /usr/share/UnblockNeteaseMusic/app.js -e https://music.163.com -p 5203:5201 $musictype >>/tmp/unblockmusic.log 2>&1 &
|
||||||
add_cron
|
add_cron
|
||||||
echo "$(date -R) # UnblockNeteaseMusic Nodejs Version (http:5200, https:5201)" >>/tmp/unblockmusic.log
|
echo "$(date -R) # UnblockNeteaseMusic Nodejs Version (http:5200, https:5201)" >>/tmp/unblockmusic.log
|
||||||
elif [ "$APPTYPE" == "go" ]; then
|
elif [ "$APPTYPE" == "go" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user