XBMC v13.1 "Gotham" has been released! See Gotham FAQ for details.

NFO files/TV episodes

From XBMC
Jump to: navigation, search
Home icon grey.png   ▶ NFO files ▶ TV shows ▶ TV episodes

1 Video .nfo Files containing XML data

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


1.1 TV Episodes

The *.nfo must be named exactly as the episode filename (i.e. episodename.avi and episodename.nfo) and in the same folder, allowing multiple episode and *.nfo files within the same folder. Episode names must still follow the naming convention even though you are using a custom NFO file.

For multi-part episodes, simply add multiple <episodedetails> XML blocks in succession.

    <episodedetails>
        <title>My TV Episode</title>
        <rating>10.00</rating>
        <season>2</season>
        <episode>1</episode>
        <plot>he best episode in the world</plot>
        <thumb>http://thetvdb.com/banners/episodes/164981/2528821.jpg</thumb>
        <playcount>0</playcount>
        <lastplayed></lastplayed>
        <credits>Writer</credits>
        <director>Mr. Vision</director>
        <aired>2000-12-31</aired>
        <premiered>2010-09-24</premiered>
        <studio>Production studio or channel</studio>
        <mpaa>MPAA certification</mpaa>
        <epbookmark>200</epbookmark>  <!-- For media files containing multiple episodes,
                                       where value is the time where the next episode begins in seconds  -->
        <displayseason>3</displayseason>  <!-- For TV show specials, determines how the episode is sorted in the series  -->
        <displayepisode>4096</displayepisode>
        <actor>
          <name>Little Suzie</name>
          <role>Pole Jumper/Dancer</role>
        </actor>
        <fileinfo>
          <streamdetails>
            <audio>
              <channels>6</channels>
              <codec>ac3</codec>
            </audio>
            <video>
              <aspect>1.778</aspect>
              <codec>h264</codec>
              <durationinseconds>587</durationinseconds>
              <height>720</height>
              <language>eng</language>
              <longlanguage>English</longlanguage>
              <scantype>Progressive</scantype>
              <width>1280</width>
            </video>
          </streamdetails>
        </fileinfo>
    </episodedetails>

2 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!

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox