User:Karellen/scratchpad: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(Blanked the page)
(69 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|class="infobox" style="width:200px"
! NFO Contents
|-
|
* '''[[NFO_files|NFO Files]]'''
** '''[[NFO_files/movies|Movies]]'''
** '''[[NFO_files/tvshows|TV Shows]]'''
** '''[[NFO_files/music|Music]]'''
** '''[[NFO_files/musicvideos|Music Videos]]'''


<small>Report NFO corrections:<br />
[https:// here in the forum]</small>
|}
{{mininav|[[NFO_files]]}}
= Requirements =
{|class="prettytable"
! XML Tag || Note
|-
|<credits> || Library export uses this field for writers. Multiple entries allowed
|-
|<outline> || Should be short, will be displayed on a single line
|-
|<playcount> || setting this to 1, or greater, will mark the movie as watched if the ''importwatchedstate'' flag is set in advancedsettings.xml
|-
|<plot> || Can contain more information on multiple lines, will be wrapped
|-
|<runtime> || Minutes only
|-
|<streamdetails> || Is a parent tag. While it is possible to manually set the information contained within the "streamdetails" tag,there is little point in doing so, as the software will always overwrite this data when it plays back the video file. In other words, no matter how many times you try to manually set it, it will be undone the moment the video is played
|}
= nfo Placement =
Correct placement of the nfo file is essential. '''Regardless of what settings you have set for the source and scraper, Kodi will always search for and scrape a nfo file if it is available.''' Failing to save the file in the correct location, as detailed below, will force Kodi to either:
#Scrape the metadata from the online source set in your scraper or,
#If you have ''Local Info Only'' set as your scraper, then no entry will be made into the library.
The order of importing metadata is as follows:
#nfo file. If no nfo file exists then
#Online scraper sites (if a scraper is set in your source settings)
#Nothing (if Local Info Only) is set
When Kodi locates the nfo file it will load the *.nfo file and attempt to:
#If the nfo file contains XML data (tags), Kodi will import the meta-data directly into the library from the .nfo file or
#Will parse the nfo file for a direct URL to the scraper info page.
<br />
Movies require one nfo file saved as follows:
<div style="{{linear-gradient|left|#ffdddd, #ddffdd 50%, #ddddff}}">
'''''Naming & Saving conventions for your Movie *.nfo files:'''''
{|
|- valign="top"
| width=200px |'''''Saved movies as'''''
| width=300px |'''''File Name'''''
| width=600px |'''''Save Location'''''
|- valign="top"
| width=200px |BluRay Structure:
----
| width=300px |index.nfo
----
| width=600px |f:\MyMovies\Big Buck Bunny (2008)\BDMV\index.nfo
----
|- valign="top"
| width=200px |DVD Structure:
----
| width=300px |VIDEO_TS.nfo
----
| width=600px |f:\MyMovies\Big Buck Bunny (2008)\VIDEO_TS\VIDEO_TS.nfo
----
|- valign="top"
| width=200px |Single movie in directory:
| width=300px |<MovieFileName>.nfo
| width=600px |f:\MyMovies\Big Buck Bunny (2008)\Big Buck Bunny (2008).nfo
|- valign="top"
| width=200px |or:
----
| width=300px |movie.nfo
----
| width=600px |f:\MyMovies\Big Buck Bunny (2008)\movie.nfo
----
|- valign="top"
| width=200px |All movies in single directory:
----
| width=300px |<MovieFileName>.nfo
----
| width=600px |f:\MyMovies\Big Buck Bunny (2008)\Big Buck Bunny (2008).nfo
----
|- valign="top"
| width=200px |Multi-part / file stacking:
| width=300px |<MovieFileName>.nfo
| width=600px |f:\MyMovies\Avatar (2009)\Avatar (2009).nfo
|- valign="top"
| width=200px |or:
----
| width=300px |<MovieFileName> <StackExt>.nfo
----
| width=600px |f:\MyMovies\Avatar (2009)\Avatar (2009) cd1.nfo
----
|}
</div>
= Movie nfo Tags =
= Sample Movie nfo File =
Provided below is a sample nfo file to assist with the manual creation process. It includes MovieSet XML tags
Sample Movie nfo file
{{collapse top| Movie nfo file  (click 'expand' to view)}}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2017-08-10 15:09:33 - tinyMediaManager 2.9.3.1 -->
<movie>
    <title>Ghost in the Shell</title>
    <originaltitle>Ghost in the Shell</originaltitle>
    <sorttitle></sorttitle>
    <rating>5.9</rating>
    <year>2017</year>
    <top250></top250>
    <votes>1936</votes>
    <outline>In the near future, Major is the first of her kind: a human saved from a terrible crash, then cyber-enhanced to be a perfect soldier devoted to stopping the world's most dangerous criminals.</outline>
    <plot>In the near future, Major is the first of her kind: a human saved from a terrible crash, then cyber-enhanced to be a perfect soldier devoted to stopping the world's most dangerous criminals.</plot>
    <tagline>There's nothing sadder than a puppet without a ghost.</tagline>
    <runtime>107</runtime>
    <thumb>https://assets.fanart.tv/fanart/movies/315837/movieposter/ghost-in-the-shell-5951b7c0843b0.jpg</thumb>
    <fanart>http://image.tmdb.org/t/p/original/dXJh6bXF3WI1gpNuM3tNbnIiW2z.jpg</fanart>
    <mpaa>AU:M</mpaa>
    <certification>AU:M</certification>
    <id>tt1219827</id>
    <ids>
        <entry>
            <key>tmdb</key>
            <value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">315837</value>
        </entry>
        <entry>
            <key>imdb</key>
            <value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">tt1219827</value>
        </entry>
    </ids>
    <tmdbId>315837</tmdbId>
    <country>Australia, New Zealand, United States, United Kingdom, India, China, Canada, Japan, Hong Kong</country>
    <premiered>2017-03-29</premiered>
    <fileinfo>
        <streamdetails>
            <video>
                <codec>h264</codec>
                <aspect>1.78</aspect>
                <width>1920</width>
                <height>1080</height>
                <durationinseconds>6417</durationinseconds>
            </video>
            <audio>
                <codec>TrueHD  AC3</codec>
                <language>eng</language>
                <channels>8</channels>
            </audio>
            <subtitle>
                <language>eng</language>
            </subtitle>
            <subtitle>
                <language>eng</language>
            </subtitle>
        </streamdetails>
    </fileinfo>
    <watched>false</watched>
    <playcount>0</playcount>
    <genre>Action</genre>
    <genre>Crime</genre>
    <genre>Drama</genre>
    <genre>Mystery</genre>
    <genre>Science Fiction</genre>
    <genre>Thriller</genre>
    <studio>Paramount Pictures</studio>
    <studio>DreamWorks SKG</studio>
    <studio>Shanghai Film Group</studio>
    <studio>Reliance Entertainment</studio>
    <studio>Arad Productions</studio>
    <studio>Grosvenor Park Productions</studio>
    <studio>Steven Paul Production</studio>
    <studio>Huahua Media</studio>
    <studio>Seaside Entertainment</studio>
    <studio>Amblin Partners</studio>
    <studio>Weying Galaxy Entertainment</studio>
    <credits>Ehren Kruger</credits>
    <credits>Jamie Moss</credits>
    <credits>Masamune Shirow</credits>
    <credits>William Wheeler</credits>
    <director>Rupert Sanders</director>
    <tag>BluRay</tag>
    <actor>
        <name>Scarlett Johansson</name>
        <role>Major Motoko Kusanagi</role>
        <thumb>http://image.tmdb.org/t/p/w185/8EueDe6rPF0jQU4LSpsH2Rmrqac.jpg</thumb>
    </actor>
    <actor>
        <name>Pilou Asb├ªk</name>
        <role>Batou</role>
        <thumb>http://image.tmdb.org/t/p/w185/wcQRF5ZOBY8NX7xrjXE2pOBmwyZ.jpg</thumb>
    </actor>
    <actor>
        <name>Takeshi Kitano</name>
        <role>Daisuke Aramaki</role>
        <thumb>http://image.tmdb.org/t/p/w185/xkXZ7HC8uyhu5MtNnbdP8mhdiFN.jpg</thumb>
    </actor>
    <actor>
        <name>Juliette Binoche</name>
        <role>Dr. Ou├⌐let</role>
        <thumb>http://image.tmdb.org/t/p/w185/rkW6eE75Tt1i3J1s2fsIDZBW0kd.jpg</thumb>
    </actor>
    <actor>
        <name>Michael Pitt</name>
        <role>Hideo Kuze</role>
        <thumb>http://image.tmdb.org/t/p/w185/fWR4Z1xk1ZMUMMnMeRADVh1s3DW.jpg</thumb>
    </actor>
    <actor>
        <name>Chin Han</name>
        <role>Togusa</role>
        <thumb>http://image.tmdb.org/t/p/w185/xvMCVDvrQ2WlAB2LmkG6HAzlYag.jpg</thumb>
    </actor>
    <actor>
        <name>Lasarus Ratuere</name>
        <role>Ishikawa</role>
        <thumb>http://image.tmdb.org/t/p/w185/tATw6bSySFmqunfBXmyy0ppbsXi.jpg</thumb>
    </actor>
    <actor>
        <name>Yutaka Izumihara</name>
        <role>Saito</role>
        <thumb>http://image.tmdb.org/t/p/w185/rGPYp0jWNplBEv1vWDbmpysaGte.jpg</thumb>
    </actor>
    <actor>
        <name>Tawanda Manyimo</name>
        <role>Borma</role>
        <thumb>http://image.tmdb.org/t/p/w185/vUpTeHW9Yokx2R2sipMZdiTfiIk.jpg</thumb>
    </actor>
    <actor>
        <name>Rila Fukushima</name>
        <role>Red Robed Geisha</role>
        <thumb>http://image.tmdb.org/t/p/w185/AsxUTMScQetJ1Iommki98w3rHPH.jpg</thumb>
    </actor>
    <actor>
        <name>Michael Wincott</name>
        <role>Dr. Osmund</role>
        <thumb>http://image.tmdb.org/t/p/w185/pvKUzexxZT4sRTT1BczzrwX8ghz.jpg</thumb>
    </actor>
    <actor>
        <name>Anamaria Marinca</name>
        <role>Dr. Dahlin</role>
        <thumb>http://image.tmdb.org/t/p/w185/ajLN2RMuYHgTEFAzs8x8vZH0Rlu.jpg</thumb>
    </actor>
    <actor>
        <name>Daniel Henshall</name>
        <role>Skinny Man</role>
        <thumb>http://image.tmdb.org/t/p/w185/4LYeThK5O9EUy1OllvdsD5bTRbb.jpg</thumb>
    </actor>
    <actor>
        <name>Kaori Momoi</name>
        <role>Hairi</role>
        <thumb>http://image.tmdb.org/t/p/w185/aHPQaKWk1foxvieDZubUJE8olaO.jpg</thumb>
    </actor>
    <actor>
        <name>Peter Ferdinando</name>
        <role>Cutter</role>
        <thumb>http://image.tmdb.org/t/p/w185/eSxMkW04VuOkQqxG2HIPw0FMJKe.jpg</thumb>
    </actor>
    <actor>
        <name>Christopher Obi</name>
        <role>Ambassador Kiyoshi</role>
        <thumb>http://image.tmdb.org/t/p/w185/9mkVa3qKba8S7UcyzUYZPkeRG37.jpg</thumb>
    </actor>
    <actor>
        <name>Danusia Samal</name>
        <role>Ladriya</role>
        <thumb>http://image.tmdb.org/t/p/w185/8FqUG5hRe9MskGzXzx8ktS7b20y.jpg</thumb>
    </actor>
    <actor>
        <name>Mana Hira Davis</name>
        <role>Bearded Man</role>
        <thumb>http://image.tmdb.org/t/p/w185/fBDzK8Vd7XBx97nsH9sXXGf4nMD.jpg</thumb>
    </actor>
    <actor>
        <name>Adwoa Aboah</name>
        <role>Lia</role>
        <thumb>http://image.tmdb.org/t/p/w185/jD8FV3TcLNJe64udKygGLnHkP6K.jpg</thumb>
    </actor>
    <actor>
        <name>Kai Fung Rieck</name>
        <role>Diamond Face</role>
        <thumb>http://image.tmdb.org/t/p/w185/mqS7nagL7Dp1QK1152eyfT1RjOI.jpg</thumb>
    </actor>
    <actor>
        <name>Andrew Stehlin</name>
        <role>No Pupils</role>
        <thumb>http://image.tmdb.org/t/p/w185/kcDr96zRyuM3IiR5RWPV14D5dMK.jpg</thumb>
    </actor>
    <actor>
        <name>Matthias Luafutu</name>
        <role>Thick Built Yakuza</role>
        <thumb>http://image.tmdb.org/t/p/w185/65KBlRWu561lTVPHlhgHskprLOh.jpg</thumb>
    </actor>
    <actor>
        <name>John Luafutu</name>
        <role>Barkeep</role>
        <thumb>http://image.tmdb.org/t/p/w185/ryhkaAVyAxAfCUj6P12EkYO8Rk4.jpg</thumb>
    </actor>
    <actor>
        <name>Kaori Yamamoto</name>
        <role>Motoko</role>
        <thumb>http://image.tmdb.org/t/p/w185/iJFsfqfmUy14kU2VNrxE3JGVBAY.jpg</thumb>
    </actor>
    <actor>
        <name>Pete Teo</name>
        <role>Tony</role>
        <thumb>http://image.tmdb.org/t/p/w185/7bJutZz5qd2rYBHHC2gyMQWNQbu.jpg</thumb>
    </actor>
    <actor>
        <name>Tanya Drewery</name>
        <role>Geisha</role>
        <thumb>http://image.tmdb.org/t/p/w185/7Q4eMvFKcmYSUfLSlNMHtlSkoKh.jpg</thumb>
    </actor>
    <actor>
        <name>Jacqueline Lee Geurts</name>
        <role>Geisha</role>
        <thumb>http://image.tmdb.org/t/p/w185/9YcJF1avZliG3Mu01mUQxuiUuu4.jpg</thumb>
    </actor>
    <actor>
        <name>Hannah Tasker-Poland</name>
        <role>Geisha</role>
        <thumb>http://image.tmdb.org/t/p/w185/fpXCLG1HbNlPl6nEDnqQTvohMEm.jpg</thumb>
    </actor>
    <actor>
        <name>Emma Coppersmith</name>
        <role>Geisha</role>
        <thumb>http://image.tmdb.org/t/p/w185/aAHgg8eO7kaHw0Mmn1jatBxmRYv.jpg</thumb>
    </actor>
    <actor>
        <name>Shinji Ikefuji</name>
        <role>Kinsana</role>
        <thumb>http://image.tmdb.org/t/p/w185/6m1scLGa91uDDYBftdEcEOuXrAm.jpg</thumb>
    </actor>
    <actor>
        <name>Xavier Horan</name>
        <role>Section Six Soldier</role>
        <thumb>http://image.tmdb.org/t/p/w185/yNdHNB90SXulSRLqbYeZ5JXppqO.jpg</thumb>
    </actor>
    <actor>
        <name>Allan Henry</name>
        <role>Section Six Soldier</role>
        <thumb>http://image.tmdb.org/t/p/w185/ma3ZFzGiF4ANlEym3ACFOG0n7qV.jpg</thumb>
    </actor>
    <actor>
        <name>Joseph Naufahu</name>
        <role>Police Commander Johns</role>
        <thumb>http://image.tmdb.org/t/p/w185/9N4UmM1runLmdhzIhZ5Xfk4Qo21.jpg</thumb>
    </actor>
    <actor>
        <name>Makoto Murata</name>
        <role>Yakuza Gunman</role>
        <thumb>http://image.tmdb.org/t/p/w185/f32b7dh8dg5s5LWXyiSYZacDQAG.jpg</thumb>
    </actor>
    <producer>
        <name>Avi Arad</name>
        <role>Producer</role>
        <thumb>http://image.tmdb.org/t/p/w185/kIG4HF5LSywU0ZdDheDaEsxxohu.jpg</thumb>
    </producer>
    <producer>
        <name>Leslee Feldman</name>
        <role>Casting</role>
    </producer>
    <producer>
        <name>Mitsuhisa Ishikawa</name>
        <role>Executive Producer</role>
    </producer>
    <producer>
        <name>Steven Paul</name>
        <role>Producer</role>
    </producer>
    <producer>
        <name>Jeffrey Silver</name>
        <role>Executive Producer</role>
    </producer>
    <producer>
        <name>Lucy Bevan</name>
        <role>Casting</role>
    </producer>
    <producer>
        <name>Mark Sourian</name>
        <role>Executive Producer</role>
    </producer>
    <producer>
        <name>Michael Costigan</name>
        <role>Executive Producer</role>
    </producer>
    <producer>
        <name>Mark Sussman</name>
        <role>ADR Voice Casting</role>
    </producer>
    <producer>
        <name>Ari Arad</name>
        <role>Producer</role>
    </producer>
    <producer>
        <name>Miranda Rivers</name>
        <role>Casting</role>
    </producer>
    <producer>
        <name>Maguy R. Cohen</name>
        <role>Producer</role>
    </producer>
    <producer>
        <name>Patty Majorczak-Connolly</name>
        <role>ADR Voice Casting</role>
    </producer>
    <producer>
        <name>C├⌐cile Bouquet</name>
        <role>Researcher</role>
    </producer>
    <producer>
        <name>Tetsuya Fujimura</name>
        <role>Executive Producer</role>
    </producer>
    <producer>
        <name>Nanw Rowlands</name>
        <role>Casting Associate</role>
    </producer>
    <languages>Japanese, English</languages>
</movie>
{{collapse bottom}}

Revision as of 02:06, 27 February 2018