mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-16 00:59:10 +00:00
0470f51bc8
NextPVR 6.1.0 with netcore 6 with configuration
27 lines
664 B
Bash
27 lines
664 B
Bash
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
. /etc/profile
|
|
oe_setup_addon service.nextpvr
|
|
|
|
# check if nextpvr-server is already successful installed
|
|
if [ ! -f "${ADDON_DIR}/extract.ok" ]; then
|
|
cd ${ADDON_DIR}
|
|
nextpvr-downloader
|
|
fi
|
|
|
|
export NEXTPVR_DATADIR_USERDATA=${ADDON_HOME}/config/
|
|
export NEXTPVR_DVBDIR=${ADDON_DIR}/dtv-scan-tables/
|
|
|
|
export SATIP_RTSP_PORT=$satiprtsp
|
|
|
|
read -d. uptime < /proc/uptime
|
|
startdelay=$((waitfor-uptime))
|
|
if [ $startdelay -gt 0 ]; then
|
|
sleep $startdelay
|
|
fi
|
|
|
|
cd ${ADDON_DIR}/nextpvr-bin
|
|
exec dotnet ${ADDON_DIR}/nextpvr-bin/NextPVRServer.dll >/dev/null
|