NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Linux v
1 2 3 4 5 … 13 Next »
CoreElec and LibreElec as native host for NextPVR

 
  • 0 Vote(s) - 0 Average
CoreElec and LibreElec as native host for NextPVR
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 36,272
Threads: 722
Joined: May 2006
#1
2021-01-13, 12:38 AM (This post was last modified: 2021-01-13, 12:46 AM by mvallevand.)
Over the last week I have using my ODroid N2 with Kodi Matrix and I have found it to be tremendous client.  It's nice being able to power off a box with the remote.

I decided to see how hard it was to set up NextPVR server without Docker and as it turns out  it is really quite easy.   I still have issues with transcoding with ffmpeg, it doesn't make the box faster but it does remove the overhead of running Docker.

I was able to get an HDHR and even a locast tuner going so it is hard to imagine a better combination for light PVR requirements.

To install NextPVR server here is what I did. 

First I installed the supplied Netcore binaries from CoreElec Addons ->Programs  Then I started a new ssh session and did the following

1. Run dotnet with no parameters to make sure it is installed

2. Installed NextPVR

Code:
mkdir /storage/.kodi/addons/nextpvr-server
cd /storage/.kodi/addons/nextpvr-server
curl http://nextpvr.com/stable/linux/NPVR.zip
unzip NPVR.zip
chmod +x DeviceHost/arm32/DeviceHostLinux

3. In that folder created a service startup script /storage/.kodi/addons/nextpvr-server/nextpvr-server.start

Code:
. /etc/profile
export NEXTPVR_DATADIR_USERDATA=/storage/.kodi/addons/nextpvr-server/config/
exec dotnet  /storage/.kodi/addons/nextpvr-server/NextPVRServer.dll > /dev/null

And used chmod +x on it

4. Create the folder for the config and database

mkdir /storage/.kodi/addons/nextpvr-server/config/

5. I then created a systemd file to run NextPVR as a service  /storage/.config/system.d/nextpvr-server.service

Code:
[Unit]
Description=NextPVR
Wants=multi-user.target
After=multi-user.target

[Service]
ExecStart=/bin/sh /storage/.kodi/addons/nextpvr-server/nextpvr-server.start > /dev/null
Restart=never

[Install]
WantedBy=multi-user.target

chmod 640 nextpvr-server.service

6. Setup the server.

Code:
systemctl daemon-reload
systemctl enable nextpvr-server.service
systemctl start nextpvr-server.service

All done.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  With what Linux distros are users having NextPVR success? baj1 7 223 2020-12-23, 12:50 AM
Last Post: mvallevand
  NextPVR repository VCR58 3 177 2020-12-03, 04:23 PM
Last Post: mvallevand
  NextPVR + HDHomerun no channel Mux setting ozra 8 233 2020-11-03, 03:57 AM
Last Post: ozra
  ubuntu raspberry kodi nextpvr help wanted Jack 1 170 2020-10-27, 08:20 PM
Last Post: mvallevand
  NextPVR creates empty TS files motocrossmann 11 674 2020-06-04, 03:32 PM
Last Post: motocrossmann
  Continuing to have lost recordings and other odd behavior NextPVR/Kodi bluesight 7 465 2020-05-22, 02:38 AM
Last Post: sub
  HP mini remote setup for NextPVR/Kodi bluesight 0 195 2020-05-13, 08:06 PM
Last Post: bluesight
  Sat-ip Nextpvr only finds 12 channels Sim0n 1 306 2020-05-02, 07:09 PM
Last Post: sub
  Install v5 for Linux on LibreElec scotrich99 2 693 2020-05-02, 03:51 PM
Last Post: Sim0n
  CableStar DVB-C Tuner with NextPVR HumbleHightower 9 755 2020-04-05, 06:20 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode