2016-08-27, 04:36 PM
I have several records where Event_details is generating an error message and it is likely why my recurring recordings no longer work as well. I also cannot export recordings successfully if I wanted to start over with a new install.
Here is an example of the error:
2016-08-24 02:51:43.794 [ERROR][14] Unexpected error parsing EPGEvent xml: System.NullReferenceException: Object reference not set to an instance of an object.
at NUtility.EPGEvent.Parse(String xml)
2016-08-24 02:51:43.794 [ERROR][14] xml:
<Event><Oid>1000205</Oid><Title>Grandfathered</Title><SubTitle>s01e04.Deadbeat</SubTitle><Description>2015-10-20: After Jimmy misses Edie's second birthday party, he decides to throw her a big bash at his restaurant to make it up to the family. When Sara's brother shows up, he brings the party to a screeching halt by confronting Jimmy about leaving Sara to raise Gerald on her own.</Description><ChannelOID>7763</ChannelOID><StartTime>2015-10-21T06:09:00.0000000Z</StartTime><EndTime>2015-10-21T07:09:00.0000000Z</EndTime></Event>
I have a few hundred of these that I want to fix.
Brief history: I tried to edit the event_details of one recording of Saturday Night live where they aired a Prince tribute after he died and the Guide data had some repeat episode, so I wanted to have the correct description in the database. Well I ran the SQL update and stupidly forgot the "WHERE OID = nnn" clause trashing every record. I asked for help too late and the backup copies of the recordings had rolled past a salvageable version. I did have a backup of the npvr.db3 file that was a few months old so I was able to salvage about 80% of the data.
I then used vidImport to get descriptions of the files I had in my recordings directory and wrote a program to update the event_details on the bad records. I was able to fix the filenames of all my records but apparently the data I constructed for event_details is missing something.
If you can give me a clue what is wrong with the entry above, I can probably fix the other records. I have tried to attached the full log zip file but I am getting an error so I only zipped the Nrecord.log file and attached it.
Thanks for any direction you can give me.
Steve Tyrakowski
Here is an example of the error:
2016-08-24 02:51:43.794 [ERROR][14] Unexpected error parsing EPGEvent xml: System.NullReferenceException: Object reference not set to an instance of an object.
at NUtility.EPGEvent.Parse(String xml)
2016-08-24 02:51:43.794 [ERROR][14] xml:
<Event><Oid>1000205</Oid><Title>Grandfathered</Title><SubTitle>s01e04.Deadbeat</SubTitle><Description>2015-10-20: After Jimmy misses Edie's second birthday party, he decides to throw her a big bash at his restaurant to make it up to the family. When Sara's brother shows up, he brings the party to a screeching halt by confronting Jimmy about leaving Sara to raise Gerald on her own.</Description><ChannelOID>7763</ChannelOID><StartTime>2015-10-21T06:09:00.0000000Z</StartTime><EndTime>2015-10-21T07:09:00.0000000Z</EndTime></Event>
I have a few hundred of these that I want to fix.
Brief history: I tried to edit the event_details of one recording of Saturday Night live where they aired a Prince tribute after he died and the Guide data had some repeat episode, so I wanted to have the correct description in the database. Well I ran the SQL update and stupidly forgot the "WHERE OID = nnn" clause trashing every record. I asked for help too late and the backup copies of the recordings had rolled past a salvageable version. I did have a backup of the npvr.db3 file that was a few months old so I was able to salvage about 80% of the data.
I then used vidImport to get descriptions of the files I had in my recordings directory and wrote a program to update the event_details on the bad records. I was able to fix the filenames of all my records but apparently the data I constructed for event_details is missing something.
If you can give me a clue what is wrong with the entry above, I can probably fix the other records. I have tried to attached the full log zip file but I am getting an error so I only zipped the Nrecord.log file and attached it.
Thanks for any direction you can give me.
Steve Tyrakowski