After re-imaging my NPVR pc, I decided to make the move to v5. All went perfectly, clean install, up and running in no time. As part of getting setup again, I took a run thru my scripts and updated. As I've seen a few questions around how to incorporate custom scripts into NPVR, I've created a template for the scripts and attached to this thread.
There is a README.txt in the file explaining how to install and use the scripts. They provide a logging mechanism to identify when each script is called with their parameters, and place the output in a common log file. You can easily customize and provide your own functionality (i.e. to call comskip to remove commercials).
I'll add them to the wiki (sub, I'll PM you my Github info) once I think they are solid... Looking for any bugs or general enhancement feedback...
Also please verify, i notice a couple of scripts (PostStartup.bat and WakeUp.bat) were not reflected on the wiki page... Are they still valid?
JavaWiz...
I am trying to setup NextPVR (v5.0.2.200322) for UDP streams that are being provided by my TV provider. I got it working with NextPVR v4, but I had to remove the @ character that comes after udp:// to make it work (so udp:// instead of udp://@), which is needed to view the stream in (for example) VLC.
After I got it working in v4, I decided to install v5 and see if I could get it working. I couldn't find a place to add a UDP stream (only m3u), so I copied over the npvr.db3 from v4 to v5. When I try watching a channel, the picture is just black and there is no audio. The temp file NextPVR creates to Public\Videos is empty and any recordings are empty as well.
The main error from the logs (also attached) seems to be 'Have received 0 bytes from udp source', but I can confirm that the UDP stream is 100% working. I also tried adding a channel with udp://@ in front of the address (like with VLC), but to no avail.
I haven't found any information about NextPVR (v5) and UDP streams, so I don't know if it's actually supported.
Whenever I open the web app I get a blank page with just the Header Bar as normal and three headings down the left side of the page for
Available Storage
Recent Recordings
Upcoming Recordings
But the page is blank...
I have to select Settings from the tool bar, select logout, then the login page appears and I can login and everything appears as normal.
The problem I have to do this very time I want to use the app even though I have ticked the remember me box.
Is this common or is there a fix?
It finds the hdhomerun fine and channels, but then doesn't populate the epg.
Also if I try tune to a channel I just get "Stream Failed Transcoder Exited"
(this is separate from my previous thread which was fixed by an incorrect timeshift setting)
For HLS streams, live TV doesn't seem to work. I get no picture, and a short blip (~500ms) of audio, and then nothing else. I've detected that NextPVR v5 is making dozens of requests per second to the server (I guess looking for more chunks?), if that is a clue. This worked fine in v4, and it did not have excessive requests either.
The buffer file grows as expected and plays back just fine. Recordings are fine too.
Logs and map file attached, thanks!
p.s. on a related note, I noticed that TS streams with the MIME type video/m2ts get needlessly transcoded through ffmpeg. Could this be changed? It seems like only video/mp2t is left as-is.
I started to experience strange behaviour with my V5 installation of 5.0.2 on Win10 where the client would play TV but the options to record had disappeared. To try and fix this I tried an uninstall and re-install. When I execute NPVRSetup.exe the file install stage fails with the attached error message displayed. This is quite unlike anything I've seen. I have applied SFC and DISM repairs and both report clean.
So I am unable to proceed with the install. Does anyone have any ideas on what is happening?
It would be quite a good thing for me if you could implement a working WOL function for NPVR5 clients. I know that there was some sort of WOL check box in NPVR4, but it never worked for me. I had to write a script that would execute a little program called "mc-wol.exe" before starting the client in Windows (server went to sleep if not being used). If any client had that feature, it would be very convenient IMO.
While locked down at home I thought it would be good to try out v.5, I read on the Wiki that it will run with v.4.
This won't work for me as I cannot set it up.
When I try to run the web app with [url=http://localhost:8866/index.html][/url]http://localhost:8866/index.html or from the system tray icon it tries to run the v5 web app but then switches to the v.4 web app http://localhost:8866/modern/index.html.
If I try anything else I get a browser 404 error message.
Does this mean I have to uninstall version 4 before I can test version 5??