NFO files/TV episodes
|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.
<title>My TV Episode</title>
<plot>he best episode in the world</plot>
<studio>Production studio or channel</studio>
<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 -->
<streamdetails> <!-- 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.-->
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), Kodi 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!