NFO files/TV shows

From Official Kodi Wiki
< NFO files
Revision as of 06:09, 12 June 2013 by >NedBot (Bot: Automated text replacement (-{{mininav +{{mininav|General topics))
Jump to navigation Jump to search
Home icon grey.png   ▶ General topics ▶ Videos ▶ Management ▶ NFO files ▶ TV shows

Video .nfo Files containing XML data

1. The *.nfo file is an XML file containing the data for inclusion in the library.

The filename of the NFO should be tvshow.nfo (Exact, NOT the name of the actual TV show) and it should be in the root folder of the TV show.
The .nfo .xml file may contain a valid <episodeguideurl> to allow online updates. If not, only episodes with .nfo files will be added.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<tvshow>
    <title>MythBusters</title>
    <rating>9.300001</rating>
    <year>0</year>
    <top250>0</top250>
    <season>-1</season>
    <episode>143</episode>
    <displayseason>-1</displayseason>
    <displayepisode>-1</displayepisode>
    <votes></votes>
    <outline></outline>
    <plot>So exactly how hard is it to find a needle in a haystack, anyway? And can water dripping on your forehead really drive you nuts? Those are the kinds of questions, myths and urban legends that are put to the test in this humorous series to find out which ones hold water (and keep it from dripping on your forehead and driving you insane).</plot>
    <tagline></tagline>
    <runtime></runtime>
    <thumb>http://thetvdb.com/banners/graphical/73388-g3.jpg</thumb>
    <thumb>http://thetvdb.com/banners/graphical/73388-g2.jpg</thumb>
    <thumb type="season" season="1">http://thetvdb.com/banners/seasons/73388-1.jpg</thumb>
    <thumb type="season" season="0">http://thetvdb.com/banners/seasons/73388-0.jpg</thumb>
    <thumb type="season" season="2">http://thetvdb.com/banners/seasons/73388-2.jpg</thumb>
    <thumb type="season" season="-1">http://thetvdb.com/banners/posters/73388-1.jpg</thumb>
    <fanart url="http://thetvdb.com/banners/">
        <thumb dim="1920x1080" colors="|183,185,161|51,51,51|206,205,185|" preview="_cache/fanart/original/73388-6.jpg">fanart/original/73388-6.jpg</thumb>
        <thumb dim="1280x720" colors="|255,255,240|101,141,117|129,132,123|" preview="_cache/fanart/original/73388-1.jpg">fanart/original/73388-1.jpg</thumb>
    </fanart>
    <mpaa>TV-PG</mpaa>
    <playcount>0</playcount><!-- setting this to > 0 will mark the movie as watched if the "importwatchedstate" flag is set in advancedsettings.xml -->
    <lastplayed></lastplayed>
    <episodeguide>
        <url cache="73388.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/73388/all/en.zip</url>
    </episodeguide>
    <id>73388</id>
    <genre>Reality</genre>
    <set></set>
    <credits></credits>
    <director></director>
    <premiered>2003-01-23</premiered>
    <status></status>
    <code></code>
    <aired></aired>
    <studio>Discovery</studio>
    <trailer></trailer>
    <actor>
        <name>Robert Lee</name>
        <role>USA Narrator</role>
        <thumb></thumb>
    </actor>
    <actor>
        <name>Adam Savage</name>
        <role></role>
        <thumb></thumb>
    </actor>
    <artist></artist>
</tvshow>

Video .nfo files containing a URL

2. The *.nfo file contains a URL of the information page to scrape. The file can include other information (i.e. scene info), XBMC will scan through it and use a relevant URL if a match is found.

The scraper tries to match URL's to all scrapers of the content type a directory is set to. e.g. if you set the content type to movies, all movie scrapers check .nfo files for a matching URL. This means that .nfo files override the scraper setting. I.e. a directory is set to use the IMDB scraper but you have a German movie in it. Simply create an .nfo for that movie with the OFDB link in it and you are sorted!


Filename should be tvshow.nfo (Exact, NOT the name of the TV show) in the root folder of the TV Show that points to a show on TheTVDB.com.

http://thetvdb.com/index.php?tab=series&id=73545