mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
nextpvr: add default settings file
Kodi doesn't pass environment variables unless the user saves a configuration. Use sub3 github release repo for downloading
This commit is contained in:
parent
4a8b551af4
commit
5148ae8822
@ -1 +1,5 @@
|
||||
1
|
||||
Fix for variables that aren't initialized by Kodi
|
||||
|
||||
0
|
||||
initial release
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
PKG_NAME="nextpvr"
|
||||
PKG_VERSION="6.1.1~Nexus"
|
||||
PKG_ADDON_VERSION="6.1.1"
|
||||
PKG_REV="0"
|
||||
PKG_ADDON_VERSION="6.1.1~1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="NextPVR"
|
||||
PKG_SITE="https://nextpvr.com"
|
||||
|
@ -9,7 +9,8 @@ oe_setup_addon service.nextpvr
|
||||
ICON="${ADDON_DIR}/resources/icon.png"
|
||||
CONTROL_FILE="/tmp/curl.nextpvr.done"
|
||||
DATA_FILE="/tmp/curl.nextpvr.data"
|
||||
NEXTPVR_FILE="NPVR-@NEXTPVR_VERSION@.zip"
|
||||
NEXTPVR_VERSION="@NEXTPVR_VERSION@"
|
||||
NEXTPVR_FILE="NPVR-${NEXTPVR_VERSION%~*}.zip"
|
||||
|
||||
# check for enough free disk space
|
||||
if [ $(df . | awk 'END {print $4}') -lt 400000 ]; then
|
||||
@ -39,7 +40,7 @@ echo "Downloading NextPVR"
|
||||
# download NextPVR
|
||||
rm -f ${CONTROL_FILE} ${DATA_FILE}
|
||||
(
|
||||
curl -# -O -C - https://nextpvr.com/stable/linux/${NEXTPVR_FILE} 2>${DATA_FILE}
|
||||
curl -L -# -O -C - https://github.com/sub3/releases/releases/download/${NEXTPVR_VERSION}%~*/${NEXTPVR_FILE} 2>${DATA_FILE}
|
||||
touch ${CONTROL_FILE}
|
||||
) |
|
||||
while [ : ]; do
|
||||
|
@ -0,0 +1,4 @@
|
||||
<settings version="2">
|
||||
<setting id="waitfor" default="true">5</setting>
|
||||
<setting id="satiprtsp" default="true">554</setting>
|
||||
</settings>
|
Loading…
x
Reference in New Issue
Block a user