NFO files/Combination: Difference between revisions
No edit summary |
m (Updated for v20) |
||
(2 intermediate revisions by the same user not shown) | |||
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 | <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 | A Combination NFO file can be used for any of the following classes of media: | ||
::{| | ::{| | ||
|- | |- | ||
Line 16: | Line 16: | ||
|} | |} | ||
'''Note:''' A | '''Note:''' A Combination NFO file '''cannot''' be used for Seasons or Episodes. Seasons and Episodes are matched via the correct TV Show. | ||
Line 23: | Line 23: | ||
''Example: Contents of Combination NFO file:'' | ''Example: Contents of Combination NFO file:'' | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<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> | ||
<genre clear="true">SciFi</genre> | <genre clear="true">SciFi</genre> | ||
<genre>Romance</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 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 48: | Line 50: | ||
{{top}} | {{top}} | ||
{{updated| | {{updated|20}} | ||
[[Category:Karellen]] | [[Category:Karellen]] | ||
[[Category:Music library]] | [[Category:Music library]] | ||
[[Category:Video library]] | [[Category:Video library]] |
Latest revision as of 02:46, 13 February 2023
NFO Contents |
---|
See also: Return to: |
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 |
---|