(2021-04-11, 03:12 PM)mvallevand Wrote: Some notes on NScripthelper,
1. with the deb install dotnet is not in the path so it is
/opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll
2. sub's mentioned that mp4's need to be transcoded for the web player so you will have to modify your post processing to transcode.
3. sub includes NScriptHelper.deps.json in 5.1.1 so you don't need a text file for linux. What is missing now is the runtime json file for the new Windows exe.
Martin
I ran this script for NScriptHelper in a terminal on my Linux server and got an error for a response (I used my real pin in the script).
Code:
/opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll -pin:<mypin> -rename /mnt/sda1/Recorded TV/Dragne
t/Season 12/Dragnet.S12E05.Burglary.Mister.ts /mnt/sda1/Recorded TV/Dragnet/Season 12/Dragnet.S12E05.Burglar
y.Mister.mp4
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/opt/nextpvr/system/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the /opt/nextpvr/system/NScriptHelper.runtimeconfig.json file specifying the appropriate framework.
Do I need to copy libhostpolicy.so from somewhere to get this to work?