User:Karellen/scratchpad01: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
m (Blanked the page)
Tags: Blanking Manual revert
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{mininav|[[Video library]] {{l2|[[Music library]]}}|[[Video management|Management]] <br />&nbsp; }}


<section begin="intro" />NFO files can be used to provide metadata to the library for video and a music files. They are helpful if the metadata fetched from a web site does not match the video or music you have, or if data for that particular file does not exist, such as for home movies. It can also be used to control the search behaviour of scrapers.<section end="intro" />
= What is an nfo =
'''nfo''' is a contraction of Info or Information. The nfo is a Filename Extension - ''mymovie.nfo'' and the contents of the file are written in XML
= Creating an nfo =
== Manual Creation =
== Media Managers ==
<small>
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.
</small>
----
----
----
----
==== album ====
An album. This equates to what Musicbrainz call a "release" and represents the unique release (i.e. issuing) of an item on a specific date with specific release information such as the country, label, etc. Hence album title and artist do not have to be unique as long as we have the release ID (Musicbrainz album ID), Kodi can handle different versions of the same album e.g. original release and then a later remaster (both same title and artist).
{|class="prettytable"
! Database Field || Data Type || Description || Music File Tag || Scraper Tag || NFO Tag || Additional Info
|-
|idAlbum || integer || Primary Key || n/a
|-
|strAlbum || varchar(256) || Album title || Yes || No || <albumtitle></albumtitle> ||
|-
|strMusicBrainzAlbumID || text || MusicBrainz Album ID (release ID)  || Yes || No || <musicBrainzAlbumID></musicBrainzAlbumID> ||
|-
|strArtists || text || album artist(s) description (not always a concatenation of names)    || Yes || No ||
<albumArtistCredits>
    <artist></artist>
    <musicBrainzArtistID></musicBrainzArtistID>
</albumArtistCredits>
|| 2 level tags required
|-
|strGenres || text || Album genres (denormalised concatenation of values in genre table) || Yes || No ||  <genre></genre> || Multiple entries in nfo allowed
|-
|iYear || integer || Album release year || Yes || No || <year></year> ||
|-
|idThumb || integer || [Unused] || || || ||
|-
|bCompilation || integer || Compilation flag || || || ||
|-
|strMoods || text || Album moods || No || Yes || <mood></mood> ||
|-
|strStyles || text || Album styles || || || ||
|-
|strThemes || text || Album themes || No || Yes || <theme></theme> || *Multiple entries in nfo allowed
|-
|strReview || text || Album review || No || Yes || <review></review> ||
|-
|strImage || text || URLs for available remote album images || || || ||
|-
|strLabel || text || Album recording label || Yes || No || <label></label> ||
|-
|strType || text || Album Type e.g. "Soundtrack / Live" || || || ||
|-
|fRating || float || Album rating || No || Yes || <rating max="10"></rating> || ** What does max="10" mean?
|-
|iUserrating || integer || Album user rating (out of 10) || No || Yes || <userrating max="10">10</userrating> ||
|-
|lastScraped || text || Date/time data scraped from online sources or NFO files || n/a
|-
|strReleaseType || text || Internal type - "album" or "single" || No || Yes || <releasetype></releasetype> ||
|-
|iVotes || integer || Album votes (for rating) || No || Yes || <votes></votes> ||
|}

Latest revision as of 04:53, 29 May 2022