1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
emveepee 722c84c87f NextPVR: add new addon package
NextPVR 6.1.1 for netcore 6.0
2022-12-29 08:21:37 -05:00

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