NFO files: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
({{kodi}} where needed)
No edit summary
Line 1: Line 1:
{{mininav|[[Video library]] {{l2|[[Music library]]}}|[[Video management|Management]] <br />&nbsp; }}
{{mininav|[[Video library]] {{l2|[[Music library]]}}|[[Video management|Management]] <br />&nbsp; }}
{{see also|Set content and scan}}
{{see also|Set content and scan}}
<section begin="intro" />NFO files can be used to provide data for a video file in {{kodi}} or influence the search behaviour of scrapers. In particular they are helpful if the information fetched from a web site does not match the video file, or data for that particular file does not exist.<section end="intro" />
<section begin="intro" />NFO files can be used to provide data for a video file in Kodi or influence the search behaviour of scrapers. In particular they are helpful if the information fetched from a web site does not match the video file, or data for that particular file does not exist.<section end="intro" />


By default at the time of scanning, if the media folder contains a correctly named *.nfo file, then {{kodi}} will load the *.nfo file and attempt to either, in the case of it containing XML data get the meta-data directly from the .nfo file or will parse it for a direct URL to the scraper info page. This allows {{kodi}} to skip its normal lookup and/or search procedures; this is useful if a file's information is not available on any of the scraper sites or if the file-matching criteria fail for the particular file.
By default at the time of scanning, if the media folder contains a correctly named *.nfo file, then Kodi will load the *.nfo file and attempt to either, in the case of it containing XML data get the meta-data directly from the .nfo file or will parse it for a direct URL to the scraper info page. This allows Kodi to skip its normal lookup and/or search procedures; this is useful if a file's information is not available on any of the scraper sites or if the file-matching criteria fail for the particular file.




Line 9: Line 9:




{{kodi}} also contains a Local-NFO-only mode for when you add videos to the library, but this mode is only required if you want to prevent online-lookups for videos that lack NFO files. See '''[[Set content and scan#Local NFO only options]]''' for more information on this Local-NFO-only mode.
Kodi also contains a Local-NFO-only mode for when you add videos to the library, but this mode is only required if you want to prevent online-lookups for videos that lack NFO files. See '''[[Set content and scan#Local NFO only options]]''' for more information on this Local-NFO-only mode.


== Getting an .NFO file ==
== Getting an .NFO file ==
Line 45: Line 45:


== Importing library information from "My Movies" media management software ==
== Importing library information from "My Movies" media management software ==
[http://www.mymovies.dk/ My Movies (www.mymovies.dk)] is an online database for profiling DVD-Video movies. [http://www.mymovies.dk/ My Movies] saves an XML file and a poster cover image which with this patch will get scanned by {{kodi}} in the same way as {{kodi}}'s own XML formatted NFO files are scanned/scraped.
[http://www.mymovies.dk/ My Movies (www.mymovies.dk)] is an online database for profiling DVD-Video movies. [http://www.mymovies.dk/ My Movies] saves an XML file and a poster cover image which with this patch will get scanned by Kodi in the same way as Kodi's own XML formatted NFO files are scanned/scraped.


{{kodi}} has the ability to get the import movie library information from "[http://www.mymovies.dk/ My Movies]" via the mymovies.xml files that it generates, these mymovies.xml are checked after the movie.nfo file.
Kodi has the ability to get the import movie library information from "[http://www.mymovies.dk/ My Movies]" via the mymovies.xml files that it generates, these mymovies.xml are checked after the movie.nfo file.


{{gotham updated}}
{{Helix updated}}


[[Category:Scraper]]
[[Category:Scraper]]

Revision as of 07:06, 21 May 2015

Home icon grey.png   ▶ Video library
▶ Music library
▶ Management
 
▶ NFO files

NFO files can be used to provide data for a video file in Kodi or influence the search behaviour of scrapers. In particular they are helpful if the information fetched from a web site does not match the video file, or data for that particular file does not exist.

By default at the time of scanning, if the media folder contains a correctly named *.nfo file, then Kodi will load the *.nfo file and attempt to either, in the case of it containing XML data get the meta-data directly from the .nfo file or will parse it for a direct URL to the scraper info page. This allows Kodi to skip its normal lookup and/or search procedures; this is useful if a file's information is not available on any of the scraper sites or if the file-matching criteria fail for the particular file.


After the NFO files are scanned into the library, the NFO file is no longer used and only serves as a backup. If you make changes to the NFO file you will need to refresh that library entry for the changes to be loaded into Kodi.


Kodi also contains a Local-NFO-only mode for when you add videos to the library, but this mode is only required if you want to prevent online-lookups for videos that lack NFO files. See Set content and scan#Local NFO only options for more information on this Local-NFO-only mode.

Getting an .NFO file

Various options:

.NFO exists

If you have a movie with an .NFO file already, continue with the next section.

Create an .NFO file (recommended)

  • This is recommended to have .NFO files only where needed.
  • Create a text file with a text editor (e.g. notepad) with exactly the same name as the movie file (if all movies in one dir; in case each movie has its own folder, place the .nfo file there and the name does not matter). The extension has to be .nfo (e.g. Hellboy (2004) English.DTS.1080p.x264.nfo).

Export .NFO files for all movies

  • First you need to have all the movies scanned into your Video Library.
  • Once this is done you’ll need to export your library as a series of separate .NFO files. This can be done by going to Settings > Video > Library and choosing Export Library. Make sure you choose the separate files option, and a bunch of .NFO files (one for every movie) will be dumped to the directories the movies are stored in.
Tip Tip: See Import-export library
  • Once you have the .NFO you'll need to open it for all the movies in the series and add some info to them.

NFO Examples

Below are the different sections explained on how to create specific nfo files for them.


Importing library information from "My Movies" media management software

My Movies (www.mymovies.dk) is an online database for profiling DVD-Video movies. My Movies saves an XML file and a poster cover image which with this patch will get scanned by Kodi in the same way as Kodi's own XML formatted NFO files are scanned/scraped.

Kodi has the ability to get the import movie library information from "My Movies" via the mymovies.xml files that it generates, these mymovies.xml are checked after the movie.nfo file.