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 2 3 4 5 … 34 Next »
NextPVR 7 looses recordings after post processing

 
  • 0 Vote(s) - 0 Average
NextPVR 7 looses recordings after post processing
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#1
2024-12-19, 10:29 PM (This post was last modified: 2024-12-19, 10:31 PM by ballfam.)
I have had this issue in the past, but it has come back again. I have been running stable for some time now, and I just upgraded to 7.0 yesterday, nothing else has changed. It took me a beat to notice, but since I upgraded, after a show has finished recording and it gets processed by PostProcessing.sh, it disappears from the database. The PostProcessing script contains this (at the end of the script):

Code:
# remux to mkv in the Plex location
ffmpeg -fflags +genpts -i "$1" -vcodec copy -acodec copy -c:s copy  "${plex_file%.*}.mkv"
# tell NextPVR where it went
/opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll  -rename "$1" "$plex_file"
#delete original
rm "$1"


so, it's remuxing to MKV in a different location, in theory, updating the database with the new location, and then removing the original. All worked perfectly before the upgrade, and the file still showed up in the recordings in NextPVR. After the upgrade it disappears.

I'm going to take a guess that either I need to manually update  NScriptHelper.dll, or the DLL location changed, or it now takes different parameters.

It is entirely possible that I replaced this file with a patched version from Martin a while back that may no loner work in the latest release (if it wasn't updated by the new install).

Martin, Sub, any ideas?

Thanks
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#2
2024-12-19, 10:38 PM
BTW: looks like it hasn't been updated since March:

Code:
# ls -l /opt/nextpvr/system/NScriptHelper.dll
-rw-r--r-- 1 root root 23552 Mar 29  2024 /opt/nextpvr/system/NScriptHelper.dll

I'm guessing it just doesn't work with the new version.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#3
2024-12-19, 10:41 PM (This post was last modified: 2024-12-19, 10:47 PM by mvallevand.)
I don't release patches and only offer minimal workaround support for NScriptHelper since I don't use it or test it so I and can't be bothered with figuring out all the issues. Maybe try some testing renaming.

Definitely your file date is wrong though and it must be the new version. Maybe your don't use the deb installer.

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#4
2024-12-19, 10:47 PM
I'm also seeing this error in the log:

Code:
2024-12-19 14:06:12.965 [DEBUG][17]    > A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/opt/nextpvr/system/'.
2024-12-19 14:06:12.965 [DEBUG][17]    > Failed to run as a self-contained app.
2024-12-19 14:06:12.965 [DEBUG][17]    >  - The application was run as a self-contained app because '/opt/nextpvr/system/NScriptHelper.runtimeconfig.json' was not found.
2024-12-19 14:06:12.965 [DEBUG][17]    >  - If this should be a framework-dependent app, add the '/opt/nextpvr/system/NScriptHelper.runtimeconfig.json' file and specify the appropriate framework.
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#5
2024-12-19, 10:50 PM
This is how I installed, and it seemed to work OK:

Code:
curl https://nextpvr.com/nextpvr-helper.deb -O
apt install ./nextpvr-helper.deb --install-recommends


I am, of course, root at the time
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#6
2024-12-19, 10:50 PM (This post was last modified: 2024-12-19, 10:53 PM by mvallevand.)
My test works so you need to figure out why yours isn't

/opt/nextpvr/system/NScriptHelper.dll
martin@lenovo:~$ /opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll -isrecording
NOT RECORDING

That is an install not an update and don't run a fresh install as root

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#7
2024-12-19, 10:55 PM
Same error as in the log:

Code:
# /opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll -isrecording
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.
  - The application was run as a self-contained app because '/opt/nextpvr/system/NScriptHelper.runtimeconfig.json' was not found.
  - If this should be a framework-dependent app, add the '/opt/nextpvr/system/NScriptHelper.runtimeconfig.json' file and specify the appropriate framework.


Possibly my system is too old and needs an updated library. I'll check it out
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#8
2024-12-19, 10:59 PM
Looking at stable I see it is packaged wrong and I don't have a 7.0.0 version I can give you. See why I hate supporting this app?

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#9
2024-12-19, 10:59 PM
A quick check with google seems to indicate it's an issue related to dotnet 2.0. Looks like the new version is requiring something I don't have. If I work it out I'll post.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#10
2024-12-19, 11:01 PM (This post was last modified: 2024-12-19, 11:01 PM by mvallevand.)
Try these two files at least the dates seem ok. This isn't a problem that Google can fix.

Martin


Attached Files
.zip   NScriptHelper.zip (Size: 10.08 KB / Downloads: 2)
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Direct access to recordings TugboatBill 1 122 2025-05-05, 11:04 PM
Last Post: mvallevand
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 2,894 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 770 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 390 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,164 2025-02-04, 05:23 PM
Last Post: mvallevand
  Colossus 2 and nextpvr Iriman 53 4,401 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 282 2024-11-09, 11:21 AM
Last Post: mvallevand
  Recordings fail, sometimes while playing WagMan 9 539 2024-11-07, 12:46 PM
Last Post: mvallevand
  recordings fail, somtimes while playing WagMan 0 209 2024-11-02, 03:00 AM
Last Post: WagMan
  How does NextPVR separate TV from VOD ? FrankBKK 8 732 2024-10-30, 06:17 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode