NFO files/Combination: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
(Update obsolete info)
Line 4: Line 4:


= Introduction =
= Introduction =
<section begin="intro" />A Combination NFO file combines a Parsing NFO and Metadata NFO file. It allows you to override some data with that nominated in the NFO file, but scrape the remainder of the data using the Parsing link.<section end="intro" />
<section begin="intro" />A Combination NFO file combines a Parsing NFO and Metadata NFO file. It allows you to scrape the title as normal, but override some of the scraped data with the data included in the file.<section end="intro" />


A Combination NFO file can be used for any of the following classes of media:
A Combination NFO file can be used for any of the following classes of media:
Line 23: Line 23:
''Example: Contents of Combination NFO file:''
''Example: Contents of Combination NFO file:''
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<movie>
<movie>
     <title>Star Wars (99 second cut)</title>
     <title>Star Wars (99 second cut)</title>
    <sorttitle>Star Wars 01</sorttitle>
     <runtime>2</runtime>
     <runtime>2</runtime>
    <set>Star Wars Saga</set>
    <sorttitle>Star Wars 01</sorttitle>
     <genre clear="true">SciFi</genre>
     <genre clear="true">SciFi</genre>
     <genre>Romance</genre>
     <genre>Romance</genre>
     <genre>Action</genre>
     <set>
</movie>
        <name>My Collection</name>
http://www.imdb.com/title/tt0076759/
        <overview>My made up collection of movies</overview>
    </set>
</movie>
https://www.themoviedb.org/movie/11-star-wars
</syntaxhighlight>
</syntaxhighlight>



Revision as of 22:51, 23 April 2022

NFO Contents

NFO Main Page


See also:


Return to:

Home icon grey.png   ▶ NFO files ▶ Combination


Introduction

A Combination NFO file combines a Parsing NFO and Metadata NFO file. It allows you to scrape the title as normal, but override some of the scraped data with the data included in the file.

A Combination NFO file can be used for any of the following classes of media:

Albums Artists Movies Music Videos TV Shows

Note: A Combination NFO file cannot be used for Seasons or Episodes. Seasons and Episodes are matched via the correct TV Show.


Example

Example: Contents of Combination NFO file:

<movie>
    <title>Star Wars (99 second cut)</title>
    <sorttitle>Star Wars 01</sorttitle>
    <runtime>2</runtime>
    <genre clear="true">SciFi</genre>
    <genre>Romance</genre>
    <set>
        <name>My Collection</name>
        <overview>My made up collection of movies</overview>
    </set>
</movie>
https://www.themoviedb.org/movie/11-star-wars


Various tags allow multiple entries, eg multiple <genre> and <director> tags. If you use these tags in a Combination nfo, these tags will have their data added to the scraped entry in the database and, in some cases, may result in duplicate entries. To avoid this, use the clear attribute to clear out the downloaded metadata for those particular tags. See the <genre> tag in the above example.

A listing of which tags allow multiple entries can be found in the appropriate Metadata NFO sub-pages. Does not apply to music.

Notes:

  • If there is more than one URL in the file only the first URL will be used.



Return to top