A bit further investion shows that the <Event> </Event> section in the XML is necessary. The revised XML import file shown below does allow the .ts file to be imported to NPVR
<?xml version="1.0" encoding="UTF-8"?>
<recordings>
<recording>
<name>Trucking Hell Extreme Road Rescue</name>
<channel>Imported</channel>
<filename>/home/pi/nas_recordings/Trucking Hell Extreme Road Rescue/Trucking Hell Extreme Road Rescue_20191014_14001500.ts</filename>
<status>READY</status>
<startTime>2019-10-14T14:00:00.0000000Z</startTime>
<endTime>2019-10-14T15:00:00.0000000Z</endTime>
<Event>
<Title>Trucking Hell Extreme Road Rescue</Title>
<StartTime>2019-10-14T14:00:00.0000000Z</StartTime>
<EndTime>2019-10-14T15:00:00.0000000Z</EndTime>
</Event>
</recording>
</recordings>
The imported video file shows up in Recordings and is playable.
HOWEVER
It seems that something else is going on (/Web app/Kodi client refreshs ?) in that the log files are then, on a regular basis, reporting the following for this imported file (and others):
2020-03-23 12:34:13.298 [ERROR][25] Unexpected error parsing EPGEvent xml: System.NullReferenceException: Object reference not set to an instance of an object.
at NUtility.EPGEvent.Parse(String xml)
2020-03-23 12:34:13.298 [ERROR][25] xml:
<Event>
<Title>Trucking Hell Extreme Road Rescue</Title>
<StartTime>2019-10-14T14:00:00.0000000Z</StartTime>
<EndTime>2019-10-14T15:00:00.0000000Z</EndTime>
</Event>
Is this a problem ? I have uploaded the full log set for you see.
Chris
<?xml version="1.0" encoding="UTF-8"?>
<recordings>
<recording>
<name>Trucking Hell Extreme Road Rescue</name>
<channel>Imported</channel>
<filename>/home/pi/nas_recordings/Trucking Hell Extreme Road Rescue/Trucking Hell Extreme Road Rescue_20191014_14001500.ts</filename>
<status>READY</status>
<startTime>2019-10-14T14:00:00.0000000Z</startTime>
<endTime>2019-10-14T15:00:00.0000000Z</endTime>
<Event>
<Title>Trucking Hell Extreme Road Rescue</Title>
<StartTime>2019-10-14T14:00:00.0000000Z</StartTime>
<EndTime>2019-10-14T15:00:00.0000000Z</EndTime>
</Event>
</recording>
</recordings>
The imported video file shows up in Recordings and is playable.
HOWEVER
It seems that something else is going on (/Web app/Kodi client refreshs ?) in that the log files are then, on a regular basis, reporting the following for this imported file (and others):
2020-03-23 12:34:13.298 [ERROR][25] Unexpected error parsing EPGEvent xml: System.NullReferenceException: Object reference not set to an instance of an object.
at NUtility.EPGEvent.Parse(String xml)
2020-03-23 12:34:13.298 [ERROR][25] xml:
<Event>
<Title>Trucking Hell Extreme Road Rescue</Title>
<StartTime>2019-10-14T14:00:00.0000000Z</StartTime>
<EndTime>2019-10-14T15:00:00.0000000Z</EndTime>
</Event>
Is this a problem ? I have uploaded the full log set for you see.
Chris