Question about nfo importing

Discussion in 'watch/edit Videos' started by megahorst, July 17, 2013.

  1. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hello,
    I'm trying to move from scraping my movies directly from imdb/tmdb to a desktop Mediadatabase with nfo export.
    I have suggested to use tinymediamanager.
    It works good and scraped all my movies and series without big problems.
    I hit some problems which I try to sort out with the tmm developer.

    One of the problems is the content of the mpaa rating field.
    tmm fills the field with this:
    <mpaa>DE:FSK 12 / DE:FSK12 / DE:12 / DE:ab 12</mpaa>
    The nfo importer is able to read this into the database but this does not bring a mpaa logo into the MePo GUI. (have tried Titan skin)



    Does anybody know, what is needed here to show the right logo in the skins?

    Just another question:
    Does the nfo importer have the capability to import more than one fanart per movie?
    If yes, how should the naming of the fanart.jpg be?
     
    Last edited: July 17, 2013
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I can answer one of the questions by myself right now.

    It depends on the skin. The content of the database field must be the same than the filename of the logo to show.
    For example:
    12 in database needs a 12.jpg certification logo in the skinfolder
     
  4. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,431
    Likes Received:
    2,506
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,170 / 13
    Home Country:
    France France
    Show System Specs
    hi megahorst
    sorry no read your thread ...

    MPAA support only one rating : <mpaa>U</mpaa>
    i do'nt know if @deda can add this <mpaa>DE:FSK 12 / DE:FSK12 / DE:12 / DE:ab 12 </mpaa>

    For scrapping you can also use XBNE, support of Discart and logo .... but don't select "Mediaportal" because read DB, but i think is based on MP1.2.
    movie folder.jpg

    if i remember good for multiple fanart : Legend of the gardian-fanart(1).jpg Legend of the gardian-fanart(2).jpg but not sure ... if is ( ) or { } .
     
  5. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hello @azzuro,

    Thx for your response.
    I have talked to the developers of "tiny media manager". A Media Library that is able to write nfo files. They have tweaked their nfo format to fit MediaPortals needs.
    MPAA works fine now for me.
    The only question that is left is the handling of more than one fanart. I don't know if it is possible to add more than one with an nfo.

    Now I have mentioned two problems within MePo when dealing with nfos:

    First:
    When I try to refresh a movie with new details only the "text based" details are written to the database. A new fanart or cover is not imported. The old one stays.

    Second:
    I have setup my database with movie groups. I have created rules that add new movies to the groups. If I use an online scraper these rules are applied automatically to the new inserted movies (a James Band is than automatically inserted into my James Bond group)
    If I add the movies with an nfo into the database this does not work. I have to start the grouping manually by triggering the rule.

    Do you have any suggestions?
     
  6. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,431
    Likes Received:
    2,506
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,170 / 13
    Home Country:
    France France
    Show System Specs
    hi megahorst, i'm happy to see, than i'm not alone to want use NFO inside MP ( for me, it's primordial ot use this method of backup ),
    as you know, MyVidéos and NFO support is very young, and we don't have search all error / improvement on NFO management.

    i think, i have talk Deda on this .... few times
    maybe add the name of poster / fanart files inside nfo files, i don't remember the exact node name for this :oops:
    but i think , MyVideo nfo, don't support the import of many local fanart files, but i'm not on Workstation for test this.

    you can look here https://forum.team-mediaportal.com/...or-nfo-support-in-myvidéos-maybe-xbmc.107160/
    what MP can support as node.
    i don't know if the node <sets> is supported by MP since 1.3
    Code (XML):
    1.     <sets>                                    <!-- Collection Movie  -->
    2.       <set>First Set Name</set>
    3.       <set order="?">Another Set With An Order</set>
    4.     </sets>
    i can propose you to test this files link
    what is the MPAA format, supported by tiny ?

    i hope than @Deda improve the Myvidéo plugin ( and my dream is to have MovPic / MyFilms / Myvidéos merged into only 1 plugins, but for this we need to to have windowplugins.dll splited for each plugins )
     
  7. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Sorry I don't have access to this link


    Code (Text):
    1. US_G  
    2. US_PG  
    3. US_PG13  
    4. US_R  
    5. US_NC17  
    6. US_TVY  
    7. US_TVY7  
    8. US_TVG  
    9. US_TVPG  
    10. US_TV14  
    11. US_TVMA  
    12. DE_FSK0  
    13. DE_FSK6    
    14. DE_FSK12  
    15. DE_FSK16
    16. DE_FSK18
    17. GB_UC  
    18. GB_U  
    19. GB_PG  
    20. GB_12A  
    21. GB_12  
    22. GB_15  
    23. GB_18  
    24. GB_R18  
    25. RU_Y  
    26. RU_6  
    27. RU_12  
    28. RU_14  
    29. RU_16  
    30. RU_18  
    31. NL_AL  
    32. NL_6  
    33. NL_9  
    34. NL_12  
    35. NL_16  
    36. JP_G  
    37. JP_PG12  
    38. JP_R15  
    39. JP_R18  
    40. IT_T  
    41. IT_VM14  
    42. IT_VM18  
    43. IN_U  
    44. IN_UA  
    45. IN_A  
    46. IN_S  
    47. GR_K  
    48. GR_K13  
    49. GR_K17  
    50. GR_E  
    51. FR_U  
    52. FR_10  
    53. FR_12  
    54. FR_16  
    55. FR_18  
    56. CA_G  
    57. CA_PG  
    58. CA_14A  
    59. CA_18A  
    60. CA_R  
    61. CA_A  
    62. AU_E  
    63. AU_G  
    64. AU_PG  
    65. AU_M  
    66. AU_MA15  
    67. AU_R18  
    68. AU_X18  
    69. AU_RC  
    70. CZ_U  
    71. CZ_PG  
    72. CZ_12  
    73. CZ_15  
    74. CZ_18  
    75. CZ_E  
    76. DK_A  
    77. DK_7  
    78. DK_11  
    79. DK_15  
    80. DK_F  
    81. EE_PERE  
    82. EE_L  
    83. EE_MS6  
    84. EE_MS12  
    85. EE_K12  
    86. EE_K14  
    87. EE_K16  
    88. FI_S  
    89. FI_K7  
    90. FI_K12  
    91. FI_K16  
    92. FI_K18  
    93. FI_KE  
    94. HU_KN  
    95. HU_6  
    96. HU_12  
    97. HU_16  
    98. HU_18  
    99. HU_X  
    100. IS_L  
    101. IS_7  
    102. IS_10  
    103. IS_12  
    104. IS_14  
    105. IS_16  
    106. IS_18  
    107. IE_G  
    108. IE_PG  
    109. IE_12A  
    110. IE_15A  
    111. IE_16  
    112. IE_18  
    113. NZ_G  
    114. NZ_PG  
    115. NZ_M  
    116. NZ_R13  
    117. NZ_R16  
    118. NZ_R18  
    119. NZ_R15  
    120. NZ_RP13  
    121. NZ_RP16  
    122. NZ_R  
    123. NO_A  
    124. NO_7  
    125. NO_11  
    126. NO_15  
    127. NO_18  
    128. PL_AL  
    129. PL_7  
    130. PL_12  
    131. PL_15  
    132. PL_AP  
    133. PL_21  
    134. RO_AP  
    135. RO_12  
    136. RO_15  
    137. RO_18  
    138. RO_18X  
    139. ES_APTA  
    140. ES_ER  
    141. ES_7  
    142. ES_12  
    143. ES_16  
    144. ES_18  
    145. ES_PX  
    146. SE_BTL  
    147. SE_7  
    148. SE_11  
    149. SE_15  
    150. CH_0  
    151. CH_7  
    152. CH_10  
    153. CH_12  
    154. CH_14  
    155. CH_16  
    156. CH_18  
    157. TH_P  
    158. TH_G  
    159. TH_13  
    160. TH_15  
    161. TH_18  
    162. TH_20  
    163. TH_Banned  
    164. NOT_RATED  
    165.  
    You have to renaim the certification logos within your skin to match these names. A france rating 18+ needs a cartification logo FR_18.jpg or FR_18 .png for example. I have tried this with Titan and it works fine.

    Regarding movie grouping:
    ther group is not read out of the nfo.
    In the MyVideo plugin you can define rules based on movie actors, title, stored folder, ...
    These rules are fired automatically when you insert a movie with an online scraper. When inserting the movies with a nfo the rules are not fired. You have to start them manually. From my point of view this is a bug.
     
  8. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    8,431
    Likes Received:
    2,506
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +4,170 / 13
    Home Country:
    France France
    Show System Specs
  9. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Yes!
    I have attached a tiny media manager created nfo (renamed to txt)

    While testing with different tiny media manager versions I don't have seen any filtering at the mpaa tag. The content of the tag goes to the database as it is.
     

    Attached Files:

    • Like Like x 1
  10. Deda
    • Team MediaPortal

    Deda Lead Dev MP1 Videos

    Joined:
    March 18, 2009
    Messages:
    2,423
    Likes Received:
    2,098
    Gender:
    Male
    Occupation:
    IT Consultant
    Location:
    Zagreb
    Ratings:
    +2,385 / 1
    Home Country:
    Croatia Croatia
    Show System Specs
    Sorry for late response, still on vacation till 23.9.

    Y, that is missing there because initially nfo import was created for backup/restore purpose, and after I just missed to implement that :). Will add this on MP v1.6

    About more fanart, y that is possible in nfo import but fanart definitions must be inside nfo file in tag <fanart> like this:

    Code (Text):
    1. <fanart>
    2.     <thumb>videofilename-fanart.jpg</thumb>
    3.     <thumb>videofilename-fanart1.jpg</thumb>
    4.     <thumb>videofilename-fanart2.jpg</thumb>
    5.     <thumb>videofilename-fanart3.jpg</thumb>
    6.     <thumb>videofilename-fanart4.jpg</thumb>
    7.   </fanart>
    ie if your videofilename is "Movie.mkv", related fanart files where nfo file is must exist as:
    Movie-fanart.jpg
    Movie-fanart1.jpg
    Movie-fanart2.jpg
    Movie-fanart3.jpg
    Movie-fanart4.jpg
     
    Last edited: September 15, 2013
    • Like Like x 2
  11. megahorst
    • Super User

    megahorst Super User

    Joined:
    July 8, 2006
    Messages:
    879
    Likes Received:
    173
    Ratings:
    +272 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Thx @Deda for clarifying this. I will bring this info to the tiny media manager developer. I hope he is willing to implement this.
    Do you have an idea about poster and fanart refresh too?
    When I'm refreshing a movie in the database with a new nfo and enhanced information into it only the information is uploaded into the database. Posters and fanart are not refreshed with the new ones.

    Thx
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!