NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 16 17 18 19 20 … 101 Next »
MediaPortal recordings import

 
  • 0 Vote(s) - 0 Average
MediaPortal recordings import
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#11
2024-01-08, 09:31 PM (This post was last modified: 2024-01-08, 09:36 PM by mvallevand.)
That example is not really supported by NextPVR or most standards (episodic is defined to mean having a season, season zero are specials) but it show the issue in the metadata and in the 3 samples you provided, the season/episode fields are blank.

Code:
<SimpleTag>
<name>SERIESNUM</name>
<value> </value>
</SimpleTag>
<SimpleTag>
<name>EPISODENUM</name>
<value> </value>
</SimpleTag>

and the metadata seems to be "hidden" in the description

Code:
<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>

or the episode name for films

Code:
<SimpleTag>
      <name>EPISODENAME</name>
      <value>Film, Comedy ║ 1966 ║ GB ║ Subs</value>
    </SimpleTag>
    <SimpleTag>

Having distinct S/E information allows things like the Kodi and NextPVR play next unwatched features to work and Kodi's episode sort to work too.

Martin
fritzelly
Offline

Junior Member

Ireland
Posts: 14
Threads: 3
Joined: Jan 2024
#12
2024-01-08, 10:07 PM (This post was last modified: 2024-01-08, 10:09 PM by fritzelly.)
This is the only example I have with season number/episode number (this show wouldn't have a episode name). The PS script I posted earlier is working fine except for some recordings but will look at the problem with them over the weekend.
I would guess a lot of the metadata relies on what is broadcast as to what ends up in the xml.
It's good enough for me to just have the recordings imported, bar one or two they are all one off programs

Code:
<?xml version="1.0" encoding="UTF-8"?>
<tags>
  <tag>
    <SimpleTag>
      <name>TITLE</name>
      <value>Gardening with Carol Klein</value>
    </SimpleTag>
    <SimpleTag>
      <name>COMMENT</name>
      <value>Gardening expert Carol Klein offers a look inside her garden, where she uses her decades of experience to tackle problems that typically come with gardens. (S2 Ep 5)</value>
    </SimpleTag>
    <SimpleTag>
      <name>GENRE</name>
      <value>
      </value>
    </SimpleTag>
    <SimpleTag>
      <name>CHANNEL_NAME</name>
      <value>5SELECT</value>
    </SimpleTag>
    <SimpleTag>
      <name>EPISODENAME</name>
      <value>
      </value>
    </SimpleTag>
    <SimpleTag>
      <name>SERIESNUM</name>
      <value>2</value>
    </SimpleTag>
    <SimpleTag>
      <name>EPISODENUM</name>
      <value>5</value>
    </SimpleTag>
    <SimpleTag>
      <name>EPISODEPART</name>
      <value>1/1</value>
    </SimpleTag>
    <SimpleTag>
      <name>STARTTIME</name>
      <value>2021-09-21 02:00</value>
    </SimpleTag>
    <SimpleTag>
      <name>ENDTIME</name>
      <value>2021-09-21 03:00</value>
    </SimpleTag>
    <SimpleTag>
      <name>PROGRAMSTARTTIME</name>
      <value>2021-09-21 02:00</value>
    </SimpleTag>
    <SimpleTag>
      <name>PROGRAMENDTIME</name>
      <value>2021-09-21 03:00</value>
    </SimpleTag>
  </tag>
</tags>
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#13
2024-01-08, 10:22 PM
Thanks that is what I was exactly what I was looking since I wanted to see if MP was doing something with (S2 Ep 5) in the description so my generic NextTool utility, it is a pretty easy XML file to add.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#14
2024-01-09, 02:09 AM
(2024-01-07, 11:24 PM)fritzelly Wrote: 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 &amp; Disco - it&apos;s all the party hits from just one decade - the 1970s! Platform boots &amp; flares at the ready?</description>
  <uid>1</uid>
  <firstrun>true</firstrun>
</recording>

Sorry I missed the question.  That file might be bad because the start time and end time are the same and it is so smale.  Do you have the source XML?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Since v7: EPG mostly "no listings", and channels change during recordings :'( rightbryce 38 2,773 2025-05-19, 03:18 PM
Last Post: erik123
  How to Trigger EPG Import? banshee2005 4 286 2025-05-07, 02:30 AM
Last Post: mvallevand
  Failed recordings "Operation timed out" Stanno 8 413 2025-04-27, 07:26 PM
Last Post: Nick017
  Can't delete scheduled recordings Druhl 3 166 2025-04-22, 09:10 PM
Last Post: mvallevand
  Manual Recurring Recordings jcole998 3 195 2025-04-17, 09:10 PM
Last Post: mvallevand
  NPVR Windows recordings folder cleanup.... Colincam 21 2,858 2025-04-16, 07:38 PM
Last Post: mvallevand
  Portions of recordings are missing MovieBuff 6 424 2025-04-14, 03:15 PM
Last Post: MovieBuff
  Recordings not displaying Jakesty 4 215 2025-04-12, 01:15 PM
Last Post: mvallevand
  Scheduled Late Night through-midnight recordings suddenly stop at midnight Andre_Mikulec 4 318 2025-03-29, 12:56 AM
Last Post: mvallevand
  postprocessing tsduck on recordings Druhl 3 275 2025-03-07, 02:24 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode