2019-03-13, 08:28 PM
In the past couple of days some of my recurring recordings have stopped being scheduled.
After the daily EPG update the log is showing the following error:-
2019-03-13 04:35:08.503 [DEBUG][10] - Potential episode at: 16/03/2019 19:30:00
2019-03-13 04:35:08.503 [DEBUG][10] ...check IsValid()
2019-03-13 04:35:08.503 [DEBUG][10] ...this episode is on Saturday
2019-03-13 04:35:08.503 [DEBUG][10] ...valid days are: TUESDAY
2019-03-13 04:35:08.503 [DEBUG][10] ...already got this episode: The Great British Sewing Bee/m/230D
2019-03-13 04:35:08.503 [DEBUG][10] existing status: STATUS_COMPLETED
2019-03-13 04:35:08.503 [DEBUG][10] existing time: 12/03/2019 20:59:00 - 12/03/2019 22:03:00
2019-03-13 04:35:08.503 [DEBUG][10] ...doesnt match recurring rules
2019-03-13 04:35:08.503 [DEBUG][10] - Potential episode at: 19/03/2019 21:00:00
2019-03-13 04:35:08.503 [DEBUG][10] ...check IsValid()
2019-03-13 04:35:08.503 [DEBUG][10] ...this episode is on Tuesday
2019-03-13 04:35:08.503 [DEBUG][10] ...valid days are: TUESDAY
2019-03-13 04:35:08.503 [DEBUG][10] ...scheduling episode
2019-03-13 04:35:08.503 [DEBUG][10] ScheduleRecording@1
2019-03-13 04:35:08.503 [DEBUG][10] ScheduleRecording@2.0
2019-03-13 04:35:08.503 [DEBUG][10] ScheduleRecording@2.1
2019-03-13 04:35:08.503 [DEBUG][10] CaptureSource.LoadAll()
2019-03-13 04:35:08.511 [DEBUG][10] ScheduleRecording@2.2
2019-03-13 04:35:08.511 [DEBUG][10] ScheduleRecording@2.2
2019-03-13 04:35:08.511 [DEBUG][10] ScheduleRecording@2.2
2019-03-13 04:35:08.519 [DEBUG][10] Checking if multi-record possible...
2019-03-13 04:35:08.519 [DEBUG][10] ScheduleRecording@2.3
2019-03-13 04:35:08.519 [DEBUG][10] ScheduleRecording@2.4
2019-03-13 04:35:08.519 [DEBUG][10] ScheduleRecording@3
2019-03-13 04:35:08.527 [DEBUG][10] ScheduleRecording@4
2019-03-13 04:35:08.527 [DEBUG][10] ScheduleRecording@5
2019-03-13 04:35:08.527 [INFO][10] UpdateRecurringRecording(313, 'The Great Celebrity Bake Off...'):
<Rules>
<EPGTitle>The Great Celebrity Bake Off...</EPGTitle>
<ChannelOID>7394</ChannelOID>
<ChannelName>Channel 4 HD</ChannelName>
<StartTime>2019-03-05T20:00:00.0000000Z</StartTime>
<EndTime>2019-03-05T21:15:00.0000000Z</EndTime>
<PrePadding>1</PrePadding>
<PostPadding>3</PostPadding>
<Quality>0</Quality>
<Keep>0</Keep>
<Days>TUESDAY</Days>
<TimeslotStart>2019-03-05T18:30:00.0000000Z</TimeslotStart>
<TimeslotEnd>2019-03-05T21:30:00.0000000Z</TimeslotEnd>
</Rules>
2019-03-13 04:35:08.551 [ERROR][10] Unexpected error parsing EPGEvent xml: System.Xml.XmlException: '', hexadecimal value 0x18, is an invalid character. Line 5, position 156.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NUtility.EPGEvent.Parse(String xml)
2019-03-13 04:35:08.551 [ERROR][10] xml:
<Event>
<OID>6877211</OID>
<Title>The Great British Sewing Bee</Title>
<SubTitle></SubTitle>
<Description>With Joe Lycett hosting, the quarter-finalists face British and Irish fabrics week. Patrick Grant and Esme Young ask the sewers to create a worker's jacket' from linen. [S,AD]</Description>
<ChannelOID>7339</ChannelOID>
<StartTime>2019-03-19T21:00:00.0000000Z</StartTime>
<EndTime>2019-03-19T22:00:00.0000000Z</EndTime>
<FirstRun>true</FirstRun>
<DVBServiceEventID>1293</DVBServiceEventID>
<DVBTableVersion>22</DVBTableVersion>
<Genres>
<Genre>News / Current Affairs</Genre>
</Genres>
<UniqueID>The Great British Sewing Bee/m/27J5</UniqueID>
</Event>
2019-03-13 04:35:08.551 [ERROR][10] Unexpected error in UpdateRecurringRecording(): System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.RecordingServiceProxy.UpdateRecurringRecording(RecurringRecording recurringRecording)
2019-03-13 04:35:08.551 [INFO][10] UpdateRecurringRecording(314, 'MotherFatherSon'):
<Rules>
<EPGTitle>MotherFatherSon</EPGTitle>
<ChannelOID>7339</ChannelOID>
<ChannelName>BBC Two HD</ChannelName>
<StartTime>2019-03-06T21:00:00.0000000Z</StartTime>
<EndTime>2019-03-06T22:00:00.0000000Z</EndTime>
<PrePadding>1</PrePadding>
<PostPadding>3</PostPadding>
<Quality>0</Quality>
<Keep>0</Keep>
<Days>WEDNESDAY</Days>
<TimeslotStart>2019-03-06T19:30:00.0000000Z</TimeslotStart>
<TimeslotEnd>2019-03-06T22:30:00.0000000Z</TimeslotEnd>
</Rules>
After this error, every NPVR attempt to schedule an existing recurring recording fails with either the parsing error or the System.NullReferenceException seen above.
The parsing error always refers to the Hex 0x18 value.
What do I need to do or check to resolve.
(I am familiar with editing the database if needed)
After the daily EPG update the log is showing the following error:-
2019-03-13 04:35:08.503 [DEBUG][10] - Potential episode at: 16/03/2019 19:30:00
2019-03-13 04:35:08.503 [DEBUG][10] ...check IsValid()
2019-03-13 04:35:08.503 [DEBUG][10] ...this episode is on Saturday
2019-03-13 04:35:08.503 [DEBUG][10] ...valid days are: TUESDAY
2019-03-13 04:35:08.503 [DEBUG][10] ...already got this episode: The Great British Sewing Bee/m/230D
2019-03-13 04:35:08.503 [DEBUG][10] existing status: STATUS_COMPLETED
2019-03-13 04:35:08.503 [DEBUG][10] existing time: 12/03/2019 20:59:00 - 12/03/2019 22:03:00
2019-03-13 04:35:08.503 [DEBUG][10] ...doesnt match recurring rules
2019-03-13 04:35:08.503 [DEBUG][10] - Potential episode at: 19/03/2019 21:00:00
2019-03-13 04:35:08.503 [DEBUG][10] ...check IsValid()
2019-03-13 04:35:08.503 [DEBUG][10] ...this episode is on Tuesday
2019-03-13 04:35:08.503 [DEBUG][10] ...valid days are: TUESDAY
2019-03-13 04:35:08.503 [DEBUG][10] ...scheduling episode
2019-03-13 04:35:08.503 [DEBUG][10] ScheduleRecording@1
2019-03-13 04:35:08.503 [DEBUG][10] ScheduleRecording@2.0
2019-03-13 04:35:08.503 [DEBUG][10] ScheduleRecording@2.1
2019-03-13 04:35:08.503 [DEBUG][10] CaptureSource.LoadAll()
2019-03-13 04:35:08.511 [DEBUG][10] ScheduleRecording@2.2
2019-03-13 04:35:08.511 [DEBUG][10] ScheduleRecording@2.2
2019-03-13 04:35:08.511 [DEBUG][10] ScheduleRecording@2.2
2019-03-13 04:35:08.519 [DEBUG][10] Checking if multi-record possible...
2019-03-13 04:35:08.519 [DEBUG][10] ScheduleRecording@2.3
2019-03-13 04:35:08.519 [DEBUG][10] ScheduleRecording@2.4
2019-03-13 04:35:08.519 [DEBUG][10] ScheduleRecording@3
2019-03-13 04:35:08.527 [DEBUG][10] ScheduleRecording@4
2019-03-13 04:35:08.527 [DEBUG][10] ScheduleRecording@5
2019-03-13 04:35:08.527 [INFO][10] UpdateRecurringRecording(313, 'The Great Celebrity Bake Off...'):
<Rules>
<EPGTitle>The Great Celebrity Bake Off...</EPGTitle>
<ChannelOID>7394</ChannelOID>
<ChannelName>Channel 4 HD</ChannelName>
<StartTime>2019-03-05T20:00:00.0000000Z</StartTime>
<EndTime>2019-03-05T21:15:00.0000000Z</EndTime>
<PrePadding>1</PrePadding>
<PostPadding>3</PostPadding>
<Quality>0</Quality>
<Keep>0</Keep>
<Days>TUESDAY</Days>
<TimeslotStart>2019-03-05T18:30:00.0000000Z</TimeslotStart>
<TimeslotEnd>2019-03-05T21:30:00.0000000Z</TimeslotEnd>
</Rules>
2019-03-13 04:35:08.551 [ERROR][10] Unexpected error parsing EPGEvent xml: System.Xml.XmlException: '', hexadecimal value 0x18, is an invalid character. Line 5, position 156.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NUtility.EPGEvent.Parse(String xml)
2019-03-13 04:35:08.551 [ERROR][10] xml:
<Event>
<OID>6877211</OID>
<Title>The Great British Sewing Bee</Title>
<SubTitle></SubTitle>
<Description>With Joe Lycett hosting, the quarter-finalists face British and Irish fabrics week. Patrick Grant and Esme Young ask the sewers to create a worker's jacket' from linen. [S,AD]</Description>
<ChannelOID>7339</ChannelOID>
<StartTime>2019-03-19T21:00:00.0000000Z</StartTime>
<EndTime>2019-03-19T22:00:00.0000000Z</EndTime>
<FirstRun>true</FirstRun>
<DVBServiceEventID>1293</DVBServiceEventID>
<DVBTableVersion>22</DVBTableVersion>
<Genres>
<Genre>News / Current Affairs</Genre>
</Genres>
<UniqueID>The Great British Sewing Bee/m/27J5</UniqueID>
</Event>
2019-03-13 04:35:08.551 [ERROR][10] Unexpected error in UpdateRecurringRecording(): System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.RecordingServiceProxy.UpdateRecurringRecording(RecurringRecording recurringRecording)
2019-03-13 04:35:08.551 [INFO][10] UpdateRecurringRecording(314, 'MotherFatherSon'):
<Rules>
<EPGTitle>MotherFatherSon</EPGTitle>
<ChannelOID>7339</ChannelOID>
<ChannelName>BBC Two HD</ChannelName>
<StartTime>2019-03-06T21:00:00.0000000Z</StartTime>
<EndTime>2019-03-06T22:00:00.0000000Z</EndTime>
<PrePadding>1</PrePadding>
<PostPadding>3</PostPadding>
<Quality>0</Quality>
<Keep>0</Keep>
<Days>WEDNESDAY</Days>
<TimeslotStart>2019-03-06T19:30:00.0000000Z</TimeslotStart>
<TimeslotEnd>2019-03-06T22:30:00.0000000Z</TimeslotEnd>
</Rules>
After this error, every NPVR attempt to schedule an existing recurring recording fails with either the parsing error or the System.NullReferenceException seen above.
The parsing error always refers to the Hex 0x18 value.
What do I need to do or check to resolve.
(I am familiar with editing the database if needed)
NPVR Version= 6.1.5.231022
Intel i7 Quad Core 3200 + 16GB DDR3 Gigabyte Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Raid 0)
Raspberry Pi3 B+ , Pi4B (OSMC) and Pi5 (XBian) all running Kodi v21.1
Intel i7 Quad Core 3200 + 16GB DDR3 Gigabyte Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Raid 0)
Raspberry Pi3 B+ , Pi4B (OSMC) and Pi5 (XBian) all running Kodi v21.1