Posts: 714
Joined: Mar 2015
Reputation:
17
Hi,
This might sound strange, so please bear with me. I'm a recent convert from MediaPortal, so a lot of my media is TV recordings. MediaPortal creates a .xml file for each recording, which contains information about the program.
If I want to back up the recording until I have time to watch it, then I like to have the metadata.
So, let's say I have a folder of video files, and each has a .xml file with it. These are not movies, so it wouldn't make any sense to have them in the movies database. They might not be in thetvdb either.
So, I don't want them to appear in either my movies or tv series lists. But, I would like to be able to see the metadata in the .xml file from the normal video views.
I'd be happy to post a sample .xml file if needed.
Best wishes,
Mark
Posts: 4,058
Joined: Oct 2007
Reputation:
89
zag
Team-Kodi Member
Posts: 4,058
Why not add them to thetvdb?
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
2015-04-01, 23:05
(This post was last modified: 2015-04-01, 23:05 by da-anda.)
hey Mark,
it appears that what you want is unfortunately not possible atm and from a little chat on IRC there are atm no plans to add it - sorry. We first want to get the code in better shape before we add yet another special case handling. But feel free to post the structure of one of these XML files, maybe someone will find or add a way.
Posts: 714
Joined: Mar 2015
Reputation:
17
Okay, here is an example of one of the xml files. It looks pretty much like a .nfo file
I'll have a look at the other suggestions now.
<?xml version="1.0" encoding="UTF-8"?>
<tags>
<tag>
<SimpleTag>
<name>TITLE</name>
<value>Boomerangball Game</value>
</SimpleTag>
<SimpleTag>
<name>COMMENT</name>
<value>Joey the Kangaroo and his friend must reconcile their mums so they can play Boomerangball. [S]</value>
</SimpleTag>
<SimpleTag>
<name>GENRE</name>
<value>childrens's/youth program (general)</value>
</SimpleTag>
<SimpleTag>
<name>CHANNEL_NAME</name>
<value>CBeebies</value>
</SimpleTag>
<SimpleTag>
<name>EPISODENAME</name>
<value>
</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>2012-11-19 18:03</value>
</SimpleTag>
<SimpleTag>
<name>ENDTIME</name>
<value>2012-11-19 18:20</value>
</SimpleTag>
</tag>
</tags>
Posts: 714
Joined: Mar 2015
Reputation:
17
Okay, so I've had a look into this.
It looks as though the .xml files I have from MediaPortal are not standard .nfo files. Therefore I cannot simply rename them all to .nfo and use them. I would need to find a way to convert them first.
Overall, my situation might be a limited usage case, since not many people will need it. I guess one option would be to find the episode info in thetvdb as much as possible. Bit of a pain, but I don't know what else to do.
If someone with the relevant expertise was willing and able to write a script to generate .nfo files from my .xml files, that would be fantastic.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Hm, I thought Mediaportal switched to our nfo format at some time. I bet there's a tool to convert xml to nfo.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.