NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
1 2 3 4 5 … 20 Next »
NextEnd v5 trial release

 
  • 0 Vote(s) - 0 Average
NextEnd v5 trial release
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#81
2019-12-06, 06:35 PM
Thanks Craig, you are right I forgot the -i You can also just edit the file with a text editor.

Martin
CDinger
Offline

Member

Posts: 151
Threads: 30
Joined: Aug 2016
#82
2019-12-08, 05:00 PM
In case anyone else decides to try NextEnd on a non debian version of linux here is what I did.

Follow sub's installation instructions non deb install
Download dtv scan files https://linuxtv.org/downloads/dtv-scan-tables/
Personally, I just opened the tar and moved the single file I needed (us-ATSC-center-frequencies-8VSB-062009) to /usr/share/dvb/atsc/us-ATSC-center-frequencies-8VSB-062009

Download and unzip NextEndv5 into your home directory
~/.NPVR-data/Plugins/NextEnd

Modify NextEnd.deps.json file using sed and create a backup of original NextEnd.deps.json file. Replace <username> with the name of your home directory.
Code:
sed -i.bak -e 's/\"\/\"/\"\/home\/<username>\/NPVR\/\"/g' NextEnd.deps.json


Create ParallelProcessing file in ~/.NPVR-data/scripts/ParallelProcessing.sh
Code:
#!/bin/bash
/opt/dotnet/dotnet /home/<username>/.NPVR-data/Plugins/NextEnd/NextEnd.dll --oid $3 --postgame 5


Modify NextEnd.runtimeconfig.json (red text is the modificaton)
Code:
{
  "runtimeOptions": {
    "framework": {
      "name": "Microsoft.NETCore.App",
      "version": "2.1.0"
    },
    "additionalProbingPaths": [
      "C:\\Program Files\\NPVR\\",
     [color=#E82A1F][b] "/home/<username>/.NPVR-data/",[/b][/color]
      "D:\\v5\\programs\\"
    ]
  }
}


I also created a service to start NPVR at startup rather than by terminal entry of "dotnet ./NextPVRServer.dll"

cd /etc/systemd/system
use your favorite editor to create file "nextpvr-server.service" and copy or type in the entries below. 
Code:
[Unit]
Description=runs server.sh
Requires=network-online.target
After=network.target network-online.target multi-user.target

[Service]
Type=simple
User=<user>
WorkingDirectory=/home/<username>/NPVR
ExecStart=sh server.sh start
Restart=on-failure
RestartSec=1500ms

[Install]
WantedBy=multi-user.target
Now enable the service with
Code:
systemctl enable nextpvr-server.service
Start the nextpvr-server
Code:
systemctl start nextpvr-server.service

For me this worked like a charm.

Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#83
2019-12-08, 07:38 PM
Thank you for sharing.  You should probably redirect Nextend output to /dev/null to keep some unnecessary junk out of the logs.

Martin
CDinger
Offline

Member

Posts: 151
Threads: 30
Joined: Aug 2016
#84
2019-12-09, 04:17 PM
Done, thanks for the input.

Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#85
2019-12-13, 11:34 PM
Note that starting with version 5.0.1 of NextPVR, the only the dotnet NextEnd.dll approach work

I should have a new .netcore 3.1 Windows version next week

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#86
2019-12-13, 11:54 PM
I'm having difficulty getting nextend working with linux. When Linux is started nextend-monitor.log is generated but I don't think it is actually monitoring anything when recording a game. Last night's NFL game ended on time but there was no nextend.log generated so it seems there was no monitoring of the game progress going.  I started recording the game about an hour before it ended.

The logs, script files, and modified NextEnd.deps.json file (and the backup file) are attached. In the scripts folder there was an extra file generated sometime during the recording which is also attached.

Thanks!


Attached Files
.zip   logs-20191213-1704.zip (Size: 220.39 KB / Downloads: 2)
.zip   NextEnd.deps.json.zip (Size: 2.65 KB / Downloads: 2)
.zip   scripts.ZIP (Size: 830 bytes / Downloads: 3)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#87
2019-12-14, 12:19 AM
Linux needs $ for parameters not % so your line

/opt/dotnet/dotnet /var/opt/nextpvr/Plugins/NextEnd/NextEnd.dll --oid %3

should be

/opt/dotnet/dotnet /var/opt/nextpvr/Plugins/NextEnd/NextEnd.dll --oid $3

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#88
2019-12-14, 04:11 PM
(2019-12-13, 11:34 PM)mvallevand Wrote: Note that starting with version 5.0.1 of NextPVR, the only the dotnet NextEnd.dll approach work

I should have a new .netcore 3.1 Windows version next week

Martin

To get NextEnd to start after installing NextPVR v5.0.1I had to modify NextEnd.runtimeconfig.json to look for dotnet 3.1.0 rather than 2.1.0 

"version": "3.1.0"
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#89
2019-12-14, 04:23 PM
That's odd but I don't understand dotnet backwards compatibility.  Did you remove old versions?

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#90
2019-12-14, 04:34 PM
(2019-12-14, 04:23 PM)mvallevand Wrote: That's odd but I don't understand dotnet backwards compatibility.  Did you remove old versions?

Martin
I believe I did. It looks like there is only 3.1.0 versions in the dotnet folder.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (44): « Previous 1 … 7 8 9 10 11 … 44 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextEnd Docker Install Mark-McG 61 9,627 2023-08-30, 09:15 PM
Last Post: mvallevand
  Comskip + NextEnd VCR58 12 2,881 2023-06-30, 02:26 PM
Last Post: mvallevand
  NextEnd Extension Mechanism jcole998 7 3,070 2020-05-24, 03:39 PM
Last Post: jcole998
  NextEnd V4 jcole998 1 1,910 2020-05-18, 01:35 PM
Last Post: mvallevand
  NextEnd: "Sports event monitor did not start" antenna 37 13,325 2019-10-27, 12:22 AM
Last Post: mvallevand
  NextEnd Interruption jcole998 2 1,979 2019-09-02, 05:54 PM
Last Post: jcole998
  NextEnd Readiness jcole998 24 9,069 2019-06-01, 01:33 PM
Last Post: jcole998
  Nextend help CDinger 5 4,204 2018-11-05, 03:59 PM
Last Post: mvallevand
  NextEnd not extending sports event antenna 26 12,133 2018-10-11, 04:25 PM
Last Post: mvallevand
  NextEnd Broken? jcole998 6 4,478 2018-09-15, 01:24 PM
Last Post: jcole998

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

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

Linear Mode
Threaded Mode