Here attached - I've also attached the powershell script I have but while everything looks the same when I try to import the file I get "Nothing imported" - am I missing something else, do the recordings need to be in their own folders
I don't know the answer since I can't really debug a ps1 script but filename will need the full filename of the filename including extentions and I didn't see that in the script.
No recordings don't need to be in their own folder.
Does MP create one of these XML files per recording? Doesn't look too hard to import.
2024-01-07, 11:24 PM (This post was last modified: 2024-01-07, 11:26 PM by fritzelly.)
I've attached my final code which is working (maybe it will help someone else) bar at least this one below (have over 70 recordings to import)
I can't see anything wrong with the XML
Code:
<?xml version="1.0" encoding="UTF-8"?>
<recording>
<filename>D:\recordings\70s Party Night!-NOW 70s2021-04-21.ts</filename>
<channel>NOW 70s</channel>
<status>READY</status>
<startTime>2021-04-21 05:13</startTime>
<endTime>2021-04-21 05:13</endTime>
<size>1417</size>
<channel_OID>1</channel_OID>
<title>70s Party Night!</title>
<subtitle></subtitle>
<description>From the era of Glam Rock, New Wave & Disco - it's all the party hits from just one decade - the 1970s! Platform boots & flares at the ready?</description>
<uid>1</uid>
<firstrun>true</firstrun>
</recording>
Ok thanks it doesn't have S/E info either so I wasn't sure how MP does that. Your last post looked more like Rytec XMLTV with the EPISODENAME being a catchall.
Not sure what you mean "doesn't have S/E info either"
Here's another one (nearly all the recordings are one off shows)
Code:
<tags>
<tag>
<SimpleTag>
<name>TITLE</name>
<value>Revolution in Colour</value>
</SimpleTag>
<SimpleTag>
<name>COMMENT</name>
<value>1909-1918: The story of Ireland's struggle for independence during the early decades of the 20th Century is brought vividly to life with period photographs and footage shown in colour. (Part 1 of 2)</value>
</SimpleTag>
<SimpleTag>
<name>GENRE</name>
<value> </value>
</SimpleTag>
<SimpleTag>
<name>CHANNEL_NAME</name>
<value>PBS America</value>
</SimpleTag>
<SimpleTag>
<name>EPISODENAME</name>
<value>1909-1918</value>
</SimpleTag>
<SimpleTag>
<name>SERIESNUM</name>
<value> </value>
</SimpleTag>
<SimpleTag>
<name>EPISODENUM</name>
<value> </value>
</SimpleTag>
<SimpleTag>
<name>EPISODEPART</name>
<value> </value>
</SimpleTag>
<SimpleTag>
<name>STARTTIME</name>
<value>2022-01-24 23:00</value>
</SimpleTag>
<SimpleTag>
<name>ENDTIME</name>
<value>2022-01-25 00:00</value>
</SimpleTag>
<SimpleTag>
<name>PROGRAMSTARTTIME</name>
<value>2022-01-24 23:00</value>
</SimpleTag>
<SimpleTag>
<name>PROGRAMENDTIME</name>
<value>2022-01-25 00:00</value>
</SimpleTag>
</tag>
</tags>