2018-03-05, 09:08 PM
I'm trying to manually import a number of video files into the database but failing to get it right.
The last template I created for the required fields doesn't seem to work anymore as the database has obviously progressed.
I tried mimicking the fields from a recording-backup.xml but I must be getting values or syntax wrong because it doesn't create the correct populated entries.
Sub (or anyone else who knows). Can you advise which fields need to be populated, which are optional, which are created by NPVR on import and what effect each field has on the database (e.g. I see two entries for every recording start & end time..... why?)
I see the SubTitle field has changed / disappeared?
An example dump below.
- <recording>
<oid>5681</oid>
<name>Piers Morgan's Life Stories</name>
<channel>ITV HD</channel>
<filename>R:\Recordings\Piers Morgans Life Stories\Piers Morgans Life Stories_20180303_21502245.ts</filename>
<status>READY</status>
<startTime>2018-03-03T21:49:02.0000000Z</startTime>
<endTime>2018-03-03T22:48:00.0000000Z</endTime>
- <Event>
<OID>2690048</OID>
<Title>Piers Morgan's Life Stories</Title>
<SubTitle />
<Description>Pamela Anderson: Pamela Anderson reflects on her career and personal life, including her first husband's imprisonment for spousal abuse and her relationship with Julian Assange. [S,HD]</Description>
<ChannelOID>7151</ChannelOID>
<StartTime>2018-03-03T21:50:00.0000000Z</StartTime>
<EndTime>2018-03-03T22:45:00.0000000Z</EndTime>
<FirstRun>true</FirstRun>
<DVBServiceEventID>14975</DVBServiceEventID>
<DVBTableVersion>9</DVBTableVersion>
- <Genres>
<Genre>News / Current Affairs</Genre>
</Genres>
<UniqueID>New: Piers Morgan's Life Stories/1001339462</UniqueID>
</Event>
</recording>
Thanks.
Ray.
The last template I created for the required fields doesn't seem to work anymore as the database has obviously progressed.
I tried mimicking the fields from a recording-backup.xml but I must be getting values or syntax wrong because it doesn't create the correct populated entries.
Sub (or anyone else who knows). Can you advise which fields need to be populated, which are optional, which are created by NPVR on import and what effect each field has on the database (e.g. I see two entries for every recording start & end time..... why?)
I see the SubTitle field has changed / disappeared?
An example dump below.
- <recording>
<oid>5681</oid>
<name>Piers Morgan's Life Stories</name>
<channel>ITV HD</channel>
<filename>R:\Recordings\Piers Morgans Life Stories\Piers Morgans Life Stories_20180303_21502245.ts</filename>
<status>READY</status>
<startTime>2018-03-03T21:49:02.0000000Z</startTime>
<endTime>2018-03-03T22:48:00.0000000Z</endTime>
- <Event>
<OID>2690048</OID>
<Title>Piers Morgan's Life Stories</Title>
<SubTitle />
<Description>Pamela Anderson: Pamela Anderson reflects on her career and personal life, including her first husband's imprisonment for spousal abuse and her relationship with Julian Assange. [S,HD]</Description>
<ChannelOID>7151</ChannelOID>
<StartTime>2018-03-03T21:50:00.0000000Z</StartTime>
<EndTime>2018-03-03T22:45:00.0000000Z</EndTime>
<FirstRun>true</FirstRun>
<DVBServiceEventID>14975</DVBServiceEventID>
<DVBTableVersion>9</DVBTableVersion>
- <Genres>
<Genre>News / Current Affairs</Genre>
</Genres>
<UniqueID>New: Piers Morgan's Life Stories/1001339462</UniqueID>
</Event>
</recording>
Thanks.
Ray.
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 Pi2, Pi3 B+ and Pi4 B all running OSMC (Kodi v20.2)
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 Pi2, Pi3 B+ and Pi4 B all running OSMC (Kodi v20.2)