[Videos] Common structure for NFO support in MyVidéos (Maybe XBMC) (2 Viewers)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    Started on: 2012-04-07
    last update: 2012-04-09

    Summary:

    Nfo is actually not supported by MP itself, With the work of Deda, her make a big evolution of Myvidéo ... and i try to help for add more feature and suggestion ....

    Area:
    it's spécific for My Vidéos Rework" made by Deda on AERA-51
    but all plugins should be adapted to a universal support!

    Link To Forum XBMC to talk NFO Support

    Description:
    • This topic is created for not overcharge the Topic "My Vidéos Rework" made by Deda on AERA-51
    • The goal of topic is to validate a common structure for the future support of nfo in MePo and for plugins or standalone software and Mediacenter as XBMC ...
    Source :

    XBMC Import/Export Link
    YAMJ Link
    My Vidéos Rework" made by Deda on AERA-51
    XBNE Link

    SubCatégories : <info></info>
    XML:
        <title></title>                            <!-- Title used in country  -->
        <originaltitle></originaltitle>        <!-- Real title -->
        <sorttitle></sorttitle>
        <sets>                                    <!-- Collection Movie  -->
          <set>First Set Name</set>
          <set order="?">Another Set With An Order</set>
        </sets>
    <usergroups>                                <!-- user Group created for MePo  -->
        <userg></userg>
    </usergroups>
        <rating></rating>                          <!-- 0 - 10 rating, can be decimal -->
        <ratings>                                <!-- 0 - 10 rating, can be decimal on other scrape -->
            <rating moviedb="imdb"></rating>
            <rating moviedb="allocine"></rating>
        </ratings>
        <language></language>                    <!-- The language of movie -->
        <country></country>
        <company></company>                      <!-- The studio company that produced the movie -->
        <studio></studio>                          <!-- Synonym for company tag -->
        <country></country>                        <!-- Country the video was produced in -->
        <year></year>                            <!-- Release date -->
        <top250></top250>                          <!-- the IMDB top 250 ranking, integer 1 - 250 or empty -->
        <votes></votes>                            <!-- currently unused in YAMJ -->
        <outline></outline>                        <!-- a short plot description -->
        <plot></plot>                              <!-- a longer plot description -->
        <review></review>
        <tagline></tagline>                        <!-- The tagline for the movie -->
        <runtime></runtime>                        <!-- Time of movie in "Xh XXmn" -->
        <mpaa></mpaa>                            <!-- Motion Picture Association of America -->
        <ccoc></ccoc>                            <!-- Commission de classification des oeuvres cinematographiques = French MPAA -->
        <certification></certification>        <!-- Used for all certification that isn't MPAA and only used if imdb.getCertificationFromMPAA=false -->
        <genres>                                <!-- multiple genre records may exist, including any custom ones -->
            <genre></genre>
            <genre></genre>
        </genres> 
        <trailer></trailer>                        <!-- multiple trailer records may exist -->

    Subcatégories : <Scrape></scrape>
    XML:
        <id></id>                              <!-- the IMDB id of the movie. includes the leading "tt". Use an id of 0 or -1 to disable further internet plugin scraping. -->
        <imdb>ttXXXXXXX</imdb>
        <tmdb></tmdb>
        <allocine></allocine>                    <!-- the allocine id of the movie. This should work for other plugins-->
        <cinepassion></cinepassion>                <!-- the cinepassion id of the movie. This should work for other plugins -->

    Choice : <id moviedb="tmdb">11856</id> OR <tmdb></tmdb>

    Subcatégories : <staff></staff>
    XML:
        <credits></credits>                        <!-- Writer name, one per entry -->
        <director></director>
        <directorimdb>nmXXXXXXX</directorimdb>
        <actor>                                    <!-- Multiple actor records may exist -->
            <name></name>
            <role></role> 
            <thumb></thumb>
            <imdb>nmXXXXXXX</imdb>
            <birthdate></birthdate>                <!-- Format DATE dd-mm-yyyy -->
            <birthplace></birthplace>
            <deathdate></deathdate>                <!-- Format DATE dd-mm-yyyy -->
            <deathplace></deathplace>
            <minibiography></minibiography>
            <biography></biography>
        </actor>

    Subcatégorie : <picture></picture>
    XML:
        <thumb></thumb>                          <!-- url of poster image. use URL formatting, such as http:// for internet resources or (movie.tbn or movie.jpg)? for local resources -->
    <fanart>
            <thumb></thumb>                    <!-- url of fanart image. use URL formatting, such as http:// for internet resources or (movie-fanart.jpg) for local resources -->
    </fanart>

    Root : <movie></movie>
    XML:
        <playcount></playcount>                    <!-- COunt of played movie (1) -->
        <watched></watched>                        <!-- This will mark the movie watched or unwatched (false / true) -->
        <lastplayed></lastplayed>                <!-- date format dd-mm-yyyy(hh-mm) -->

    Subcatégories ; <fileinfo></fileinfo>
    XML:
            <streamdetails>
                <videosource></videosource>                <!-- The video source of the file SCRENNERS / DVD / DVDRIP ... -->
                <videooutput></videooutput>                <!-- The video output of the file -->
                <fps></fps>                                <!-- The Frames Per Second value for the movie. NOTE: This should be a valid float value (with a ".") -->
    
                <video>
                    <codec></codec>
                    <aspect></aspect>
                    <width></width>                <!-- Width of the video file -->
                    <height></height>              <!-- Height of the video file -->
                </video>
                <audio>                            <!-- multiple audio stream may exist -->
                    <codec></codec>
                    <language></language>
                    <channels></channels>
                </audio>
                <subtitle>
                    <language></language>        <!-- in MKV or external subtitle (movie.en.srt if exist)  -->
                </subtitle>
            </streamdetails>
     

    Attachments

    • NFO 2012-04-07 v2.xml
      4.8 KB
    • NFO 2012-04-09.xml
      4.8 KB
    Last edited:

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,366
    10,404
    Königstein (Taunus)
    Home Country
    Germany Germany
    Is there a need for NFO files when the new grabbers delivered with MP 1.3.0 pull all the above mentioned data from IMDb?
    Or is it thought for transporting movie data from one mediacenter software to another?
    In this case the reworked MyVideo should also have the option to export the data from the MP video database to the respective NFO files.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    hi Catavolt
    Is there a need for NFO files when the new grabbers delivered with MP 1.3.0 pull all the above mentioned data from IMDb?
    Or is it thought for transporting movie data from one mediacenter software to another?

    i think is better to grabbing all information. for the evolution of Skin or the database,
    and it's really thinked for sharing, on all software between friends or in home, after all software can use or not, information available in NFO,

    if NFO is not complete , the software can search on scrapers , and update the NFO.

    But the Software must not rewrite the files, only must be added the missing informations without rewrite the file !!!!

    In this case the reworked MyVideo should also have the option to export the data from the MP video database to the respective NFO files.

    this feature, is now présent, just one probléme : the NFO file is rewritted and you lose all information than MEPO does not need
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #6
    I Paranoid, the goal is to use any nfo, if you want create nfo yourself, no problem, personally i use XBNE. but for actors, XBNE don't save in NFO. only MePo can make it
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Well I use Media Center Master for producing nfo, here's a typical example for both film and tv, how does that compare with xbne.



    <?xml version="1.0" encoding="utf-8"?> <movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <title>Air America</title> <originaltitle>Air America - Loucos Pelo Perigo</originaltitle> <sorttitle>Air America</sorttitle> <set></set> <rating>5.4</rating> <year>1990</year> <top250></top250> <votes>12813</votes> <outline>A young pilot finds himself recruited into a covert and corrupt CIA airlift organization operating in Vietnam War Era Laos.</outline> <plot>Air America was the CIA's private airline operating in Laos during the Vietnam War, running anything and everything from soldiers to foodstuffs for local villagers. After losing his pilot's license, Billy Covington is recruited into it, and ends up in the middle of a bunch of lunatic pilots, gun-running by his friend Gene Ryack, and opium smuggling by his own superiors.</plot> <tagline>The few. The proud. The totally insane.</tagline> <certification>Norway:10 / Finland:K-11 (re-rating) / Portugal:M/12 / USA:R (Certificate #30290) / New Zealand:pG / France:U / Argentina:13 / Australia:M / Finland:K-10 / Germany:12 / Iceland:L / Netherlands:AL / Norway:11 / Singapore:pG / Sweden:11 / UK:15</certification> <runtime>113</runtime> <thumb>http://cf2.imgobject.com/t/p/original/e5RvMpanWgCm3RrQQQNxKW8NAw2.jpg</thumb> <mpaa>Rated NR</mpaa> <playcount></playcount> <watched></watched> <id>tt0099005</id> <id moviedb="imdb">tt0099005</id> <id moviedb="tmdb">11856</id> <id moviedb="themoviedb">11856</id> <filenameandpath></filenameandpath> <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=Goj3RGld4mI</trailer> <genre>Action</genre> <genre>Comedy</genre> <credits>Richard Rush</credits> <fileinfo></fileinfo> <director>Roger Spottiswoode</director> <actor> <name>Mel Gibson</name> <role>Gene Ryack</role> <thumb>C:\ProgramData\MediaBrowser\ImagesByName\People\Mel Gibson\folder.jpg</thumb> </actor> <actor> <name>Robert Downey Jr.</name> <role>Billy Covington</role> <thumb>C:\ProgramData\MediaBrowser\ImagesByName\People\Robert Downey Jr.\folder.jpg</thumb> </actor> <actor> <name>Nancy Travis</name> <role>Corinne Landreaux</role> <thumb>C:\ProgramData\MediaBrowser\ImagesByName\People\Nancy Travis\folder.jpg</thumb> </actor> <actor> <name>Ken Jenkins</name> <role>Major Donald Lemond</role> <thumb>C:\ProgramData\MediaBrowser\ImagesByName\People\Ken Jenkins\folder.jpg</thumb> </actor> <actor> <name>David Marshall Grant</name> <role>Rob Diehl</role> </actor> <actor> <name>Lane Smith</name> <role>Senator Davenport</role> </actor> <actor> <name>Art LaFleur</name> <role>Jack Neely</role> </actor> <actor> <name>Ned Eisenberg</name> <role>Nick Pirelli</role> </actor> <actor> <name>Marshall Bell</name> <role>Q.V.</role> </actor> <actor> <name>David Bowe</name> <role>Saunders</role> </actor> <actor> <name>Burt Kwouk</name> <role>General Lu Soong</role> <thumb>C:\ProgramData\MediaBrowser\ImagesByName\People\Burt Kwouk\folder.jpg</thumb> </actor> <actor> <name>Tim Thomerson</name> <role>Babo</role> </actor> <actor> <name>Harvey Jason</name> <role>Nino</role> </actor> <actor> <name>Sinjai Plengpanit</name> <role>May Ling (as Sinjai Hongthai)</role> </actor> <actor> <name>Natta Nantatanti</name> <role>Gene's Daughter</role> </actor> <actor> <name>Purin Panichpan</name> <role>Gene's Son</role> </actor> <actor> <name>Yani Tramod</name> <role>Gene's Brother-in-Law</role> </actor> <actor> <name>Chanarona Suwanpa</name> <role>Kwaka</role> </actor> <actor> <name>Chet Vimol</name> <role>Tribal Warrior</role> </actor> <actor> <name>Wasun Uttamayodhin</name> <role>Nightclub Singer</role> </actor> <actor> <name>Meeson Macakharat</name> <role>Nightclub Singer</role> </actor> <actor> <name>Ernie Lively</name> <role>Truck Driver, Rubio Moving &amp; Hauling</role> </actor> <actor> <name>Burke Byrnes</name> <role>Recruiter</role> </actor> <actor> <name>Greg Kean</name> <role>Steve, DeeJay For KLCA 1080 AM</role> </actor> <actor> <name>Roger Welty</name> <role>Ambassador Barlow</role> </actor> <actor> <name>Michael Dudikoff</name> <role>General Lee (uncredited)</role> </actor> <actor> <name>John Ladalski</name> <role>Air America Pilot (uncredited)</role> </actor> <fileinfo> <streamdetails> <audio> <channels></channels> <codec></codec> </audio> <video> <aspect></aspect> <codec></codec> <durationinseconds>0</durationinseconds> <height></height> <language></language> <scantype></scantype> <width></width> </video> </streamdetails> </fileinfo> </movie>
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #9
    Paranoid, can you post your nfo in "code" not "Text" thx
     

    Users who are viewing this thread

    Top Bottom