NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 10 11 12 13 14 … 34 Next »
[Obsolete] CoreElec and LibreElec as native host for NextPVR

 
  • 0 Vote(s) - 0 Average
[Obsolete] CoreElec and LibreElec as native host for NextPVR
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#1
2021-01-13, 12:38 AM (This post was last modified: 2022-11-04, 02:15 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.

Edit this also works with the RPi4 and LibreElec 10.

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 are the steps

1. In CoreElect/LibreElec Addons install the Netcore binaries from ?Elec Addons ->Programs 

2. Start a ssh session and do the following.  Make sure you do this after NetCore is installed

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

4. Get the install script

- download and unzip the attached file
- chmod +x nextpvr-elec.sh

5.  Configure dtv-scan-table (optional)

If you are installing a digital tuner  (dvb, atsc, qam) you need to install a scanning table.  Otherwise skip to the next step 6

-  Note that CoreElec and LibreElec may not support your tuner.  Check /dev/dvb to see if there are adapters in that directory.  If not you will need to work this out on the CoreElec and LibreElec forums before proceeding.

a. Download the updated binary from here https://forums.nextpvr.com/showthread.ph...#pid555747  and copy it to  /storage/.kodi/addons/nextpvr-server/  This is temporyary until the next version of NextPVR is released.

b. runnano nextpvr-elec.sh and find
dtv_scan_table=0

and change 0 to 1 or 2.

# 0 = placeholder, 1 = crazycat69, 2 = tvheadend

6. Install NextPVR server

./nextpvr-elec.sh

7. Configure NextPVR

You should be able to continue with a normal installation from a browser on your network

http:/ip:8866

Don't bother trying to test video in the browser there needs to be modifications to have this work properly, and only x64 boxes will be capable of doing the appropriate h264 transcoding at this time.

Martin


Attached Files
.zip   nextpvr-elec.zip (Size: 801 bytes / Downloads: 67)
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#2
2021-02-12, 10:16 PM
Impressive! I'm going to have to put some thought into making a portable PVR system when I do extended travel for work. :-)
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
thecubasekid
Offline

Member

UK
Posts: 72
Threads: 12
Joined: Apr 2020
#3
2021-02-18, 11:02 AM (This post was last modified: 2021-02-18, 11:03 AM by thecubasekid.)
Hi Martin,

can you confirm if this is using the newer CE-ng builds, should it work also for the older kernel non ng builds? - if yes it looks like a good use for one of my S912 boxes that will not get Matrix support on CE, as can feed my two kids pvr set up centrally addressing my epg issue when the kids boxes are off....


Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#4
2021-02-18, 02:35 PM
This was a v19 nightly but I suspect it will work on 9.2. If you don't need a Kodi client or tuners why not just use the HK ubuntu or Armbian and get more memory.

Martin
thecubasekid
Offline

Member

UK
Posts: 72
Threads: 12
Joined: Apr 2020
#5
2021-02-18, 03:26 PM
Thanks Martin,

i wouldn't need Kodi or tuners, so will checkout HK ubuntu and Armbian...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#6
2021-02-18, 03:28 PM
Armbian is probably your best bet is you have a generic S912.

Martin
thecubasekid
Offline

Member

UK
Posts: 72
Threads: 12
Joined: Apr 2020
#7
2021-02-23, 11:23 PM
thanks Martin,

i looked at Armbian, but in the end decided to keep kodi, and set it to update library on start up, and set a cron job to reboot daily in the small hours so i can keep artwok beef filling my media folders ready for when i scan in on matrix...

i tried following the steps but have not been able to get it going.

everything went without obvious error but at the end there is nothing in my config folder and web page times out so suspect it never started.

one thing i noted while installing, on the below step when i hit return my putty window just closes - i have to open a new session and log in again before i go to next step - is this expected?

exec dotnet /storage/.kodi/addons/nextpvr-server/NextPVRServer.dll > /dev/null
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#8
2021-02-23, 11:35 PM (This post was last modified: 2021-02-23, 11:36 PM by mvallevand.)
If you run any command via a bash shall it will end when the shell ends unless you add other commands. The systemd server works differently.

If you upload nextpvr-server.start and /nextpvr-server.service I can have a look.

Martin
thecubasekid
Offline

Member

UK
Posts: 72
Threads: 12
Joined: Apr 2020
#9
2021-02-24, 10:31 AM (This post was last modified: 2021-02-24, 11:24 AM by thecubasekid.)
Thanks,

i uploaded the two files - not sure if it will help, but see below output when i query the status of the service

nextpvr-server.service - NextPVR
  Loaded: loaded (/storage/.config/system.d/nextpvr-server.service; enabled; vendor preset: disabled)
  Active: failed (Result: exit-code) since Wed 2021-02-24 10:16:29 GMT; 5min ago
  Process: 3522 ExecStart=/bin/sh /storage/.kodi/addons/nextpvr-server/nextpvr-server.start > /dev/null (code=e
Main PID: 3522 (code=exited, status=2)

Feb 24 10:16:29 CoreELEC_Beelink_GT1 systemd[1]: Started NextPVR.
Feb 24 10:16:29 CoreELEC_Beelink_GT1 sh[3522]: [123B blob data]
Feb 24 10:16:29 CoreELEC_Beelink_GT1 systemd[1]: nextpvr-server.service: Main process exited, code=exited, stat
Feb 24 10:16:29 CoreELEC_Beelink_GT1 systemd[1]: nextpvr-server.service: Failed with result 'exit-code'.


also not sure if there was any impact but the curl command to download the zip failed with below message about the file being moved, so i manually grabbed the linux zip from this url https://forums.nextpvr.com/showthread.php?tid=59390, and dropped in to correct location over smb before moving to the unziping step using ssh..


CoreELEC_Beelink_GT1:~ # cd /storage/.kodi/addons/nextpvr-server
CoreELEC_Beelink_GT1:~/.kodi/addons/nextpvr-server # curl http://nextpvr.com/stable/linux/NPVR.zip
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://nextpvr.com/stable/linux/NPVR.zip">here</a>.</p>
</body></html>


Attached Files
.zip   nextpvr-server.zip (Size: 265 bytes / Downloads: 7)
.zip   nextpvr-server service.zip (Size: 301 bytes / Downloads: 8)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#10
2021-02-24, 01:49 PM
Did you try creating the scripts with a Linux editor, ie no carriage returns?

As for curl I copied the URL from the NextPVR instruction which is technically wrong since the link should be to https not http. Add a -L to have curl follow the redirect.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 3,204 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 969 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 508 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,401 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 908 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 4,809 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 319 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 853 2024-10-30, 06:17 AM
Last Post: sub
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 739 2024-10-29, 11:44 PM
Last Post: sub
  NextPVR server on LibreElec jcjefferies 45 4,108 2024-09-16, 04:38 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode