NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 83 84 85 86 87 … 101 Next »
Should Official V5 Build Upgrade/Replace V4?

 
  • 0 Vote(s) - 0 Average
Should Official V5 Build Upgrade/Replace V4?
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#11
2020-05-23, 04:16 PM
(2020-05-23, 03:55 PM)HarryH3 Wrote: Does the line in PostProcessing.bat "set NSHelper=C:\"program files (x86)"\npvr\nscripthelper.exe" get changed to "set NSHelper=C:/Program Files/NextPVR/nscripthelper.dll" now?

Martin knows it all ... https://forums.nextpvr.com/showthread.ph...helper.dll
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#12
2020-05-23, 04:25 PM
Thanks Graham, so once I install the runtime then the script can call that .dll directly with this line: "set NSHelper=C:/Program Files/NextPVR/nscripthelper.dll"
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#13
2020-05-23, 04:32 PM
(2020-05-23, 04:25 PM)HarryH3 Wrote: Thanks Graham, so once I install the runtime then the script can call that .dll directly with this line: "set NSHelper=C:/Program Files/NextPVR/nscripthelper.dll"

Not quite ... you need a ... dotnet ... command to call the dll ... something like ... "set NSHelper=dotnet C:/Program Files/NextPVR/nscripthelper.dll" ... I'll let you experiment with quotes in the set command to work around the space after dotnet ... Smile
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#14
2020-05-23, 04:41 PM (This post was last modified: 2020-05-23, 04:49 PM by HarryH3.)
Nevermind. A reboot fixed this> Hmm, now V5 can't find my HD HomeRun Prime, though my channels now appear in the channels list. The tuner was showing in the list of devices before I copied config.xml and npvr.db3 over. Rescan For Devices doesn't appear to do anything. Sad
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#15
2020-05-23, 05:29 PM
(2020-05-23, 04:41 PM)HarryH3 Wrote: Nevermind.  A reboot fixed this>  Hmm, now V5 can't find my HD HomeRun Prime, though my channels now appear in the channels list.  The tuner was showing in the list of devices before I copied config.xml and npvr.db3 over.  Rescan For Devices doesn't appear to do anything.  Sad
Post the logs and I'll take a look.
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#16
2020-05-23, 05:43 PM
Hi Sub, it might have just been confused by me copying over my old config.xml and npvr.db3 files.  Restarting the browser didn't help, but rebooting the system did.  I'm adding the log file below, in case it will help you determine why the HDHR Prime seemingly vanished.  Note that a HD HomeRun (not prime) was showing up in the list.
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#17
2020-05-23, 05:51 PM
(2020-05-23, 05:43 PM)HarryH3 Wrote: Hi Sub, it might have just been confused by me copying over my old config.xml and npvr.db3 files.
Yep, seems to have been related to that. Its got a missing database table.

Did you copy the npvr.db3 over while NextPVR was running, then not restart NextPVR? I think it came right at the reboot, since NextPVR was restarted, and it adds the missing table.


