Author Topic: Import from XBMC/MovPicNFO .nfo XML-File  (Read 15467 times)

0 Members and 1 Guest are viewing this topic.

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Import from XBMC/MovPicNFO .nfo XML-File
« on: May 22, 2013, 08:14:27 pm »
This script is for importing movie data from an XML file like the .nfo files written by XBMC and the MediaPortal extension MovingPictures (done by MovPicNFO). It is currently configured to import the .nfo file from MovPicNFO which differs slightly from the XBMC definition. But the script is highly customizable so one should be able to configure it for XMBC with low effort.
If an XBMC version is requested, I am happy to configure one and upload it.

Comments are welcome. If you need any support, do not hesitate to ask.

Oliver

Current version: 1.1.2.0111

[attachment deleted by admin]
« Last Edit: May 27, 2013, 01:49:12 pm by Nautilus2067 »

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #1 on: May 22, 2013, 09:49:46 pm »
I noticed that only actors with a role assigned were imported. So I updated the configuration by adding another source field for the actor. This time with different properties. Et voila: actors without a role are imported as well now.

Download in first message has been updated to version 1.0.1.0101.

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #2 on: May 23, 2013, 04:30:23 pm »
New version 1.1.0.0107 with the possibility to use 2 source fields.

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #3 on: May 27, 2013, 01:04:44 pm »
New Version 1.1.1.109: Corrected import of actors with roles

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #4 on: May 27, 2013, 01:48:40 pm »
New Version: 1.1.2.0111: Actors were created with and without roles

Offline layerbreak

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #5 on: August 14, 2013, 04:07:39 pm »
Servus Nautilus2067,

I have check it out v1.1.2.0111
The script name suggest me that when I select this Script at Import I get the movie picture, that ist named folder.jpg in the movie-folder and the script reads the informations out from the xbmc-nfo-file that located in the movie-folder too.

I get no movie picture in PVD.  :'( Can you insert it or do I need an other Script therefor?

At the actors the script insert the media-imdb.com-Link too. Can you exclude the Thumb-Tag?
Code: [Select]
<actor>
    <name>Sam Riley</name>
    <role>Vince Ferro</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTczOTgwMzAxN15BMl5BanBnXkFtZTYwMjI4ODI4._V1._SY275_SX400_.jpg</thumb>
  </actor>

The Script only imports the first Genre in the nfo-file and not all others.
Code: [Select]
  <genre>_neu</genre>
  <genre>Drama</genre>
  <genre>Thriller</genre>

The script ignore the tag playcount and all new imported movies are select at as seen.
Code: [Select]
<playcount>1</playcount>When the tag playcount isn't in the nfo-file -> the movie is unseen.

Sorry but I can read the script but I understand nothing its like reading chinese for me.  :-[
When you need some nfo-files please let me know.

Can you have a look. Thx.
« Last Edit: August 14, 2013, 04:14:17 pm by layerbreak »

Offline layerbreak

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #6 on: August 14, 2013, 05:25:14 pm »
OK, I have a search here in the forum about to Import a movie poster that is saved local.
It seems that there is no usefull way to import the poster, when it is named "folder.jpg"

Is it possible to insert it in your script when the poster named: e.g.
folder: 72 Stunden - The next three days tt1458175 (2010)
movie: 72 Stunden - The next three days tt1458175 (2010).m2ts
poster: 72 Stunden - The next three days tt1458175 (2010).jpg

Maybe in a second step??

Offline Nautilus2067

  • User
  • ***
  • Posts: 74
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #7 on: August 21, 2013, 02:15:59 pm »
There are slight differences between XBMC and MovPicNFO. E.g. the genre tag. I will adapt the script to meet your requirements and I am going to post it here as a separate version in case somebody else has the same needs. I will provide a solution for folder.jpg as well.

Just give me a week or two as I am suffering of heavy overdose of business workload at the moment.

Regards,
Oliver

Offline layerbreak

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Import from XBMC/MovPicNFO .nfo XML-File
« Reply #8 on: August 21, 2013, 06:45:55 pm »
There are slight differences between XBMC and MovPicNFO. E.g. the genre tag. I will adapt the script to meet your requirements and I am going to post it here as a separate version in case somebody else has the same needs. I will provide a solution for folder.jpg as well.

Just give me a week or two as I am suffering of heavy overdose of business workload at the moment.

I dont know what "MovPicNFO" is, I thought you named your script so.  :-[
After a little gockel-search: Its a plugin of mediaportal. Sorry.

Here you can see the XBMC-Structure:
The nfo-file have all information inside about the movie. Here a example of the xml-stucture.

When you need a set of nfo-file for testing, please send me a PN.

Quote
Just give me a week or two as I am suffering of heavy overdose of business workload at the moment.
NOP. You need so long as you need.  ;D

Gruss
Alex