forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kodi doesn't pass environment variables unless the user saves a configuration. Use sub3 github release repo for downloading
- Loading branch information
emveepee
committed
Jan 9, 2023
1 parent
4a8b551
commit 5148ae8
Showing
4 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
1 | ||
Fix for variables that aren't initialized by Kodi | ||
|
||
0 | ||
initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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-@[email protected]" | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<settings version="2"> | ||
<setting id="waitfor" default="true">5</setting> | ||
<setting id="satiprtsp" default="true">554</setting> | ||
</settings> |