Quote:2020-05-23 11:13:16.154 [DEBUG][5] Got request [::ffff:127.0.0.1]: /services/service (setting.devices)
2020-05-23 11:13:16.154 [DEBUG][5] method=setting.devices
2020-05-23 11:13:16.154 [DEBUG][5] parameters:
2020-05-23 11:13:16.154 [DEBUG][5] method: setting.devices
2020-05-23 11:13:16.154 [DEBUG][5] refresh: true
2020-05-23 11:13:16.154 [DEBUG][5] format: json
2020-05-23 11:13:16.154 [DEBUG][5] sid: d8fcf127-851e-4a7a-ae27-a393790fb616
2020-05-23 11:13:16.154 [DEBUG][5] client_ip: ::ffff:127.0.0.1
2020-05-23 11:13:16.154 [DEBUG][5] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
2020-05-23 11:13:16.154 [DEBUG][5] host_callback: 127.0.0.1:8866
2020-05-23 11:13:16.155 [DEBUG][5] setting.devices
2020-05-23 11:13:16.187 [DEBUG][16] [FFMPEG]: frame=12239 fps= 31 q=27.0 size=N/A time=00:03:24.30 bitrate=N/A speed=0.518x
2020-05-23 11:13:16.277 [DEBUG][5] CaptureSource.LoadAll()
2020-05-23 11:13:16.281 [ERROR][5] Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: IPTV_RECORDER'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at NShared.IPTVRecorder.GetPresentDevices()
at NShared.Visible.CaptureSource.UpdateDevices(ICaptureSourceUpdateStatus callback)
at NShared.Extend.SettingsRequestHandler.GetDevices(Dictionary`2 parameters)
at NShared.Extend.SettingsRequestHandler.HandleRequest(String method, Dictionary`2 parameters)
at NShared.Extend.PluginFactory.HandleRequest(ServiceResponseStream serviceResponseStream, Dictionary`2 parameters)
at NPVR5.Controllers.ServicesController.HandleServiceRequest(String body, String contentType)
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#18
2020-05-23, 05:57 PM
I didn't think to stop and restart the NPVR service, I only stopped and restarted the browser. Sad So that one was self-inflicted. Wink
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#19
2020-05-24, 06:14 PM (This post was last modified: 2020-05-24, 06:21 PM by HarryH3.)
Posting this here as a guide for others that want to move from V4 to V5.   Cool   (Sorry about the formatting.  It seems that the forum software discards tabs).

Migrating from Version 4 to Version 5 on Windows

This guide assumes that you already have version 4 running and configured on your server PC.  These are the steps that I took to make the move from V4 to V5.

Before starting, I made an image of my boot disk, just in case...  I use the free version of Macrium Reflect to make the image.  Available here: https://www.macrium.com/reflectfree
You could also copy the entire folder C:\Users\Public\NPVR to a safe place.

Next I uninstalled Version 4 using Windows Add or Remove Programs

Downloaded and ran NextPVRSetup.exe (Found here:  https://nextpvr.com/NPVRSetup.exe)  This goes to the NextPVR repository and installs the latest and greatest version that sub has posted.

After V5 installed, I copied my old config.xml and npvr.db3 files from C:\Users\Public\NPVR in V4 to C:\Users\Public\NPVR-data\ in V5.

To copy over an existing Comskip configuration - I copied the entire Comskip folder from C:\Users\Public\NPVR\,to C:\Users\Public\NPVR-data\

Copied PostProcessing.bat, PostUpdateEPG.bat and UpdateEPG.bat from C:\Users\Public\NPVR\scripts to C:\Users\Public\NPVR-data\scripts

Edited PostProcessing.bat and changed:
cd C:\Users\Public\NPVR-data\Comskip  to:
cd C:\Users\Public\NPVR\Data\Comskip

NScriptHelper has changed from a .exe file to a .dll.  To deal with this, the pointer for NScriptHelper in PostUpdateEPG.bat had to be modified:

"c:\program files (x86)"\npvr\nscripthelper.exe  to:
set NSHelper=dotnet "C:/Program Files/NextPVR/nscripthelper.dll" -isinuse -pin:xxxx

Note that for the "set" line to work, you will first need to install dotnet from Microsoft, availble here:  https://dotnet.microsoft.com/download/do...nt/runtime

Here's a PostUpdateEPG batch file that checks to be sure that no recordings are in progress, then reboots the system once the system is not busy recording (Replace the xxxx with the access PIN for your server.  The default is 0000):

echo off
REM Reboot if not recording
cd C:"\Program Files\NextPVR"
set NSHelper=dotnet NScriptHelper.dll -isinuse -pin:xxxx 

:check
FOR /F "tokens=*" %%i in ('%NSHelper% -isinuse') do SET condition=%%i
echo %condition%
IF %condition% =="NOT RECORDING" goto reboot

:delay
timeout 60
goto check

:reboot
echo "About to reboot"
shutdown /r

To get channel icons for the TV Guide screen, open the NPVR web page http://127.0.0.1:8866/ then click Settings (top right corner) -> Guide (left sidebar).  Now click on the "Download Channel Icons" button under the EPG Sources section.
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Time for upgrade greg in kansas 1 266 2025-05-06, 03:55 PM
Last Post: mvallevand
  Video Issues after upgrade from 4.2.4 to 7.0.1.241229 lemmy999 5 582 2025-03-02, 02:10 AM
Last Post: lemmy999
  Minimal EPG since upgrade to v7 hmc 19 1,345 2025-02-02, 02:12 AM
Last Post: sub
  Computer Won't Sleep After Upgrade to v6 Radar73 38 6,378 2023-10-11, 11:08 PM
Last Post: fla
  Upgrade from 4.2.5 beartlaoi 11 2,042 2023-05-01, 01:50 PM
Last Post: beartlaoi
  Won't upgrade GHop 5 925 2023-03-07, 07:44 AM
Last Post: GHop
  Tuners failing after upgrade persim 26 3,865 2022-12-30, 05:21 PM
Last Post: mvallevand
  Unable to upgrade MovieBuff 4 1,208 2022-12-26, 11:10 PM
Last Post: MovieBuff
  After upgrade from V4 to V6, default language & skip issues Fred555 6 1,404 2022-09-26, 08:22 AM
Last Post: Fred555
  upgrade to 5.2.6 failed. scJohn 3 1,081 2022-02-07, 11:36 PM
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