-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[le12] service.nextpvr backport of PR 9323
Also include PR #9507 Please do not merge maintenance release no yet on GitHub
- Loading branch information
Showing
6 changed files
with
61 additions
and
7 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
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,6 @@ | ||
2 | ||
- download NextPVR 7.0.1 | ||
- install and configure, hdhomerun_config, comskip and libmediainfo | ||
- fix manual updates from NPVR.zip | ||
|
||
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
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
29 changes: 29 additions & 0 deletions
29
packages/addons/service/nextpvr/source/sleep.d/nextpvr.power
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,29 @@ | ||
#!/bin/sh | ||
|
||
# SPDX-License-Identifier: GPL-2.0 | ||
# Copyright (C) 2024-present Team LibreELEC (https://libreelec.tv) | ||
|
||
. /etc/profile | ||
|
||
oe_setup_addon service.nextpvr | ||
|
||
SERVICE="service.nextpvr" | ||
|
||
case "$1" in | ||
pre) | ||
if systemctl is-active "$SERVICE" &>/dev/null ; then | ||
systemctl stop "$SERVICE" | ||
for module in $REMOVE_MODULES ; do | ||
rmmod $module | ||
done | ||
fi | ||
;; | ||
post) | ||
if systemctl is-enabled "$SERVICE" &>/dev/null ; then | ||
for module in $REMOVE_MODULES ; do | ||
modprobe $module | ||
done | ||
systemctl start "$SERVICE" | ||
fi | ||
;; | ||
esac |