2022-10-13, 05:54 PM
I am having problems running "C:\Program Files\NextPVR\NScriptHelper.exe" in a PowerShell script. I am on version 6.0.0 with a build date of 220904. When running NScriptHelper.exe I get an Exit Code: -2147450730.
Here is the last part of the Windows PowerShell transcript
Tried running in a batch file and got
Does NScriptHelper.exe now require NetCore version 6?
Did not have this problem with version 5.x of NextPVR.
Here is the last part of the Windows PowerShell transcript
Code:
INFO: QSVencC64.exe Exit code:0 $GoodEncode: True
INFO: Renaming input file in NextPVR Database
INFO: Source: 9-1-1.S06E04.Animal Instincts.ts
INFO: Target: 9-1-1.S06E04.Animal Instincts.mp4
PS>TerminatingError(): "ABORT! NScriptHelper.exe returned Exit Code: -2147450730. Rename failed"
ABORT! NScriptHelper.exe returned Exit Code: -2147450730. Rename failed
ABORT! NScriptHelper.exe returned Exit Code: -2147450730. Rename failed
At D:\Users\Public\NPVR-Data\scripts\QSVenc.ps1:352 char:5
+ throw "ABORT! NScriptHelper.exe returned Exit Code: $($P.ExitCo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (ABORT! NScript.... Rename failed:String) [], RuntimeException
+ FullyQualifiedErrorId : ABORT! NScriptHelper.exe returned Exit Code: -2147450730. Rename failed
**********************
Windows PowerShell transcript end
End time: 20221010211033
**********************
Tried running in a batch file and got
Code:
D:\Users\Public\NPVR-Data\scripts>"C:\Program Files\NextPVR\NScriptHelper.exe"
It was not possible to find any compatible framework version
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=win10-x64
D:\Users\Public\NPVR-Data\scripts>
Does NScriptHelper.exe now require NetCore version 6?
Did not have this problem with version 5.x of NextPVR.
Server:
CPU- Intel I5-8400, Ram -12GB, SSD - 128GB, HDD - 1TB, Turners - Hauppauge WinTV-quadHD, OS - Win 10 Home, Router - TP-Link Archer C7(AC1750).
Clients:
Intel NUC CPU - Intel N3700, RAM - 4GB, SSD - 128GB, OS - Win 10, Wired Ethernet.
CPU- Intel I5-8400, Ram -12GB, SSD - 128GB, HDD - 1TB, Turners - Hauppauge WinTV-quadHD, OS - Win 10 Home, Router - TP-Link Archer C7(AC1750).
Clients:
Intel NUC CPU - Intel N3700, RAM - 4GB, SSD - 128GB, OS - Win 10, Wired Ethernet.