2016-05-20, 03:55 PM
Last week WMC stopped working, so I moved from WMC to NextPVR (Windows
7, Ceton card with Comcast cablecard).
I'm having some issues with the database that I think are related to
each other. I don't know if these issues are features/bugs in NextPVR
or if they're occurring because I screwed up the database by inserting
manual recordings through SQLite. If it's the latter, please tell me
the best way to straighten things out. The previous thread was:
http://forums.nextpvr.com/showthread.php...-recording
Thanks for your help.
Attachment: c:\Users\Public\NPVR\Logs\logs-20160520-0959.zip
-- I've added recurring-backup.xml to this file.
7, Ceton card with Comcast cablecard).
I'm having some issues with the database that I think are related to
each other. I don't know if these issues are features/bugs in NextPVR
or if they're occurring because I screwed up the database by inserting
manual recordings through SQLite. If it's the latter, please tell me
the best way to straighten things out. The previous thread was:
http://forums.nextpvr.com/showthread.php...-recording
- The "Update" button doesn't seem to work for me at all. If
I try to use it on a series, the "Recording Type" comes up as "Record
Once," even though it's a series. If I try to use it on a manual
recording, whether I've inserted it through the GUI or through INSERT,
then I get an System.IndexOutOfRangeException when I click on
"Update", as in the above thread. Is this a bug in NextPVR, or is
this happening because of some issue in npvr.db3?
- I've manually scheduled a program "BBC-Midnite-4am", which records
BBC World News from midnight to 4 am. (I had added this recording
through sqlite3.) It records fine into a file called
BBC-Midnite-4am_20160520_00000400.ts. But then it records the same
channel a second time, from 3:45am-4am, into a file called
BBC-Midnite-4am_20160520_00000400-0.ts. This happens every night. So
there are two recordings of the same thing from 3:45-4.
I looked at the NRecord.log file (attached), and it looks like NRecord
goes nuts around 3:40 am, rescheduling recordings, and rolling over to
a new log file. It also gets sporadic "database locked" errors, which
may be a NextPVR bug.
- By the time I have everything set up, I'm going to have 150-200
recurring recordings set up, about half of them manual and half
series, and I'm going to need to set priorities. A typical scenario
is that I want to record the BBC World News from 8-9pm, but only if
there's a free tuner, which means the BBC recording has to have a
lower priority than the series recordings. It would be quick and
convenient for me to set priorities by using sqlite3 to UPDATE the
"priority" field in each of the records in the RECURRING_RECORDING
table (and making sure that all priorities are unique). Would that
work? This would be easiest, since I need to set the priority of
each new manual recording that I add, even if it's through the GUI.
The only other way I know about is:
- Edit recurring-backup.xml to create
new-recurring.xml. However, there's no "priority" field in the
XML. But there is an "oid" field. Can I just set that?
- Move the old npvr.db3 to a safe location, in case it's needed
again. This wipes out all existing recordings in NextPVR.
- Kill and restart NextPVR, so that hopefully it will create an
empty npvr.db3.
- Start "NextPVR.exe -import new-recurring.xml".
That's a complicated procedure, especially if all I want to do is to
change one priority. Is that the "official" way to change priorities,
since I can't find a way in the GUI? - Edit recurring-backup.xml to create
Thanks for your help.
Attachment: c:\Users\Public\NPVR\Logs\logs-20160520-0959.zip
-- I've added recurring-backup.xml to this file.