Merge pull request #7354 from emveepee/novalues

nextpvr: add default settings file
This commit is contained in:
Christian Hewitt 2023-01-09 09:44:36 +04:00 committed by GitHub
commit c0b809ef44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 4 deletions

View File

@ -1 +1,5 @@
1
Fix for variables that aren't initialized by Kodi
0
initial release

View File

@ -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"

View File

@ -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

View File

@ -0,0 +1,4 @@
<settings version="2">
<setting id="waitfor" default="true">5</setting>
<setting id="satiprtsp" default="true">554</setting>
</settings>