Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48

Thread: NextEnd v5 trial release

  1. #1
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,134

    NextEnd v5 trial release

    Attached is a test release of NextEnd for v5. It was bit tricky because the v4 release required an external dll for JSON and I had to hunt down the source. I also wanted to see if I could figure out how to distribute a minimum installation using NextPVR's files which works on all environments without requiring all the files that a typical .netcore app requires.

    For those that don't know what NextEnd is I refer you to the wiki for information and usage instruction https://www.nextpvr.com/nwiki/pmwiki...tility.NextEnd

    Installation instructions

    A. If you install the Windows Netcore 2.2 runtime on Window 64 or use any other platfrom

    1. Unzip attached zip file into a folder Plugins/NextEnd in the v5 user data folder. Case is important outside windows. I kept the v4 upper case, but that will likely change.

    2. If you aren't running in C:\Program Files\NPVR edit NextEnd.runtimeconfiguration and change the D:\\v5\\programs to your binary folder keeping the trailing blanks

    3. On linux it might be tougher you also need to run this

    Code:
    sed -e 's/\"\/\"/\"\/opt\/nextpvr\/system\/\"/g' NextEnd.deps.json
    Note that only the dep installer is supported at this time.

    4. For docker you need to make other changes but I will wait for a docker user to document that.

    B. If you don't install the Window Netcore 2.2 on Windows 64

    1. Create a folder Plugins/NextEnd in the v5 user data folder

    2. Unzip attached zip file into the NextPVR v5 program folder

    3. Delete NextEnd*.json from the program folder

    Running

    For PostProcessing

    Windows 64

    Drive:\NextEnd Install folder\NextEnd.exe options

    Linux

    /opt/dotnet/dotnet /var/opt/nextpvr/Plugins/NextEnd/NextEnd.dll options


    Martin
    Attached Files Attached Files
    Last edited by mvallevand; 2019-08-27 at 12:15 AM.

  2. #2
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    123

    NextEnd startup error

    Hi Martin,

    I get this when v5 starts with the NextEnd bat files I used.

    [9] Starting: C:\Users\Public\NPVR-data\scripts\PostStartup.bat
    [12]
    [12] C:\Users\Public\NPVR-data\scripts>start /b "" "C:\Users\Public\NPVR-data\Plugins\NextEnd\NextEnd.exe" --monitor
    [13] A fatal error occurred, the required library hostfxr.dll could not be found.
    [13] If this is a self-contained application, that library should exist in [C:\Users\Public\NPVR-data\Plugins\NextEnd\].
    [13] If this is a framework-dependent application, install the runtime in the default location [C:\Program Files\dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location.
    [9] C:\Users\Public\NPVR-data\scripts\PostStartup.bat has exited

    Attached are the bat files I used.

    Rex
    Attached Files Attached Files

  3. #3
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,134
    Rex, did you edit runitime data in step 2? If so could you pass it to me too please.

    Martin

  4. #4
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    123
    Quote Originally Posted by mvallevand View Post
    Rex, did you edit runitime data in step 2? If so could you pass it to me too please.
    I'm using the default folder C:\Program Files\NPVR for the v5 binaries so I did not edit the file but here it is.

    Rex
    Attached Files Attached Files

  5. #5
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,134
    From the command prompt, if you change into the binary folder

    CD: /d "C:\Program Files\NPVR
    and then run
    start /b "" "C:\Users\Public\NPVR-data\Plugins\NextEnd\NextEnd.exe" --monitor

    does it work?

    If not what about

    SET DOTNET_ROOT="C:\Program Files\NPVR"
    start /b "" "C:\Users\Public\NPVR-data\Plugins\NextEnd\NextEnd.exe" --monitor

    Martin
    Last edited by mvallevand; 2019-08-23 at 12:31 PM.

  6. #6
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    123
    Quote Originally Posted by mvallevand View Post
    From the command prompt, if you change into the binary folder

    CD: /d "C:\Program Files\NPVR
    and then run
    start /b "" "C:\Users\Public\NPVR-data\Plugins\NextEnd\NextEnd.exe" --monitor

    does it work?

    If not what about

    SET DOTNET_ROOT="C:\Program Files\NPVR"
    start /b "" "C:\Users\Public\NPVR-data\Plugins\NextEnd\NextEnd.exe" --monitor

    Martin
    I tried them both and got the same error message as before.

    Rex

  7. #7
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,134
    If you run

    copy "C:\Program Files\NPVR\hostfxr.dll" C:\Users\Public\NPVR-data\Plugins\NextEnd

    does it work then?

    If so I have to decide whether to document this or create a symbolic link if that works but let's see.

    Martin
    Last edited by mvallevand; 2019-08-23 at 05:06 PM.

  8. #8
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    123
    Quote Originally Posted by mvallevand View Post
    If you run

    copy "C:\Program Files\NPVR\hostfxr.dll" C:\Users\Public\NPVR-data\Plugins\NextEnd

    does it work then?

    If so I have to decide whether to document this or create a symbolic link if that works but let's see.

    Martin
    It still failed but this time I got a different error message...

    [12] C:\Users\Public\NPVR-data\scripts>start /b "" "C:\Users\Public\NPVR-data\Plugins\NextEnd\NextEnd.exe" --monitor
    [13] It was not possible to find any compatible framework version
    [13] The specified framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
    [13] - Check application dependencies and target a framework version installed at:
    [13] C:\Users\Public\NPVR-data\Plugins\NextEnd\
    [13] - Installing .NET Core prerequisites might help resolve this problem:
    [13] https://go.microsoft.com/fwlink/?Lin...06&clcid=0x409
    [13] - The .NET Core framework and SDK can be installed from:
    [13] https://aka.ms/dotnet-download
    [9] C:\Users\Public\NPVR-data\scripts\PostStartup.bat has exited

    Rex

  9. #9
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    123
    I downloaded and installed .NET Core 2.2 from MS and restarted v5. This time no error messages. Logs show a nextend-monitor.log was created so I think it's running.

  10. #10
    Join Date
    Aug 2016
    Location
    Iowa
    Posts
    123
    Also, I no longer need hostfxr.dll in the Plugins\NextEnd folder as NextEnd starts up without it. Looks like I just needed the .NET Core runtime.

    Rex

    I discovered later that hostfxr.dll does need to be in Plugins\NextEnd folder
    Last edited by VCR58; 2019-08-24 at 08:50 PM. Reason: correction

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •