<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Crissov</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Crissov"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Crissov"/>
	<updated>2026-06-30T15:26:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=225481</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=225481"/>
		<updated>2021-05-10T10:34:50Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Overview and Comparison */ Mp3tag added DIRECTOR support lately, but subtitles still only for ID3 not MP4; &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt; is Product (not Producer)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt;), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (&amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt;) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (&amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt;). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
== Overview and Comparison ==&lt;br /&gt;
&lt;br /&gt;
{{notice|Kodi variables shown in parentheses below are not supported at the moment, but if they are in the future, these are the most likely mappings.}}&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;DIRECTOR&amp;lt;/code&amp;gt; ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt;) ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads &#039;&#039;Title&#039;&#039; &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt;, &#039;&#039;Writing Credits&#039;&#039; &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt;, &#039;&#039;Plot&#039;&#039; &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt;, &#039;&#039;Plot Outline&#039;&#039; &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt;, &#039;&#039;Year&#039;&#039; &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt;, &#039;&#039;Album&#039;&#039; &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt;, &#039;&#039;Artist&#039;&#039; &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; and &#039;&#039;Track&#039;&#039; &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt; information if available.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&amp;lt;ref name=&amp;quot;VideoTagLoaderFFmpeg.cpp&amp;quot;&amp;gt;[https://github.com/xbmc/xbmc/blob/master/xbmc/video/tags/VideoTagLoaderFFmpeg.cpp Kodi source code of &amp;lt;code&amp;gt;VideoTagLoaderFFmpeg.cpp&amp;lt;/code&amp;gt;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=225480</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=225480"/>
		<updated>2021-05-10T10:28:54Z</updated>

		<summary type="html">&lt;p&gt;Crissov: remove notice, format paragraph as notice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt;), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (&amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt;) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (&amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt;). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
== Overview and Comparison ==&lt;br /&gt;
&lt;br /&gt;
{{notice|Kodi variables shown in parentheses below are not supported at the moment, but if they are in the future, these are the most likely mappings.}}&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads &#039;&#039;Title&#039;&#039; &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt;, &#039;&#039;Writing Credits&#039;&#039; &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt;, &#039;&#039;Plot&#039;&#039; &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt;, &#039;&#039;Plot Outline&#039;&#039; &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt;, &#039;&#039;Year&#039;&#039; &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt;, &#039;&#039;Album&#039;&#039; &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt;, &#039;&#039;Artist&#039;&#039; &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; and &#039;&#039;Track&#039;&#039; &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt; information if available.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&amp;lt;ref name=&amp;quot;VideoTagLoaderFFmpeg.cpp&amp;quot;&amp;gt;[https://github.com/xbmc/xbmc/blob/master/xbmc/video/tags/VideoTagLoaderFFmpeg.cpp Kodi source code of &amp;lt;code&amp;gt;VideoTagLoaderFFmpeg.cpp&amp;lt;/code&amp;gt;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223953</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223953"/>
		<updated>2021-03-03T08:40:18Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* MP4 tag options */ name atoms&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt;), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (&amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt;) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (&amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt;). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
== Overview and Comparison ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads &#039;&#039;Title&#039;&#039; &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt;, &#039;&#039;Writing Credits&#039;&#039; &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt;, &#039;&#039;Plot&#039;&#039; &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt;, &#039;&#039;Plot Outline&#039;&#039; &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt;, &#039;&#039;Year&#039;&#039; &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt;, &#039;&#039;Album&#039;&#039; &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt;, &#039;&#039;Artist&#039;&#039; &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; and &#039;&#039;Track&#039;&#039; &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt; information if available.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&amp;lt;ref name=&amp;quot;VideoTagLoaderFFmpeg.cpp&amp;quot;&amp;gt;[https://github.com/xbmc/xbmc/blob/master/xbmc/video/tags/VideoTagLoaderFFmpeg.cpp Kodi source code of &amp;lt;code&amp;gt;VideoTagLoaderFFmpeg.cpp&amp;lt;/code&amp;gt;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223952</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223952"/>
		<updated>2021-03-03T08:28:58Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Supported Tags */ reorganize subsections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt;), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (&amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt;) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (&amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt;). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
== Overview and Comparison ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads Title, Writing Credits, Plot, Plot Outline, Year, Album, Artist and Track information if available.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&amp;lt;ref name=&amp;quot;VideoTagLoaderFFmpeg.cpp&amp;quot;&amp;gt;[https://github.com/xbmc/xbmc/blob/master/xbmc/video/tags/VideoTagLoaderFFmpeg.cpp Kodi source code of &amp;lt;code&amp;gt;VideoTagLoaderFFmpeg.cpp&amp;lt;/code&amp;gt;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223852</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223852"/>
		<updated>2021-02-17T09:46:00Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* AVI tag options */ &amp;lt;ref name=&amp;quot;VideoTagLoaderFFmpeg.cpp&amp;quot;&amp;gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt;), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (&amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt;) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (&amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt;). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads Title, Writing Credits, Plot, Plot Outline, Year, Album, Artist and Track information if available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&amp;lt;ref name=&amp;quot;VideoTagLoaderFFmpeg.cpp&amp;quot;&amp;gt;[https://github.com/xbmc/xbmc/blob/master/xbmc/video/tags/VideoTagLoaderFFmpeg.cpp Kodi source code of &amp;lt;code&amp;gt;VideoTagLoaderFFmpeg.cpp&amp;lt;/code&amp;gt;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223851</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223851"/>
		<updated>2021-02-17T09:11:22Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* TV Show Specific Tags */ &amp;lt;code&amp;gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt;), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (&amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (&amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt;) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (&amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt;). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads Title, Writing Credits, Plot, Plot Outline, Year, Album, Artist and Track information if available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223850</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223850"/>
		<updated>2021-02-17T08:25:11Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* MP4 tag options */ remove empty codes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads Title, Writing Credits, Plot, Plot Outline, Year, Album, Artist and Track information if available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable sortable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) ||  ||  ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) ||  ||  ||  || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) ||  ||  ||  ||  ||  ||&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) ||  ||  ||  ||  ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223821</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=223821"/>
		<updated>2021-02-13T10:01:22Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Title */ default&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[NFO files]]. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content. This is the reason why Kodi defaults to not use embedded tags in video files.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads Title, Writing Credits, Plot, Plot Outline, Year, Album, Artist and Track information if available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208118</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208118"/>
		<updated>2020-05-07T08:59:01Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Supported Tags */ include more hypothetical rows that had only been mentioned in an invisible comment before&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
For MP4 tags, Kodi reads Title, Writing Credits, Plot, Plot Outline, Year, Album, Artist and Track information if available.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
|+ Tag field mapping table&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box / atom !! AVI FourCC !! [https://help.mp3tag.de/main_tags.html Mp3tag] !! mp4tags / mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Album&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Artist&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;WritingCredits&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Year&#039;&#039;&#039;&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Genre&#039;&#039;&#039;&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name, set&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (0 = SD, 1 = 720p, 2 = 1080p/i Full HD, 3 = 2160p UHD)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || main/original spoken/displayed language&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network, channel, station&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || publisher&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code&amp;gt;producer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; ||  ||  ||  || producer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || conductor, performer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; ||  ||  ||  || composer&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code title=&amp;quot;read-only&amp;quot;&amp;gt;director&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; ||  ||  ||  || director&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Plot&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;PlotOutline&#039;&#039;&#039;&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Title&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;TagLine&#039;&#039;) || &amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;SUBTITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;&#039;&#039;Track&#039;&#039;&#039;&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || &amp;lt;code&amp;gt;rating&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESADVISORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (0 = none, 1 = clean, 2 = explicit)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Country&#039;&#039;) || &amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt;) ||  ||  ||  || GPS coordinates&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Trailer&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;PictureURL&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Votes&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueIDs&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Tags&#039;&#039;) || (&amp;lt;code&amp;gt;keywords&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt;)) || (&amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; || tags, keywords&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;OriginalTitle&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;EpisodeGuide&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Status&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowLink&#039;&#039;) || &amp;lt;code&amp;gt;URL&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;NamedSeasons&#039;&#039;) || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; ||  || array&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;podcast&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCAST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag (0/1)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTCATEGORY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || || &amp;lt;code&amp;gt;cnID&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESCATALOGID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || &amp;lt;code&amp;gt;episode_uid&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt;? || content ID&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
| || || (&amp;lt;code&amp;gt;covr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thmb&amp;lt;/code&amp;gt;) || || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| || || &amp;lt;code&amp;gt;tmpo&amp;lt;/code&amp;gt; || || &amp;lt;code&amp;gt;BPM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| || || plID? || || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
| || ||  || || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV:&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;MOV write&amp;quot;&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  (&amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot;, &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208114</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208114"/>
		<updated>2020-05-06T12:38:49Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Tag field mapping table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== Tag field mapping table ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box/atom !! AVI FourCC !! Mp3tag !! mp4tags/mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;album-sort&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Album&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;artist-sort&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Artist&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
|  || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;author&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©aut&amp;lt;/code&amp;gt; ||  ||  ||  || author information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; (&amp;lt;code title=&amp;quot;write-only&amp;quot;&amp;gt;©des&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;WritingCredits&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Year&#039;&#039; || &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;date&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;PlotOutline&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disc number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;©swr&amp;lt;/code&amp;gt;) || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Genre&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Plot&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code title=&amp;quot;write&amp;quot;&amp;gt;title-sort&amp;lt;/code&amp;gt;, &amp;lt;code title=&amp;quot;read&amp;quot;&amp;gt;sort_name&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Title&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Track&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
|  || pcst || PODCAST || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag&lt;br /&gt;
|  || ©grp? || CONTENTGROUP (PODCASTCATEGORY: catg) || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|  || (covr, thmb) || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || rtng || ITUNESADVISORY || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (none, clean, explicit)&lt;br /&gt;
|  || tmpo || BPM || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || cnID? || ITUNESCATALOGID (PODCASTID: egid) || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt; || content ID&lt;br /&gt;
|  || plID? || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
FFmpeg read MOV&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;akID&amp;lt;/code&amp;gt; &amp;quot;account_type&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;apID&amp;lt;/code&amp;gt; &amp;quot;account_id&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;catg&amp;lt;/code&amp;gt; &amp;quot;category&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;egid&amp;lt;/code&amp;gt; &amp;quot;episode_uid&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;keyw&amp;lt;/code&amp;gt; &amp;quot;keywords&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;loci&amp;lt;/code&amp;gt; (location)&lt;br /&gt;
* &amp;lt;code&amp;gt;manu&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;modl&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pcst&amp;lt;/code&amp;gt; &amp;quot;podcast&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;pgap&amp;lt;/code&amp;gt; &amp;quot;gapless_playback&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;purd&amp;lt;/code&amp;gt; &amp;quot;purchase_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;rtng&amp;lt;/code&amp;gt; &amp;quot;rating&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soaa&amp;lt;/code&amp;gt; &amp;quot;sort_album_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;soco&amp;lt;/code&amp;gt; &amp;quot;sort_composer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;sosn&amp;lt;/code&amp;gt; &amp;quot;sort_show&amp;quot;   &lt;br /&gt;
* &amp;lt;code&amp;gt;©chp&amp;lt;/code&amp;gt; &amp;quot;chapter&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©com&amp;lt;/code&amp;gt; &amp;quot;composer&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;©dir&amp;lt;/code&amp;gt; &amp;quot;director&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;©dis&amp;lt;/code&amp;gt; &amp;quot;disclaimer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©ed1&amp;lt;/code&amp;gt; &amp;quot;edit_date&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©enc&amp;lt;/code&amp;gt; &amp;quot;encoder&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©fmt&amp;lt;/code&amp;gt; &amp;quot;original_format&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©hst&amp;lt;/code&amp;gt; &amp;quot;host_computer&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©inf&amp;lt;/code&amp;gt; &amp;quot;comment&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©mak&amp;lt;/code&amp;gt; &amp;quot;make&amp;quot;     &lt;br /&gt;
* &amp;lt;code&amp;gt;©mod&amp;lt;/code&amp;gt; &amp;quot;model&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©ope&amp;lt;/code&amp;gt; &amp;quot;original_artist&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©PRD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©prd&amp;lt;/code&amp;gt; &amp;quot;producer&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;©prf&amp;lt;/code&amp;gt; &amp;quot;performers&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©req&amp;lt;/code&amp;gt; &amp;quot;playback_requirements&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©src&amp;lt;/code&amp;gt; &amp;quot;original_source&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;©st3&amp;lt;/code&amp;gt; &amp;quot;subtitle&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;©trk&amp;lt;/code&amp;gt; &amp;quot;track&amp;quot;    &lt;br /&gt;
* &amp;lt;code&amp;gt;©url&amp;lt;/code&amp;gt; &amp;quot;URL&amp;quot;      &lt;br /&gt;
* &amp;lt;code&amp;gt;©wrn&amp;lt;/code&amp;gt; &amp;quot;warning&amp;quot;  &lt;br /&gt;
* &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; &amp;quot;location&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;@PRM&amp;lt;/code&amp;gt; &amp;quot;premiere_version&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;@PRQ&amp;lt;/code&amp;gt; &amp;quot;quicktime_version&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;XMP_&amp;lt;/code&amp;gt; XMP&lt;br /&gt;
* &amp;lt;code&amp;gt;FIRM&amp;lt;/code&amp;gt; &amp;quot;firmware&amp;quot; &lt;br /&gt;
* &amp;lt;code&amp;gt;HMMT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
FFmpeg MOV write:&lt;br /&gt;
* &amp;lt;code&amp;gt;©mak&amp;lt;/code&amp;gt; make&lt;br /&gt;
* &amp;lt;code&amp;gt;©mod&amp;lt;/code&amp;gt; model&lt;br /&gt;
* &amp;lt;code&amp;gt;©xyz&amp;lt;/code&amp;gt; location (-&amp;gt; &#039;&#039;Country&#039;&#039;)&lt;br /&gt;
* &amp;lt;code&amp;gt;©key&amp;lt;/code&amp;gt; keywords (-&amp;gt; &#039;&#039;Tags&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
FFmpeg 3GPP write:&lt;br /&gt;
* &amp;lt;code&amp;gt;perf&amp;lt;/code&amp;gt; artist&lt;br /&gt;
* &amp;lt;code&amp;gt;titl&amp;lt;/code&amp;gt; title&lt;br /&gt;
* &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; author&lt;br /&gt;
* &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; genre&lt;br /&gt;
* &amp;lt;code&amp;gt;dscp&amp;lt;/code&amp;gt; comment&lt;br /&gt;
* &amp;lt;code&amp;gt;albm&amp;lt;/code&amp;gt; album&lt;br /&gt;
* &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; copyright&lt;br /&gt;
* &amp;lt;code&amp;gt;yrrc&amp;lt;/code&amp;gt; date&lt;br /&gt;
&lt;br /&gt;
Kodi NFO metadata without tag field match:&lt;br /&gt;
* &#039;&#039;Country&#039;&#039;&lt;br /&gt;
* &#039;&#039;TagLine&#039;&#039; (&amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;Trailer&#039;&#039;&lt;br /&gt;
* &#039;&#039;PictureURL&#039;&#039;&lt;br /&gt;
* &#039;&#039;Votes&#039;&#039;&lt;br /&gt;
* &#039;&#039;UniqueIDs&#039;&#039;&lt;br /&gt;
* &#039;&#039;Tags&#039;&#039;&lt;br /&gt;
* &#039;&#039;OriginalTitle&#039;&#039;&lt;br /&gt;
* &#039;&#039;EpisodeGuide&#039;&#039;&lt;br /&gt;
* &#039;&#039;Status&#039;&#039;&lt;br /&gt;
* &#039;&#039;ShowLink&#039;&#039;&lt;br /&gt;
* &#039;&#039;NamedSeasons&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208113</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208113"/>
		<updated>2020-05-06T10:44:53Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Tag field mapping table */ put AVI 4cc tags not yet supported by Kodi into parentheses&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== Tag field mapping table ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box/atom !! AVI FourCC !! Mp3tag !! mp4tags/mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album-sort&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sort_album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Album&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;artist-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Artist&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;author&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;WritingCredits&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Year&#039;&#039; || &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;PlotOutline&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disk number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Genre&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || (&amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Plot&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code&amp;gt;title-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Title&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Track&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; || (&amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
|  || pcst || PODCAST || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag&lt;br /&gt;
|  || ©grp? || CONTENTGROUP (PODCASTCATEGORY: catg) || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|  || (thmb) || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || rtng || ITUNESADVISORY || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (none, clean, explicit)&lt;br /&gt;
|  || tmpo || BPM || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || cnID? || ITUNESCATALOGID (PODCASTID: egid) || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt; || content ID&lt;br /&gt;
|  || plID? || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
Kodi NFO metadata without tag field match:&lt;br /&gt;
* &#039;&#039;Country&#039;&#039;&lt;br /&gt;
* &#039;&#039;TagLine&#039;&#039; (&amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;Trailer&#039;&#039;&lt;br /&gt;
* &#039;&#039;PictureURL&#039;&#039;&lt;br /&gt;
* &#039;&#039;Votes&#039;&#039;&lt;br /&gt;
* &#039;&#039;UniqueIDs&#039;&#039;&lt;br /&gt;
* &#039;&#039;Tags&#039;&#039;&lt;br /&gt;
* &#039;&#039;OriginalTitle&#039;&#039;&lt;br /&gt;
* &#039;&#039;EpisodeGuide&#039;&#039;&lt;br /&gt;
* &#039;&#039;Status&#039;&#039;&lt;br /&gt;
* &#039;&#039;ShowLink&#039;&#039;&lt;br /&gt;
* &#039;&#039;NamedSeasons&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208112</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208112"/>
		<updated>2020-05-06T10:42:07Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Tag field mapping table */ say what parentheses mean&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== Tag field mapping table ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box/atom !! AVI FourCC !! Mp3tag !! mp4tags/mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album-sort&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sort_album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Album&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;artist-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Artist&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;author&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;WritingCredits&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Year&#039;&#039; || &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;PlotOutline&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disk number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Genre&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Plot&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code&amp;gt;title-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Title&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Track&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
|  || pcst || PODCAST || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag&lt;br /&gt;
|  || ©grp? || CONTENTGROUP (PODCASTCATEGORY: catg) || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|  || (thmb) || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || rtng || ITUNESADVISORY || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (none, clean, explicit)&lt;br /&gt;
|  || tmpo || BPM || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || cnID? || ITUNESCATALOGID (PODCASTID: egid) || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt; || content ID&lt;br /&gt;
|  || plID? || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
Kodi NFO metadata without tag field match:&lt;br /&gt;
* &#039;&#039;Country&#039;&#039;&lt;br /&gt;
* &#039;&#039;TagLine&#039;&#039; (&amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;Trailer&#039;&#039;&lt;br /&gt;
* &#039;&#039;PictureURL&#039;&#039;&lt;br /&gt;
* &#039;&#039;Votes&#039;&#039;&lt;br /&gt;
* &#039;&#039;UniqueIDs&#039;&#039;&lt;br /&gt;
* &#039;&#039;Tags&#039;&#039;&lt;br /&gt;
* &#039;&#039;OriginalTitle&#039;&#039;&lt;br /&gt;
* &#039;&#039;EpisodeGuide&#039;&#039;&lt;br /&gt;
* &#039;&#039;Status&#039;&#039;&lt;br /&gt;
* &#039;&#039;ShowLink&#039;&#039;&lt;br /&gt;
* &#039;&#039;NamedSeasons&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
Kodi variables in parentheses are not supported at the moment, but if they are in the future, these are the most likely mappings.&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208111</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208111"/>
		<updated>2020-05-06T10:41:00Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Tag field mapping table */ was missing &amp;#039;&amp;#039;Title&amp;#039;&amp;#039; entry, the most important of all&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== Tag field mapping table ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box/atom !! AVI FourCC !! Mp3tag !! mp4tags/mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album-sort&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sort_album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Album&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;artist-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Artist&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;author&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;WritingCredits&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Year&#039;&#039; || &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;PlotOutline&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disk number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Genre&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Plot&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code&amp;gt;title-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Title&#039;&#039; || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Track&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
|  || pcst || PODCAST || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag&lt;br /&gt;
|  || ©grp? || CONTENTGROUP (PODCASTCATEGORY: catg) || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|  || (thmb) || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || rtng || ITUNESADVISORY || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (none, clean, explicit)&lt;br /&gt;
|  || tmpo || BPM || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || cnID? || ITUNESCATALOGID (PODCASTID: egid) || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt; || content ID&lt;br /&gt;
|  || plID? || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
Kodi NFO metadata without tag field match:&lt;br /&gt;
* &#039;&#039;Country&#039;&#039;&lt;br /&gt;
* &#039;&#039;TagLine&#039;&#039; (&amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;Trailer&#039;&#039;&lt;br /&gt;
* &#039;&#039;PictureURL&#039;&#039;&lt;br /&gt;
* &#039;&#039;Votes&#039;&#039;&lt;br /&gt;
* &#039;&#039;UniqueIDs&#039;&#039;&lt;br /&gt;
* &#039;&#039;Tags&#039;&#039;&lt;br /&gt;
* &#039;&#039;OriginalTitle&#039;&#039;&lt;br /&gt;
* &#039;&#039;EpisodeGuide&#039;&#039;&lt;br /&gt;
* &#039;&#039;Status&#039;&#039;&lt;br /&gt;
* &#039;&#039;ShowLink&#039;&#039;&lt;br /&gt;
* &#039;&#039;NamedSeasons&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208110</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208110"/>
		<updated>2020-05-06T10:39:02Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* Folder &amp;amp; File Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== Tag field mapping table ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box/atom !! AVI FourCC !! Mp3tag !! mp4tags/mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album-sort&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sort_album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Album&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;artist-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Artist&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;author&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;WritingCredits&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Year&#039;&#039; || &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;PlotOutline&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disk number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Genre&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Plot&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code&amp;gt;title-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Track&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
|  || pcst || PODCAST || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag&lt;br /&gt;
|  || ©grp? || CONTENTGROUP (PODCASTCATEGORY: catg) || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|  || (thmb) || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || rtng || ITUNESADVISORY || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (none, clean, explicit)&lt;br /&gt;
|  || tmpo || BPM || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || cnID? || ITUNESCATALOGID (PODCASTID: egid) || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt; || content ID&lt;br /&gt;
|  || plID? || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
Kodi NFO metadata without tag field match:&lt;br /&gt;
* &#039;&#039;Country&#039;&#039;&lt;br /&gt;
* &#039;&#039;TagLine&#039;&#039; (&amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;Trailer&#039;&#039;&lt;br /&gt;
* &#039;&#039;PictureURL&#039;&#039;&lt;br /&gt;
* &#039;&#039;Votes&#039;&#039;&lt;br /&gt;
* &#039;&#039;UniqueIDs&#039;&#039;&lt;br /&gt;
* &#039;&#039;Tags&#039;&#039;&lt;br /&gt;
* &#039;&#039;OriginalTitle&#039;&#039;&lt;br /&gt;
* &#039;&#039;EpisodeGuide&#039;&#039;&lt;br /&gt;
* &#039;&#039;Status&#039;&#039;&lt;br /&gt;
* &#039;&#039;ShowLink&#039;&#039;&lt;br /&gt;
* &#039;&#039;NamedSeasons&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208109</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=208109"/>
		<updated>2020-05-06T10:37:55Z</updated>

		<summary type="html">&lt;p&gt;Crissov: I checked Kodi and FFmpeg source code to better document this; new comprehensive table!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&amp;lt;!--is this really true? TV-specific MP4 boxes are not supported, but I&#039;m not sure whether the tags are really not parsed at all--&amp;gt;&lt;br /&gt;
{{notice|This page describes an alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. &#039;&#039;&#039;*.avi&#039;&#039;&#039; support is available since v18.x. They are similar in principle to the tags saved in audio files. Only limited support for video tags is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV Shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source MP4 metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
&lt;br /&gt;
== Cross-platform ==&lt;br /&gt;
&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but some will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used by Kodi.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos, music, audiobooks, and even images! We usually do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
Kodi will not import a media file without a valid &#039;&#039;Title&#039;&#039; in the metadata tag. This makes it the most critical tag of all. An exception is made for MKV files which have an &amp;lt;code&amp;gt;IMDBURL&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TMDBURL&amp;lt;/code&amp;gt; metatag.&lt;br /&gt;
&lt;br /&gt;
Title differs from filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Beware that many people who distribute video files do not care much for proper metadata within the file even if they are shipping proper NFO or XML files with them. Regardless, their files may still have tags, but with rubbish or spam content.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
Kodi relies on FFmpeg libraries to import MP4, MKV and AVI metadata. The [https://wiki.multimedia.cx/index.php/FFmpeg_Metadata documentation in the Multimedia.cx wiki] is not always up to date, but is correct in general. For proper details, one needs to inspect the [https://www.ffmpeg.org/doxygen/4.0/movenc_8c_source.html &amp;lt;code&amp;gt;mov_write_****_tag()&amp;lt;/code&amp;gt; functions in the FFmpeg source code]. &lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: Two separate ones, only supported within Matroska (MKV) files currently.&lt;br /&gt;
&lt;br /&gt;
== Tag field mapping table ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable prettytable&amp;quot;&lt;br /&gt;
! Kodi !! FFmpeg !! MP4 box/atom !! AVI FourCC !! Mp3tag !! mp4tags/mp4v2 CLI !! Description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album-sort&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sort_album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soal&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;album_artist&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;aART&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ALBUMARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-R&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-albumartist&amp;lt;/code&amp;gt; || album artist&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Album&#039;&#039; || &amp;lt;code&amp;gt;album&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©alb&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ALBUM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-A&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-album&amp;lt;/code&amp;gt; || album title&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;artist-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;soar&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ARTISTSORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Artist&#039;&#039; || &amp;lt;code&amp;gt;artist&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;author&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©art&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;©ART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IART&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ARTIST&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artist&amp;lt;/code&amp;gt; || artist information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;comment&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cmt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICMT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COMMENT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-comment&amp;lt;/code&amp;gt; || general comment&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;compilation&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;cpil&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPILATION&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;WritingCredits&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;composer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©wrt&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;COMPOSER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-w&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-writer&amp;lt;/code&amp;gt; || composer information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;copyright&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©cpy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cprt&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ICOP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;COPYRIGHT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-C&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-copyright&amp;lt;/code&amp;gt; || copyright information&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;creation_time&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;ENCODINGTIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Year&#039;&#039; || &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ICRD&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;RELEASETIME&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Premiered&#039;&#039;) || &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©day&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;YEAR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-y&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-year&amp;lt;/code&amp;gt; || release date&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;PlotOutline&#039;&#039;, (&#039;&#039;Overview&#039;&#039;) || &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DESCRIPTION&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-longdesc&amp;lt;/code&amp;gt; || long description&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;disc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;disk&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;DISCNUMBER&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disk&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-disks&amp;lt;/code&amp;gt; || disk number / number of discs&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoded_by&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©too&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ITCH&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODEDBY&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-e&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-encodedby&amp;lt;/code&amp;gt; || name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;encoder&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ISFT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ENCODERSETTINGS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-E&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tool&amp;lt;/code&amp;gt; || software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ProductionCode&#039;&#039;) || &amp;lt;code&amp;gt;episode_id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tven&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODEID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-o&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episodeid&amp;lt;/code&amp;gt; || TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;episode_sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tves&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVEPISODE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-episode&amp;lt;/code&amp;gt; || episode number&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Genre&#039;&#039; (split at slashes) || &amp;lt;code&amp;gt;genre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©gen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gnre&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IGNR&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;GENRE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-g&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genre&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-genreid&amp;lt;/code&amp;gt; || genre name / ID&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Set&#039;&#039;) || &amp;lt;code&amp;gt;grouping&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©grp&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONTENTGROUP&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-G&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-grouping&amp;lt;/code&amp;gt; || grouping name&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;hd_video&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;hdvd&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESHDVIDEO&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-H&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-hdvideo&amp;lt;/code&amp;gt; || HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;language&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ILNG&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;LANGUAGE&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;lyrics&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©lyr&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;UNSYNCEDLYRICS&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-L&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-lyrics&amp;lt;/code&amp;gt; || unsynchronized lyrics&lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;media_type&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;stik&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;ITUNESMEDIATYPE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-i&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-type&amp;lt;/code&amp;gt; || Media Type (TV Show, Movie, Music, Audiobook ...)&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;network&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvnn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVNETWORK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-N&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-network&amp;lt;/code&amp;gt; || TV network&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Director&#039;&#039;) || &amp;lt;code&amp;gt;performer&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©con&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;CONDUCTOR&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;Studio&#039;&#039;) || &amp;lt;code&amp;gt;publisher&amp;lt;/code&amp;gt; ||  ||  || &amp;lt;code&amp;gt;PUBLISHER&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;season_number&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsn&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSEASON&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-n&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-season&amp;lt;/code&amp;gt; || season number&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;ShowTitle&#039;&#039;) || &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tvsh&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TVSHOW&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-S&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-show&amp;lt;/code&amp;gt; || TV show&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Plot&#039;&#039; || &amp;lt;code&amp;gt;synopsis&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;ldes&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;PODCASTDESC&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-m&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-description&amp;lt;/code&amp;gt; || short description&lt;br /&gt;
|-&lt;br /&gt;
| (&#039;&#039;SortTitle&#039;&#039;) || &amp;lt;code&amp;gt;title-sort&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;sonm&amp;lt;/code&amp;gt; ||  || &amp;lt;code&amp;gt;TITLESORT&amp;lt;/code&amp;gt; ||  || &lt;br /&gt;
|-&lt;br /&gt;
| || &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;©nam&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;INAM&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TITLE&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-song&amp;lt;/code&amp;gt; || song title, track name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;Track&#039;&#039; || &amp;lt;code&amp;gt;track&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;trkn&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;IPRT&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;TRACK&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-track&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;-T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tracks&amp;lt;/code&amp;gt; || track number / number of tracks&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
mp4tags/mp4v2 CLI:&lt;br /&gt;
|  || pcst || PODCAST || &amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-podcast&amp;lt;/code&amp;gt; || podcast flag&lt;br /&gt;
|  || ©grp? || CONTENTGROUP (PODCASTCATEGORY: catg) || &amp;lt;code&amp;gt;-O&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-category&amp;lt;/code&amp;gt; || category&lt;br /&gt;
|  || (thmb) || || &amp;lt;code&amp;gt;-P&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-picture&amp;lt;/code&amp;gt; || picture as a .png, Cover&lt;br /&gt;
| (&#039;&#039;Rating&#039;&#039;) || rtng || ITUNESADVISORY || &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-rating&amp;lt;/code&amp;gt; || Rating (none, clean, explicit)&lt;br /&gt;
|  || tmpo || BPM || &amp;lt;code&amp;gt;-b&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-tempo&amp;lt;/code&amp;gt; || tempo (beats per minute)&lt;br /&gt;
| (&#039;&#039;UniqueID&#039;&#039;) || cnID? || ITUNESCATALOGID (PODCASTID: egid) || &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-contentid&amp;lt;/code&amp;gt; || content ID&lt;br /&gt;
|  || plID? || || &amp;lt;code&amp;gt;-p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-playlistid&amp;lt;/code&amp;gt; || playlist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-artistid&amp;lt;/code&amp;gt; || artist ID&lt;br /&gt;
|  ||  || || &amp;lt;code&amp;gt;-Z&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;-composerid&amp;lt;/code&amp;gt; || composer ID&lt;br /&gt;
&lt;br /&gt;
Kodi NFO metadata without tag field match:&lt;br /&gt;
* &#039;&#039;Country&#039;&#039;&lt;br /&gt;
* &#039;&#039;TagLine&#039;&#039; (&amp;lt;code&amp;gt;subtitle&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &#039;&#039;Trailer&#039;&#039;&lt;br /&gt;
* &#039;&#039;PictureURL&#039;&#039;&lt;br /&gt;
* &#039;&#039;Votes&#039;&#039;&lt;br /&gt;
* &#039;&#039;UniqueIDs&#039;&#039;&lt;br /&gt;
* &#039;&#039;Tags&#039;&#039;&lt;br /&gt;
* &#039;&#039;OriginalTitle&#039;&#039;&lt;br /&gt;
* &#039;&#039;EpisodeGuide&#039;&#039;&lt;br /&gt;
* &#039;&#039;Status&#039;&#039;&lt;br /&gt;
* &#039;&#039;ShowLink&#039;&#039;&lt;br /&gt;
* &#039;&#039;NamedSeasons&#039;&#039;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does mostly ignore the Matroska tagging specification to fill library info. Instead, a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
The only textual tags supported in MKV fields as of v18.6 are (case-insensitive) &#039;&#039;Title&#039;&#039; = &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &#039;&#039;Director&#039;&#039; = &amp;lt;code&amp;gt;director&amp;lt;/code&amp;gt; (multiple entries may be separated by a forward slash) and &#039;&#039;Year&#039;&#039; = &amp;lt;code&amp;gt;date_released&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== AVI tag options ==&lt;br /&gt;
&lt;br /&gt;
As of v18.6, Kodi only recognizes &#039;&#039;Title&#039;&#039; and &#039;&#039;Year&#039;&#039; variables from AVI tags.&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumb&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for poster&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Advancedsettings.xml&amp;diff=186052</id>
		<title>Advancedsettings.xml</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Advancedsettings.xml&amp;diff=186052"/>
		<updated>2019-10-29T13:38:43Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* cleanstrings */ update default&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}{{mininav|[[Settings]]|page=advancedsettings.xml}}&lt;br /&gt;
{{bigger|{{note|&#039;&#039;&#039;The advancedsettings.xml file does not exist by default. You have to create it first!&#039;&#039;&#039;}} }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;The [[advancedsettings.xml]] file, which does not exist by default, can be created by a user in their &#039;&#039;&#039;[[userdata folder]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This file is used for advanced settings and options that do not have GUI controls inside of {{kodi}}. Some settings are experimental or very rarely set, so they can only be used via the advancedsettings.xml file. The file is simply a plain text file and can be edited by various text editors, so long as the name is &amp;quot;advancedsettings.xml&amp;quot;. These advanced settings can be used to tweak various things such as episode naming patterns, special network ports, special behaviors, and more.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following page will describe the structure of the advancedsettings.xml file and the various individual settings.&lt;br /&gt;
&lt;br /&gt;
{{note|&lt;br /&gt;
# All XML tags must be lowercase. The start and end of the advancedsettings.xml file must have the &amp;lt;advancedsettings&amp;gt; and &amp;lt;/advancedsettings&amp;gt; tags.&lt;br /&gt;
# Kodi will only read the advancedsettings.xml file when it starts up. If you make changes while it is running then you must restart Kodi.&lt;br /&gt;
# For some Windows versions, Kodi has two &amp;lt;code&amp;gt;\userdata\&amp;lt;/code&amp;gt; folders. The correct one to put the advancedsettings.xml file in is not the one in Program Files, but in &amp;lt;code&amp;gt;%appdata%\Kodi\userdata\.&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
The layout of &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt; is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;setting&amp;gt;value&amp;lt;/setting&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;setting&amp;gt;value&amp;lt;/setting&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;quot;setting&amp;quot; gives the name of the setting, and &amp;quot;value&amp;quot; gives its value.&lt;br /&gt;
&lt;br /&gt;
A list of the available &amp;quot;setting&amp;quot; strings and their values is given below.&lt;br /&gt;
&lt;br /&gt;
= List of available settings =&lt;br /&gt;
List of available settings that are recognised in the advancedsettings.xml file &amp;lt;ref&amp;gt;https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recommended: Use the table of contents or the search function in your browser to locate items.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting settings ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== loglevel ===&lt;br /&gt;
{{Anchor|.3Cloglevel.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;loglevel&amp;quot; /&amp;gt;&lt;br /&gt;
Sets the logging level used to log errors and information. The &amp;quot;hide&amp;quot; attribute is optional. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;loglevel hide=&amp;quot;attribute&amp;quot;&amp;gt;options&amp;lt;/loglevel&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Attribute&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Action&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;true&#039;&#039;&#039; &lt;br /&gt;
| Hides the &amp;quot;enable debugging&amp;quot; setting in the Settings page. (default)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;false&#039;&#039;&#039;&lt;br /&gt;
| Allows &amp;quot;enable debugging&amp;quot; setting to switch between &#039;&#039;&#039;0&#039;&#039;&#039; and &#039;&#039;&#039;2&#039;&#039;&#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Option&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Action&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;-1&#039;&#039;&#039;&lt;br /&gt;
| No logging, suppresses all log output &lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;0&#039;&#039;&#039;&lt;br /&gt;
| Normal logging, only logging errors (default)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| Debug logging with freemem, fps and cpu usage (no on screen)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;2&#039;&#039;&#039; &lt;br /&gt;
| Same as 1 (with on screen display)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;3&#039;&#039;&#039; &lt;br /&gt;
| Same as 2 + full smb logging (no on screen display)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Example &lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
! Example 1:&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel&amp;gt;2&amp;lt;/loglevel&amp;gt;  &lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Example 2:&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel hide=&amp;quot;true&amp;quot;&amp;gt;2&amp;lt;/loglevel&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The setting is persistent through shutdown and restarts.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If debugging is enabled in the GUI, loglevel will be set to &#039;&#039;&#039;2&#039;&#039;&#039;. This will over-ride the &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt; setting. You must disable the GUI Setting before adding the entry to &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;loglevel&amp;quot; /&amp;gt;&lt;br /&gt;
:&#039;&#039;{{see also|Log_file|label 1=Debug Log}}&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== jsonrpc ===&lt;br /&gt;
{{Anchor|.3Cjsonrpc.3E}}&lt;br /&gt;
To make it easier for developers using the [[JSON RPC]] API in their (third party) applications to debug during development the json output of Kodi can be prettified by setting &#039;&#039;&#039;compactoutput&#039;&#039;&#039; to &#039;&#039;&#039;false&#039;&#039;&#039;. Default json output mode is a compact print which does not contain any unnecessary whitespaces and therefore is difficult to read for humans.&lt;br /&gt;
Furthermore using the &#039;&#039;&#039;tcpport&#039;&#039;&#039; setting it is possible to change the default TCP port used by Kodi for JSON RPC (which is 9090) to any other valid port.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;jsonrpc&amp;gt;&lt;br /&gt;
    &amp;lt;compactoutput&amp;gt;false&amp;lt;/compactoutput&amp;gt;&lt;br /&gt;
    &amp;lt;tcpport&amp;gt;9999&amp;lt;/tcpport&amp;gt;&lt;br /&gt;
&amp;lt;/jsonrpc&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Audio/video playback settings ==&lt;br /&gt;
&lt;br /&gt;
=== skiploopfilter ===&lt;br /&gt;
{{anchor|.3Cskiploopfilter.3E}}&lt;br /&gt;
The amount of the loop filter to skip on h.264 decoding.  This can help the performance of slower machines when decoding h264 content.  Values, in decreasing CPU usage (and decreasing quality)&lt;br /&gt;
* -16 None&lt;br /&gt;
* 0 Skip only empty frames (default)&lt;br /&gt;
* 8 Skip non-reference frames&lt;br /&gt;
* 16 Skip bi-dir frames&lt;br /&gt;
* 32 Skip all non-key frames&lt;br /&gt;
* 48 Skip all frames&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;skiploopfilter&amp;gt;8&amp;lt;/skiploopfilter&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== video ===&lt;br /&gt;
{{anchor|.3Cvideo.3E}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;video&amp;gt; section also includes the following child-tags, which have their own sections:&lt;br /&gt;
*[[#cleandatetime]]&lt;br /&gt;
*[[#cleanstrings]]&lt;br /&gt;
*[[#excludefromscan]]&lt;br /&gt;
*[[#excludefromlisting]]&lt;br /&gt;
*[[#excludetvshowsfromscan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{note|Some tags that have a &amp;quot;third-level&amp;quot; and are grouped together are highlighted in color.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Tag !! Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Parent tag that all other child tags need to be placed inside of. Do not use more than one &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;video&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; tag, but instead place all other child-tags within a single &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;video&amp;gt;&amp;lt;/video&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; set.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;subsdelayrange&amp;gt;10&amp;lt;/subsdelayrange&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Delay range for subtitles, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;maxtempo&amp;gt;2.1&amp;lt;/maxtempo&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Allow further increase of playback speed over the default of 1.5&amp;lt;br&amp;gt;&lt;br /&gt;
maxtempo must be in the range of 1.5 to 2.1 &amp;lt;br&amp;gt;&lt;br /&gt;
Be aware of the limitations of your platform / hardware as not all are capable of the increased maxtempo &amp;lt;ref&amp;gt;https://forum.kodi.tv/showthread.php?tid=10023&amp;amp;pid=2795069#pid2795069&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;audiodelayrange&amp;gt;10&amp;lt;/audiodelayrange&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Delay range for audio/video sync, in seconds.&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;usetimeseeking&amp;gt;true&amp;lt;/usetimeseeking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Whether to use time based or percentage based seeking. {{small see also|HOW-TO:Modify time seeking}}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekforwardbig&amp;gt;600&amp;lt;/timeseekforwardbig&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekbackwardbig&amp;gt;-600&amp;lt;/timeseekbackwardbig&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Time to seek forward in seconds when doing a long seek.  Defaults to 600 (10 minutes) and -600 (-10 minutes) respectively. &#039;&#039;{{small|See also: [[HOW-TO:Modify time seeking]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekforward&amp;gt;2&amp;lt;/percentseekforward&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekbackward&amp;gt;-2&amp;lt;/percentseekbackward&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Amount to seek forward as a percentage, when doing a short seek.  Defaults to 2 (2%) and -2 (2%) respectively. &#039;&#039;{{small|See also: [[HOW-TO:Modify time seeking]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekforwardbig&amp;gt;10&amp;lt;/percentseekforwardbig&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekbackwardbig&amp;gt;-10&amp;lt;/percentseekbackwardbig&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Amount to seek forward as a percentage, when doing a long seek.  Defaults to 10 (10%) and -10 (10%) respectively. &#039;&#039;{{small|See also: [[HOW-TO:Modify time seeking]] }}&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;fullscreenonmoviestart&amp;gt;true&amp;lt;/fullscreenonmoviestart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Whether to go to fullscreen or not when starting a movie. Defaults to true.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;defaultplayer&amp;gt;VideoPlayer&amp;lt;/defaultplayer&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Set the default video player: VideoPlayer or an external player. See &#039;&#039;&#039;[[External players]]&#039;&#039;&#039; for more info.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromscan&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Regular expressions that if evaluated to true won&#039;t be added to library.  It is possible to add multiple &amp;lt;code&amp;gt;&amp;lt;regexp&amp;gt;&amp;lt;/code&amp;gt; tags to match multiple patterns&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromlisting&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromlisting&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Regular expressions that if evaluated to true won&#039;t be displayed in files view.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;playcountminimumpercent&amp;gt;90&amp;lt;/playcountminimumpercent&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Minimum percentage that has to be played before it is marked as watched. Set to 101 to never auto-mark items as watched. &#039;&#039;{{small|See also: [[HOW-TO:Modify automatic watch and resume points]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ignoresecondsatstart&amp;gt;180&amp;lt;/ignoresecondsatstart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Number of seconds to ignore at video start after which a resume point is created. &#039;&#039;{{small|See also: [[HOW-TO:Modify automatic watch and resume points]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ignorepercentatend&amp;gt;8&amp;lt;/ignorepercentatend&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Percentage of video to ignore at the end. If you stop watching the video here no resume point is created. Set to 101 to never save a resume point. The video is already marked as watched at 90%, see above. &#039;&#039;{{small|See also: [[HOW-TO:Modify automatic watch and resume points]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;vdpauscaling&amp;gt;true&amp;lt;/vdpauscaling&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Scales with vdpau instead of opengl and turns on its HQ scaler when available, enabling this might slow down rendering and cause framedrops especially on ION systems, this setting requires a vdpau feature set C GPU.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;enablehighqualityhwscalers&amp;gt;true&amp;lt;/enablehighqualityhwscalers&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Allow turning on the spline36 and lanczos3 shader (for GL builds).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;dxvaallowhqscaling&amp;gt;false&amp;lt;/dxvaallowhqscaling&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Enables high quality video upscaling for Windows.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ppffmpegdeinterlacing&amp;gt;linblenddeint&amp;lt;/ppffmpegdeinterlacing&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Override the deinterlacing options passed to libpostproc.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ppffmpegpostprocessing&amp;gt;ha:128:7,va,dr&amp;lt;/ppffmpegpostprocessing&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Override the post processing options passed to libpostproc when &#039;Video post-processing&#039; is activated in GUI Videos-Settings-Playback.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;autoscalemaxfps&amp;gt;30&amp;lt;/autoscalemaxfps&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| When scaling method is set to auto, bilinear is chosen when the fps is higher than this limit, the default is 30.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;adjustrefreshrate&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | Settings for when &amp;quot;Adjust refreshrate to match video fps&amp;quot; is enabled in the video playback GUI settings.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;override&amp;gt;&lt;br /&gt;
      &amp;lt;fps&amp;gt;23.976&amp;lt;/fps&amp;gt;&lt;br /&gt;
      &amp;lt;refresh&amp;gt;60.0&amp;lt;/refresh&amp;gt;&lt;br /&gt;
    &amp;lt;/override&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; &amp;quot;Adjust refreshrate to match video fps&amp;quot; will try to select the best refreshrate for the video fps but it doesn&#039;t always get it right, for example it might switch to an unsupported refreshrate. You can add overrides here to switch to a certain refreshrate based on video fps. It&#039;s possible to add as many overrides as you need.  Overrides are processed in order, if the first one doesn&#039;t match the fps or no refreshrates match that override, it will try the next one until no overrides are left.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fps&#039;&#039;&#039; - if the fps is between 23.966 and 23.986&lt;br /&gt;
* &#039;&#039;&#039;refresh&#039;&#039;&#039; - switch to the first found refreshrate that is between 59.99 and 60.01&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;override&amp;gt;&lt;br /&gt;
      &amp;lt;fpsmin&amp;gt;29.96&amp;lt;/fpsmin&amp;gt;&lt;br /&gt;
      &amp;lt;fpsmax&amp;gt;30.01&amp;lt;/fpsmax&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmin&amp;gt;59.0&amp;lt;/refreshmin&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmax&amp;gt;61.0&amp;lt;/refreshmax&amp;gt;&lt;br /&gt;
    &amp;lt;/override&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;fpsmin&#039;&#039;&#039; / &#039;&#039;&#039;fpsmin&#039;&#039;&#039; - You can also specify the fps range yourself.&lt;br /&gt;
* &#039;&#039;&#039;refreshmin&#039;&#039;&#039; / &#039;&#039;&#039;refreshmax&#039;&#039;&#039; - Same for the refreshrate&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;fallback&amp;gt;&lt;br /&gt;
      &amp;lt;refresh&amp;gt;50.0&amp;lt;/refresh&amp;gt;&lt;br /&gt;
    &amp;lt;/fallback&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; If none of the overrides match, or none of the refreshrates match any of the fps matching overrides, it will choose a fallback refreshrate. Fallbacks are process in order, if the first fallback doesn&#039;t match any refreshrate, it will try the next one until no fallbacks are left.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;refresh&#039;&#039;&#039; - Switch to the first found refreshrate that is between 49.99 and 50.01.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;fallback&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmin&amp;gt;49.0&amp;lt;/refreshmin&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmax&amp;gt;51.0&amp;lt;/refreshmax&amp;gt;&lt;br /&gt;
    &amp;lt;/fallback&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; You can also specify the range for the fallback yourself.&lt;br /&gt;
&lt;br /&gt;
If none of the overrides match the video fps, or no refreshrates match any of the fps matching overrides, and no fallbacks are specified or no refreshrates match any fallbacks, it will automatically choose the best refreshrate (same as having no overrides and fallbacks).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;/adjustrefreshrate&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;checkdxvacompatibility&amp;gt;value&amp;lt;/checkdxvacompatibility&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Advanced setting not present: let Kodi autodetect cards that support H.264 profile &amp;gt; L4.1. Set value to false to enable DXVA no matter what. Set value to true if Kodi doesn&#039;t autodetect that the graphics card doesn&#039;t support &amp;gt; L4.1.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;useocclusionquery&amp;gt;-1&amp;lt;/useocclusionquery&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Use an occlusion query when capturing videoframes, -1 means auto detect, 0 means disabled, 1 means enabled, the default is -1.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;fpsdetect&amp;gt;1&amp;lt;/fpsdetect&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| FPS detection for video playback&lt;br /&gt;
* 0 = trust codec fps&lt;br /&gt;
* 1 = recalculate from video timestamps with uniform spacing&lt;br /&gt;
* 2 = recalculate from video timestamps always&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;latency&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot;| Start of &#039;&#039;&#039;latency&#039;&#039;&#039; tags. Display latency (video lag). Latency is given in msecs.&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;delay&amp;gt;0&amp;lt;/delay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | Global default display latency.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;refresh&amp;gt;&amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | Override latency for given display (not video) refresh rates. When Kodi is in windowed mode, override is ignored. Multiple overrides are allowed.&lt;br /&gt;
&lt;br /&gt;
Syntax of an override entry:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;refresh&amp;gt;&lt;br /&gt;
  &amp;lt;min&amp;gt;, &amp;lt;max&amp;gt; refresh rate range, OR&lt;br /&gt;
  &amp;lt;rate&amp;gt; exact refresh rate&lt;br /&gt;
  &amp;lt;delay&amp;gt; display latency for the given refresh rate&lt;br /&gt;
&amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;refresh&amp;gt;&lt;br /&gt;
      &amp;lt;min&amp;gt;23&amp;lt;/min&amp;gt;&lt;br /&gt;
      &amp;lt;max&amp;gt;24&amp;lt;/max&amp;gt;&lt;br /&gt;
      &amp;lt;delay&amp;gt;125&amp;lt;/delay&amp;gt;&lt;br /&gt;
    &amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | &#039;&#039;&#039;Example:&#039;&#039;&#039; display has 125 msec latency at 23-24 Hz&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;refresh&amp;gt;&lt;br /&gt;
      &amp;lt;rate&amp;gt;50&amp;lt;/rate&amp;gt;&lt;br /&gt;
      &amp;lt;delay&amp;gt;50&amp;lt;/delay&amp;gt;&lt;br /&gt;
    &amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | &#039;&#039;&#039;Example:&#039;&#039;&#039; display has 50 msec latency at 50 (+/-0.01) Hz&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;/latency&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;stereoscopicregex3d&amp;gt;[-. _]3d[-. _]&amp;lt;/stereoscopicregex3d&amp;gt;&lt;br /&gt;
  &amp;lt;stereoscopicregexsbs&amp;gt;[-. _]h?sbs[-. _]&amp;lt;/stereoscopicregexsbs&amp;gt;&lt;br /&gt;
  &amp;lt;stereoscopicregextab&amp;gt;[-. _]h?tab[-. _]&amp;lt;/stereoscopicregextab&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Filename triggers for 3D (stereoscopic) mode.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;assfixedworks&amp;gt;false&amp;lt;/assfixedworks&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Position behavior of ass subtitiles when setting &amp;quot;subtitle position on screen&amp;quot; set to &amp;quot;fixed&amp;quot;. True to show at the fixed position set in video calibration. False to show at the bottom of video (default).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== audio ===&lt;br /&gt;
{{anchor|.3Caudio.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;audio&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount of headroom Kodi should use above the maximum volume level, in decibels.  Defaults to 0, valid values 0, 6, 12. --&amp;gt;&lt;br /&gt;
  &amp;lt;headroom&amp;gt;0&amp;lt;/headroom&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Default audio player: paplayer or videoplayer --&amp;gt;&lt;br /&gt;
  &amp;lt;defaultplayer&amp;gt;paplayer&amp;lt;/defaultplayer&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be added to library. --&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt; &lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](podcast)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromscan&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be displayed in Files View --&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromlisting&amp;gt; &lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](podcast)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromlisting&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount of gain (dB) to be applied to AC3 streams that have been mixed-down to 2 channels. Default is 12.0. Valid values are: -96.0 to 96.0. --&amp;gt;&lt;br /&gt;
  &amp;lt;ac3downmixgain&amp;gt;12.0&amp;lt;/ac3downmixgain&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Whether to use time based or percentage based seeking. --&amp;gt;&lt;br /&gt;
  &amp;lt;usetimeseeking&amp;gt;true&amp;lt;/usetimeseeking&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Time to seek forward in seconds when doing a long seek.  Defaults to 600 (10 minutes) and -600 (-10 minutes) respectively. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekforwardbig&amp;gt;600&amp;lt;/timeseekfowardbig&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Time to seek backward in seconds when doing a long seek back.  Defaults to 600 (10 minutes) and -600 (-10 minutes) respectively. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekbackwardbig&amp;gt;-600&amp;lt;/timeseekbackward&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Minimum percentage that has to be played before it is considered for incrementing in the Top 100 database view, or for last.fm submittal --&amp;gt;&lt;br /&gt;
  &amp;lt;playcountminimumpercent&amp;gt;99&amp;lt;/playcountminimumpercent&amp;gt; &lt;br /&gt;
  &amp;lt;!-- Whether to use Dynamic Range Compression (DRC) on AC3 streams. 1.0 is &amp;quot;full&amp;quot; compression, as defined by the audio track&#039;s metadata, which is recommended for &amp;quot;basic&amp;quot; sound systems such as the internal speakers on a TV. 0.0 is no compression at all, which is recommended for people with nice multi-speaker sound systems. -1.0 (default) defaults to whatever ffmpeg uses, which is currently the same as 1.0. This has no effect if passthrough is enabled for AC3. --&amp;gt;&lt;br /&gt;
  &amp;lt;applydrc&amp;gt;-1.0&amp;lt;/applydrc&amp;gt; &lt;br /&gt;
  &amp;lt;!-- default values for limiter/compressor --&amp;gt;&lt;br /&gt;
  &amp;lt;limiterhold&amp;gt;0.025&amp;lt;/limiterhold&amp;gt; &lt;br /&gt;
  &amp;lt;!-- default values for limiter/compressor --&amp;gt;&lt;br /&gt;
  &amp;lt;limiterrelease&amp;gt;0.1&amp;lt;/limiterrelease&amp;gt; &lt;br /&gt;
&amp;lt;/audio&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more information on the configuration of audio under Frodo see [[AudioEngine/HOW-TO: Configure audio]]&lt;br /&gt;
&lt;br /&gt;
=== edl ===&lt;br /&gt;
{{anchor|.3Cedl.3E}}&lt;br /&gt;
{{main|EDL}}&lt;br /&gt;
Commercial break detection not as good you think it could be? Are some commercial breaks in a series of adverts not being skipped? Are some parts being skipped that are clearly not commercials? Does the end of the previous recording still show? The following advanced settings can be used to better identify full commercial break sequences, remove incorrectly flagged commercial breaks, and have playback start at the actual beginning of the recording.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;edl&amp;gt;&lt;br /&gt;
  &amp;lt;!-- if true, commercial breaks will be merged according to the remaining options. --&amp;gt;&lt;br /&gt;
  &amp;lt;mergeshortcommbreaks&amp;gt;false&amp;lt;/mergeshortcommbreaks&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Commercial breaks won&#039;t be merged if the total length of the commercial break would be greater than this (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;maxcommbreaklength&amp;gt;250&amp;lt;/maxcommbreaklength&amp;gt;&lt;br /&gt;
  &amp;lt;!-- After merging, commercial breaks shorter than this will be removed (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;mincommbreaklength&amp;gt;90&amp;lt;/mincommbreaklength&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Commercial breaks that are further apart than this won&#039;t be merged (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;maxcommbreakgap&amp;gt;120&amp;lt;/maxcommbreakgap&amp;gt;&lt;br /&gt;
  &amp;lt;!-- How long to wait before automatically skipping when the start of a commercial break reached (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;commbreakautowait&amp;gt;0&amp;lt;/commbreakautowait&amp;gt;&lt;br /&gt;
  &amp;lt;!-- How long to rewind after automatically skipping to the end of the commercial break (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;commbreakautowind&amp;gt;0&amp;lt;/commbreakautowind&amp;gt;&lt;br /&gt;
&amp;lt;/edl&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== pvr ===&lt;br /&gt;
{{anchor|.3Cpvr.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pvr&amp;gt;&lt;br /&gt;
  &amp;lt;timecorrection&amp;gt;0&amp;lt;/timecorrection&amp;gt;  &amp;lt;!-- Correct all times (epg tags, timer tags, recording tags) by this amount of minutes. --&amp;gt;&lt;br /&gt;
  &amp;lt;infotoggleinterval&amp;gt;3000&amp;lt;/infotoggleinterval&amp;gt;  &amp;lt;!-- If there is more than one pvr gui info item available (e.g. multiple recordings active at the same time), use this toggle delay in milliseconds. --&amp;gt;&lt;br /&gt;
  &amp;lt;channeliconsautoscan&amp;gt;true&amp;lt;/channeliconsautoscan&amp;gt; &amp;lt;!-- Automatically scan user defined folder for channel icons when loading internal channel groups. --&amp;gt;&lt;br /&gt;
  &amp;lt;autoscaniconsuserset&amp;gt;false&amp;lt;/autoscaniconsuserset&amp;gt; &amp;lt;!-- Mark channel icons populated by auto scan as &amp;quot;user set&amp;quot;. --&amp;gt;&lt;br /&gt;
  &amp;lt;numericchannelswitchtimeout&amp;gt;1000&amp;lt;/numericchannelswitchtimeout&amp;gt; &amp;lt;!-- Time in ms before the numeric dialog auto closes when confirmchannelswitch is disabled. --&amp;gt;&lt;br /&gt;
&amp;lt;/pvr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== epg ===&lt;br /&gt;
{{anchor|.3Cpvr.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;epg&amp;gt;&lt;br /&gt;
  &amp;lt;updatecheckinterval&amp;gt;300&amp;lt;/updatecheckinterval&amp;gt;  &amp;lt;!-- Check every X seconds, if EPG data need to be updated. This does not mean that every X seconds an EPG update is actually triggered, it&#039;s just the interval how often to check whether an update should be triggered. If this value is greater than GUI setting &#039;epg.epgupdate&#039; value, then EPG updates will done with the value specified for &#039;updatecheckinterval&#039;, effectively overriding the GUI setting&#039;s value. --&amp;gt;&lt;br /&gt;
  &amp;lt;updateemptytagsinterval&amp;gt;60&amp;lt;/updateemptytagsinterval&amp;gt;  &amp;lt;!-- If a TV channel has no EPG data, try to obtain data for that channel every X seconds. This overrides the GUI setting &#039;epg.epgupdate&#039; value, but only for channels without EPG data. If this value is less than &#039;updatecheckinterval&#039; value, then data update will be done with the interval specified by &#039;updatecheckinterval&#039;. Example 1: epg.epgupdate = 120 (minutes!), updatecheckinterval = 300, updateemptytagsinterval = 60 =&amp;gt; trigger an EPG update for every channel without EPG data every 5 minutes and trigger an EPG update for every channel with EPG data every 2 hours. Example 2: epg.epgupdate = 120 (minutes!), updatecheckinterval = 300, updateemptytagsinterval = 3600 =&amp;gt; trigger an EPG update for every channel without EPG data every 2 hours and trigger an EPG update for every channel with EPG data every 1 hour. --&amp;gt;&lt;br /&gt;
  &amp;lt;cleanupinterval&amp;gt;900&amp;lt;/cleanupinterval&amp;gt;  &amp;lt;!-- remove old entries from the EPG every X seconds --&amp;gt;&lt;br /&gt;
  &amp;lt;activetagcheckinterval&amp;gt;60&amp;lt;/activetagcheckinterval&amp;gt;  &amp;lt;!-- check for updated active tags every X seconds --&amp;gt;&lt;br /&gt;
  &amp;lt;retryinterruptedupdateinterval&amp;gt;60&amp;lt;/retryinterruptedupdateinterval&amp;gt;  &amp;lt;!-- retry an interrupted EPG update after X seconds --&amp;gt;&lt;br /&gt;
  &amp;lt;displayupdatepopup&amp;gt;true&amp;lt;/displayupdatepopup&amp;gt;  &amp;lt;!-- display a progress popup while updating EPG data from clients --&amp;gt;&lt;br /&gt;
  &amp;lt;displayincrementalupdatepopup&amp;gt;false&amp;lt;/displayincrementalupdatepopup&amp;gt;  &amp;lt;!-- also display a progress popup while doing incremental EPG updates --&amp;gt;&lt;br /&gt;
&amp;lt;/epg&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== forcedswaptime ===&lt;br /&gt;
{{anchor|.3Cforcedswaptime.3E}}&lt;br /&gt;
Use to force a backbuffer-&amp;gt;frontbuffer swap while vsync is enabled. Set to the time (in ms) to allow for the swap (e.g. &amp;lt;forcedswaptime&amp;gt;1&amp;lt;/forcedswaptime&amp;gt; is typical).  &lt;br /&gt;
&lt;br /&gt;
Default: Off&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== omxdecodestartwithvalidframe ===&lt;br /&gt;
{{note|This tag is only in some Raspberry Pi specific distributions, such as [[OpenELEC]]. As of March 2015, this tag has not been merged into &amp;quot;vanilla&amp;quot; Kodi builds.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;omxdecodestartwithvalidframe&amp;gt;&amp;lt;/omxdecodestartwithvalidframe&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video library settings ==&lt;br /&gt;
&lt;br /&gt;
=== videoextensions ===&lt;br /&gt;
{{anchor|.3Cvideoextensions.3E}}&amp;lt;section begin=&amp;quot;videoextensions&amp;quot; /&amp;gt;&lt;br /&gt;
A list of additional file-extensions to allow (&#039;&#039;&#039;add&#039;&#039;&#039;) or exclude (&#039;&#039;&#039;remove&#039;&#039;&#039;) in the My Video windows.&lt;br /&gt;
&lt;br /&gt;
Default extensions for VIDEOS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.m4v .3g2 .3gp .nsv .tp .ts .ty .strm .pls .rm .rmvb .mpd .m3u .m3u8 .ifo .mov .qt .divx .xvid&lt;br /&gt;
.bivx .vob .nrg .pva .wmv .asf .asx .ogm .m2v .avi .dat .mpg .mpeg .mp4 .mkv .mk3d .avc .vp3&lt;br /&gt;
.svq3 .nuv .viv .dv .fli .flv .001 .wpl .vdr .dvr-ms .xsp .mts .m2t .m2ts .evo .ogv .sdp .avs&lt;br /&gt;
.rec .url .pxml .vc1 .h264 .rcv .rss .mpls .webm .bdmv .wtv .trp .f4v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;videoextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.ex1|.ex2&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.ex3|.ex4&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/videoextensions&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;videoextensions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== discstubextensions ===&lt;br /&gt;
{{main|Media stubs}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;discstubextensions&amp;quot; /&amp;gt;&lt;br /&gt;
The default filename extension for Disc Stubs is:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
.disc&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Using the following tags, it is possible to &amp;lt;tt&amp;gt;&amp;lt;add&amp;gt;&amp;lt;/tt&amp;gt; additional or &amp;lt;tt&amp;gt;&amp;lt;remove&amp;gt;&amp;lt;/tt&amp;gt; existing disc stub extensions to better suit your requirements.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;discstubextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.disk|.stub&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.disc&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/discstubextensions&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;discstubextensions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== languagecodes ===&lt;br /&gt;
{{anchor|.3Clanguagecodes.3E}}&lt;br /&gt;
Translation table for subtitle and audio names.  Contains entries of the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;languagecodes&amp;gt;&lt;br /&gt;
  &amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;short&amp;gt;alt&amp;lt;/short&amp;gt;&lt;br /&gt;
    &amp;lt;long&amp;gt;Alternate&amp;lt;/long&amp;gt;&lt;br /&gt;
  &amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/languagecodes&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== moviestacking ===&lt;br /&gt;
{{anchor|.3Cmoviestacking.3E}}&amp;lt;section begin=&amp;quot;moviestacking&amp;quot; /&amp;gt;&lt;br /&gt;
{{main|File stacking}}&lt;br /&gt;
This is used by the [[file stacking]] algorithm to combine multi-part files and contains a list of &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|regular expressions]]&#039;&#039;&amp;quot;. For stacking videos that are contained in folders, such as VIDEO_TS folders, see &#039;&#039;&#039;[[advancedsettings.xml#folderstacking|&amp;lt;folderstacking&amp;gt;]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As of v9.11, video stacking regular expressions &#039;&#039;&#039;must&#039;&#039;&#039; contain exactly four (4) capture expressions. &lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;moviestacking&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/part/pt/disk/disc&amp;gt; &amp;lt;0-N&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck])[ _.-]*[0-9]+)(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/part/pt/disk/disc&amp;gt; &amp;lt;a-d&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck])[ _.-]*[a-d])(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;!-- movienamea-xvid.avi, movienameb-xvid.avi --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ ._-]*[a-d])(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/moviestacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the argument &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;append=&amp;quot;yes&amp;quot;&amp;lt;/tt&amp;gt; is supplied, the default moviestacking regular expressions will remain intact and the user specified ones will be added to the end.  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;moviestacking action=&amp;quot;append&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This expression will match movename1-xvid.avi, moviename2-xvid.avi.&lt;br /&gt;
         Be warned that it will likely stack sequels in a flat directory layout,&lt;br /&gt;
         so it is only recommend in a dir-per-video layout. --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ ._-]*[0-9])(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/moviestacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the argument &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; is supplied, the default moviestacking regular expressions will remain intact and the user specified ones will be added to the beginning. &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;moviestacking action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(Title)(Volume)(Ignore)(Extension)&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/moviestacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no argument is supplied, or the argument &amp;lt;tt&amp;gt;append=&amp;quot;no&amp;quot;&amp;lt;/tt&amp;gt; is supplied, the default moviestacking regular expressions are overwritten by the user specified ones.&lt;br /&gt;
&amp;lt;section end=&amp;quot;moviestacking&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== folderstacking ===&lt;br /&gt;
{{main|File stacking}}&lt;br /&gt;
This is similar to &#039;&#039;&#039;[[advancedsettings.xml#moviestacking|&amp;lt;moviestacking&amp;gt;]]&#039;&#039;&#039;, but is used for videos that are contained in folders that use the folder names to stack, such as VIDEO_TS folders (DVD rips that are not in ISO format).&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;folderstacking&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/disk/disc&amp;gt; &amp;lt;0-N&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;((cd|dvd|dis[ck])[0-9]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/folderstacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cleandatetime ===&lt;br /&gt;
{{anchor|.3Ccleandatetime.3E}}&lt;br /&gt;
Matches a year number in a string using a &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expression]]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Default expression:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;cleandatetime&amp;gt;(.*[^ _\,\.\(\)\[\]\-])[ _\.\(\)\[\]\-]+(19[0-9][0-9]|20[0-9][0-9])([ _\,\.\(\)\[\]\-]|[^0-9]$)?&amp;lt;/cleandatetime&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:* The string found before will be used as basis string getting cleaned by the cleanstrings expressions. &lt;br /&gt;
:* By default date formats like MM:YY are ignored.&lt;br /&gt;
&lt;br /&gt;
=== cleanstrings ===&lt;br /&gt;
{{anchor|.3Ccleanstrings.3E}}&lt;br /&gt;
Clean unwanted characters from filenames or folders by using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;. Please note that everything right of the match (at the end of the file name) is removed, so if you would have a file named &#039;&#039;Super movie.mp4&#039;&#039; and would add &amp;lt;tt&amp;gt;&amp;lt;regexp&amp;gt; &amp;lt;/regexp&amp;gt;&amp;lt;/tt&amp;gt; (only a space), the only thing that would be left is &#039;&#039;Super&#039;&#039;, which is probably not what you want.&lt;br /&gt;
&lt;br /&gt;
Default expressions:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;cleanstrings&amp;gt;&lt;br /&gt;
   &amp;lt;regexp&amp;gt;[ _\,\.\(\)\[\]\-](ac3|dts|custom|dc|remastered|divx|divx5|dsr|dsrip|dutch|dvd|dvd5|dvd9|dvdrip|dvdscr|dvdscreener|screener|dvdivx|cam|fragment|fs|hdtv|hdrip|hdtvrip|internal|limited|multisubs|ntsc|ogg|ogm|pal|pdtv|proper|repack|rerip|retail|r3|r5|bd5|se|svcd|swedish|german|read.nfo|nfofix|unrated|extended|ws|telesync|ts|telecine|tc|brrip|bdrip|480p|480i|576p|576i|720p|720i|1080p|1080i|3d|hrhd|hrhdtv|hddvd|bluray|x264|h264|xvid|xvidvd|xxx|www.www|cd[1-9]|\[.*\])([ _\,\.\(\)\[\]\-]|$)&amp;lt;/regexp&amp;gt;&lt;br /&gt;
   &amp;lt;regexp&amp;gt;(\[.*\])&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/cleanstrings&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
&lt;br /&gt;
=== tvshowmatching ===&lt;br /&gt;
{{anchor|.3Ctvshowmatching.3E}}&lt;br /&gt;
Matches the season and episode numbers in file paths by using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tvshowmatching&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;s([0-9]+)[ ._x-]*e([0-9]+(?:(?:[a-i]|\\.[1-9])(?![0-9]))?)([^\\\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.s01.e01, foo.s01_e01, S01E02 foo, S01 - E02, S01xE02 --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\._ -]()[Ee][Pp]_?([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.ep01, foo.EP_01 --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;([0-9]{4})[\.-]([0-9]{2})[\.-]([0-9]{2})&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.yyyy.mm.dd.* (byDate=true) --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;([0-9]{2})[\.-]([0-9]{2})[\.-]([0-9]{4})&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.mm.dd.yyyy.* (byDate=true) --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\\/\._ \[\(-]([0-9]+)x([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.1x09* or just /1x09* --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\\/\._ -]([0-9]+)([0-9][0-9])([\._ -][^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.103*, 103 foo --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\/._ -]p(?:ar)?t[_. -]()([ivx]+)([._ -][^\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- Part I, Pt.VI --&amp;gt;&lt;br /&gt;
&amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
:* Paths are converted to lower case before matching.&lt;br /&gt;
:* Examples of matching regexps for certain filenames can be found on the [[TV Shows (Video Library)|TV shows]] page.&lt;br /&gt;
&lt;br /&gt;
:* For multi-episode matching to work, there needs to be a third set of parentheses &#039;()&#039; at the end, this part is fed back into the regexp engine.&lt;br /&gt;
&lt;br /&gt;
:* A [https://forum.kodi.tv/showthread.php?tid=51614 forum thread] has a discussion of pre-made regex lists to match common names. These might improve Kodi&#039;s ability to match TV show names in some situations, at the risk of additional false positives.&lt;br /&gt;
&lt;br /&gt;
==== Filenames without Season ====&lt;br /&gt;
There are two methods to add episodes without a season in their file path. Both ways will force the season to &#039;1&#039; by default, so that you can use&lt;br /&gt;
the &#039;Use Absolute Ordering (Single Season)&#039; setting from the TheTvDb.com scraper.&lt;br /&gt;
&lt;br /&gt;
; Simple Method &#039;&#039;(XBMC v9.11 onwards and Kodi)&#039;&#039;&lt;br /&gt;
: Use only one pair of parentheses&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;regexp&amp;gt;[/\._ \-]([0-9]+)&amp;lt;/regexp&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
; Advanced Method &#039;&#039;(XBMC v10.05 onwards and Kodi)&#039;&#039;&lt;br /&gt;
: Supports multi-episode files without season&lt;br /&gt;
: Use an empty pair of parentheses for the season&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;regexp&amp;gt;[/\._ \-]()([0-9]+)(-[0-9]+)?&amp;lt;/regexp&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Specifying Default Season &#039;&#039;(XBMC v12.0 onwards and Kodi)&#039;&#039;&lt;br /&gt;
It is possible to set the default season for specific regular expressions by setting the &#039;defaultseason&#039; attribute.&lt;br /&gt;
: Works with both the simple method and advanced method&lt;br /&gt;
: If not used, the season will be set to &#039;1&#039;&lt;br /&gt;
: Useful for setting specials to season &#039;0&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;regexp defaultseason=&amp;quot;0&amp;quot;&amp;gt;[/\._ \-]X()([0-9]+)(-[0-9]+)?&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;regexp defaultseason=&amp;quot;1&amp;quot;&amp;gt;[/\._ \-]E()([0-9]+)(-[0-9]+)?&amp;lt;/regexp&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== tvmultipartmatching ===&lt;br /&gt;
{{anchor|.3Ctvmultipartmatching.3E}}&lt;br /&gt;
Matches a multipart episode number based on a previously identified episode file, using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tvmultipartmatching&amp;gt;^[-_ex]+([0-9]+(?:(?:[a-i]|\\.[1-9])(?![0-9]))?)&amp;lt;/tvmultipartmatching&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:* Text matching is compared case-insensitive.&lt;br /&gt;
:* Specifying this option &#039;&#039;&#039;replaces&#039;&#039;&#039; the default value&lt;br /&gt;
&lt;br /&gt;
=== excludefromscan ===&lt;br /&gt;
{{anchor|.3Cexcludefromscan.3E}}&lt;br /&gt;
Matches filenames or folders which should be excluded from a library scan (except tvshows) using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;. This can be for both Video or Audio sections of &amp;lt;tt&amp;gt;advancedsettings.xml&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;-trailer&amp;lt;/regexp&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[!-._ \\/]sample[-._ \\/]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromscan&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
&lt;br /&gt;
=== excludefromlisting ===&lt;br /&gt;
{{anchor|.3Cexcludefromlisting.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;  &lt;br /&gt;
  &amp;lt;excludefromlisting&amp;gt; &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be displayed in Files View --&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromlisting&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== excludetvshowsfromscan ===&lt;br /&gt;
{{anchor|.3Cexcludetvshowsfromscan.3E}}&lt;br /&gt;
Matches filenames or folders which should be excluded from a tvshow library scan using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;excludetvshowsfromscan&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[!-._ \\/]sample[-._ \\/]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludetvshowsfromscan&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
&lt;br /&gt;
=== trailermatching ===&lt;br /&gt;
{{anchor|.3Ctrailermatching.3E}}&lt;br /&gt;
Contains &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expression]]&#039;&#039;&amp;quot; syntax (commonly referred to as &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|RegEx]]&#039;&#039;&amp;quot; or &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|RegExp]]&#039;&#039;&amp;quot;) to match the locally stored trailers to movies in the library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;trailermatching&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This regexp will match moviename_Trailer.avi --&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;(.*?)(_Trailer)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/trailermatching&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== videolibrary ===&lt;br /&gt;
{{anchor|.3Cvideolibrary.3E}}&lt;br /&gt;
Options specific to the Video Library&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line=&#039;line&#039;&amp;gt;&lt;br /&gt;
  &amp;lt;videolibrary&amp;gt;&lt;br /&gt;
    &amp;lt;allitemsonbottom&amp;gt;false&amp;lt;/allitemsonbottom&amp;gt;  &amp;lt;!-- sorts the &amp;quot;*All&amp;quot; items at the bottom of the list when in Ascending order --&amp;gt;&lt;br /&gt;
    &amp;lt;cleanonupdate&amp;gt;false&amp;lt;/cleanonupdate&amp;gt;  &amp;lt;!-- default set to false to prevent Kodi from removing items from the database while updating.  --&amp;gt;&lt;br /&gt;
    &amp;lt;usefasthash&amp;gt;true&amp;lt;/usefasthash&amp;gt; &amp;lt;!-- defaults to true. Set to false in order to skip hashing based on the folders modification time. --&amp;gt;&lt;br /&gt;
    &amp;lt;recentlyaddeditems&amp;gt;35&amp;lt;/recentlyaddeditems&amp;gt; &amp;lt;!-- number of recently added items. Defaults to 25 --&amp;gt;&lt;br /&gt;
    &amp;lt;itemseparator&amp;gt; / &amp;lt;/itemseparator&amp;gt;  &amp;lt;!-- separator used for multiple artists/genres in tags. Note, this is *space* *slash* *space* --&amp;gt;&lt;br /&gt;
    &amp;lt;exportautothumbs&amp;gt;false&amp;lt;/exportautothumbs&amp;gt;  &amp;lt;!-- export auto-generated thumbs. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;importwatchedstate&amp;gt;false&amp;lt;/importwatchedstate&amp;gt;  &amp;lt;!-- import previously exported playdate and playcount from .nfo files. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;importresumepoint&amp;gt;false&amp;lt;/importresumepoint&amp;gt;  &amp;lt;!-- import previously exported resume point from .nfo files. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;dateadded&amp;gt;1&amp;lt;/dateadded&amp;gt; &amp;lt;!-- 0 results in using the current datetime when adding a video;&lt;br /&gt;
                                  1 (default) results in prefering to use the files mtime (if it&#039;s valid) and only using the file&#039;s ctime if the mtime isn&#039;t valid;&lt;br /&gt;
                                  2 results in using the newer datetime of the file&#039;s mtime and ctime --&amp;gt;&lt;br /&gt;
  &amp;lt;/videolibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Extra artwork ====&lt;br /&gt;
&lt;br /&gt;
New for Kodi v18.&lt;br /&gt;
Configuration to expand the artwork automatically added by Kodi to media items in the library, either from local files or online scrapers.&lt;br /&gt;
&lt;br /&gt;
The original basic artwork types are still hardcoded so they don&#039;t need to be configured here (and can&#039;t be removed). &amp;quot;poster&amp;quot; and &amp;quot;fanart&amp;quot; for movies, movie sets, TV shows, seasons, and music videos; &amp;quot;banner&amp;quot; for TV shows and seasons; and &amp;quot;thumb&amp;quot; for episodes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;videolibrary&amp;gt;&lt;br /&gt;
    &amp;lt;!-- ... combine with &amp;quot;videolibrary&amp;quot; settings above --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for TV shows --&amp;gt;&lt;br /&gt;
    &amp;lt;tvshowextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;characterart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;keyart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/tvshowextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for TV show seasons --&amp;gt;&lt;br /&gt;
    &amp;lt;tvseasonextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/tvseasonextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for TV show episodes --&amp;gt;&lt;br /&gt;
    &amp;lt;episodeextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;fanart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/episodeextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for movies --&amp;gt;&lt;br /&gt;
    &amp;lt;movieextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;keyart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/movieextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for movie sets / collections --&amp;gt;&lt;br /&gt;
    &amp;lt;moviesetextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;keyart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/moviesetextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for musicvideos --&amp;gt;&lt;br /&gt;
    &amp;lt;musicvideoextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/musicvideoextraart&amp;gt;&lt;br /&gt;
  &amp;lt;/videolibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== videoscanner ===&lt;br /&gt;
{{anchor|.3Cvideoscanner.3E}}&lt;br /&gt;
Options specific to the Video scanner&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;videoscanner&amp;gt;&lt;br /&gt;
    &amp;lt;ignoreerrors&amp;gt;true&amp;lt;/ignoreerrors&amp;gt; &amp;lt;!-- Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don&#039;t have to keep hitting &amp;quot;yes&amp;quot; to keep scanning.--&amp;gt;&lt;br /&gt;
  &amp;lt;/videoscanner&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Library artwork ==&lt;br /&gt;
&lt;br /&gt;
{{note|Using &amp;lt;imageres&amp;gt;9999&amp;lt;/imageres&amp;gt; and &amp;lt;fanartres&amp;gt;9999&amp;lt;/fanartres&amp;gt; will allow caching artwork at original size.}}&lt;br /&gt;
&lt;br /&gt;
=== imageres ===&lt;br /&gt;
{{anchor|.3Cimageres.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;imageres description&amp;quot; /&amp;gt;Specify the maximum resolution that [[Artwork/Cache#Texture optimization| cached artwork]] (other than fanart / 16:9 images) should be resized to in pixels. The width is automatically calculated as being 16/9*height.  The image will be resized to fit within this size. e.g. an image that is 2000x500 will be cached at size 1280x320. An image that is 500x800 will be cached at size 450x720 using the default value of 720.&amp;lt;section end=&amp;quot;imageres description&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imageres&amp;gt;720&amp;lt;/imageres&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== fanartres ===&lt;br /&gt;
{{anchor|.3Cfanartres.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;fanartres description&amp;quot; /&amp;gt;Specify the maximum resolution that [[Artwork/Cache#Texture optimization| cached fanart]] should be resized to in pixels. The width is automatically calculated as being 16/9*height. Only images that are exactly 16x9 and equal to or greater than this resolution will be cached at this size - all other images will be cached using &amp;lt;imageres&amp;gt;. The default value is 1080.&amp;lt;section end=&amp;quot;fanartres description&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fanartres&amp;gt;1080&amp;lt;/fanartres&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== fanart ===&lt;br /&gt;
{{anchor|.3Cfanart.3E}}&lt;br /&gt;
A list of additional files to scan when searching for local fanart images.  (The defaults are fanart.jpg and fanart.png which can be removed.)&lt;br /&gt;
*Used for &#039;&#039;&#039;music only&#039;&#039;&#039;&lt;br /&gt;
*Cannot be used in conjunction with &#039;&#039;[[Advancedsettings.xml#Music_library_extra_artwork|2.6.5.1 Music library extra artwork]]&#039;&#039; to rename extra fanart.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fanart&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;fanart.jpg&amp;lt;/remove&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;backdrop.jpg&amp;lt;/add&amp;gt;&lt;br /&gt;
&amp;lt;/fanart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== musicthumbs ===&lt;br /&gt;
{{anchor|.3Cmusicthumbs.3E}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;musicthumbs&amp;quot; /&amp;gt;A list of additional files to try when searching for music thumbnail images.  (The default is folder.jpg which can be removed.)&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;musicthumbs&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;folder.jpg&amp;lt;/remove&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;thumb.jpg|cover.jpg&amp;lt;/add&amp;gt;&lt;br /&gt;
&amp;lt;/musicthumbs&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;section end=&amp;quot;musicthumbs&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== imagescalingalgorithm ===&lt;br /&gt;
Specify the image scaling algorithm for image resizing when [[Artwork/Cache#Texture optimization| caching artwork]] to the local texture cache.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imagescalingalgorithm&amp;gt;bicubic&amp;lt;/imagescalingalgorithm&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://github.com/xbmc/xbmc/blob/1a8753d5cd93890dc6a9f9d4b2ce8848066ea5d0/xbmc/pictures/PictureScalingAlgorithm.cpp#L32-L43 Available image scaling algorithms]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=text enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
fast_bilinear&lt;br /&gt;
bilinear&lt;br /&gt;
bicubic&lt;br /&gt;
experimental&lt;br /&gt;
nearest_neighbor&lt;br /&gt;
averaging_area&lt;br /&gt;
bicublin&lt;br /&gt;
gaussian&lt;br /&gt;
sinc&lt;br /&gt;
lanczos&lt;br /&gt;
bicubic_spline&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video and music library settings ==&lt;br /&gt;
&lt;br /&gt;
=== playlistasfolders ===&lt;br /&gt;
{{anchor|.3Cplaylistasfolders.3E}}&lt;br /&gt;
In the recent releases, playlists are treated as folders. Selecting a playlist no longer plays it, but opens it, as if it were a folder.&lt;br /&gt;
&lt;br /&gt;
Set to false to revert to the previous behaviour. When you select a playlist, its content is added to the list of elements to be played.&lt;br /&gt;
&lt;br /&gt;
:{{note|This setting will not affect smart playlists, they will always show as folders.}}&lt;br /&gt;
&lt;br /&gt;
;Example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;playlistasfolders&amp;gt;true&amp;lt;/playlistasfolders&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== playlistretries ===&lt;br /&gt;
{{anchor|.3Cplaylistretries.3E}}&lt;br /&gt;
The number of retries attempted if a source is offline. With this control you can alter the number of consecutive failed items before a playlist fails.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;playlistretries&amp;gt;100&amp;lt;/playlistretries&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== playlisttimeout ===&lt;br /&gt;
{{anchor|.3Cplaylisttimeout.3E}}&lt;br /&gt;
The timeout, in seconds, before item failure.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;playlisttimeout&amp;gt;20&amp;lt;/playlisttimeout&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== sorttokens ===&lt;br /&gt;
Allows you to specify additional tokens that will be ignored at the start of lines during sorting.&lt;br /&gt;
{{note|Sort tokens are case sensitive.}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sorttokens&amp;gt;&lt;br /&gt;
  &amp;lt;token&amp;gt;the&amp;lt;/token&amp;gt;&lt;br /&gt;
&amp;lt;/sorttokens&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above example &amp;quot;the &amp;quot;, &amp;quot;the.&amp;quot; and &amp;quot;the_&amp;quot; will be ignored at the start of titles or names when sorting items, in both video and music libraries. A separator can also be specified, for example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sorttokens&amp;gt;&lt;br /&gt;
    &amp;lt;token separators=&amp;quot;&#039;&amp;quot;&amp;gt;L&amp;lt;/token&amp;gt;&lt;br /&gt;
&amp;lt;/sorttokens&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
In that case the value L&#039;, as in French movie name &#039;&#039;L&#039;argent&#039;&#039;, will be ignored and the item listed under &amp;quot;A&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== musicdatabase/videodatabase ===&lt;br /&gt;
{{anchor|.3Cmusicdatabase.3E/.3Cvideodatabase.3E|musicdatabase/videodatabase|database tags music/video/tv/epg/adsp}}&lt;br /&gt;
{{main|MySQL}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;videodatabase&amp;quot; /&amp;gt;&lt;br /&gt;
Allows advanced customization of the default database settings for music, video, TV, EPG, and ADSP databases.&lt;br /&gt;
&lt;br /&gt;
:{{note| &#039;&#039;&#039;It is HIGHLY recommended that you not attempt to place an sqlite3 database outside of kodi&#039;s path.  sqlite3 contains no filesystem abstraction, so this will plain break on any non-local (as far as Kodi is concerned) paths.  Use this for mysql only.&#039;&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parent tags:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;videodatabase&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;musicdatabase&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;tvdatabase&amp;gt;&#039;&#039;&#039; - Highly experimental/unstable and no practical benefit for most users. &#039;&#039;&#039;Avoid using.&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;epgdatabase&amp;gt;&#039;&#039;&#039; - Highly experimental/unstable and no practical benefit for most users. &#039;&#039;&#039;Avoid using.&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;adspdatabase&amp;gt;&#039;&#039;&#039; - Highly experimental/unstable and no practical benefit for most users. &#039;&#039;&#039;Avoid using.&#039;&#039;&#039;&lt;br /&gt;
{{MySQL warning}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Child tags: &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;type&amp;gt;&lt;br /&gt;
: &#039;&#039;Required&#039;&#039; - Can be either &amp;quot;sqlite3&amp;quot; or &amp;quot;mysql&amp;quot; (default: sqlite3)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;host&amp;gt;&lt;br /&gt;
:&#039;&#039;Required&#039;&#039; - &lt;br /&gt;
* sqlite3: defines the relative path to the database file (eg. /usr/local/kodi/databases).&lt;br /&gt;
* mysql: defines the host of the mysql socket (eg. localhost, 192.168.0.1, etc)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;port&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; -&lt;br /&gt;
* sqlite3: silently ignored&lt;br /&gt;
* mysql: defines the port of the mysql socket (default: 3306)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;name&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; -&lt;br /&gt;
:by default &amp;quot;MyVideos&amp;quot;+DB number will be used.&lt;br /&gt;
* sqlite3: defines the name of the database file to read from, excluding the &amp;quot;.db&amp;quot; extension.&lt;br /&gt;
* mysql: defines the name of the database to use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;user&amp;gt;&lt;br /&gt;
: &#039;&#039;Required for MySQL&#039;&#039; -&lt;br /&gt;
* sqlite3: silently ignored&lt;br /&gt;
* mysql: defines the user with privileged access to the database&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;pass&amp;gt;&lt;br /&gt;
: &#039;&#039;Required for MySQL&#039;&#039; -&lt;br /&gt;
* sqlite3: silently ignored&lt;br /&gt;
* mysql: defines the password for the user with privileged access to the database&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;compression&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - Defaults to false. Set to &amp;quot;true&amp;quot; to enable MySQL compression protocol. Performance benefit is going to be largely dependent on the network bandwidth, latency between database and clients and on the size of the result sets. [https://github.com/xbmc/xbmc/pull/6484]&lt;br /&gt;
: {{Note|Slower clients (such as the RPi and others) won&#039;t benefit from it as the zlib de-compression overhead is higher than the actual compression savings}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;key&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;cert&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;ca&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;capath&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;ciphers&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Examples:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Configure a database for MySQL.&lt;br /&gt;
:{{note| &#039;&#039;The &#039;&#039;&#039;&amp;lt;videodatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;musicdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;tvdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;epgdatabase&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;adspdatabase&amp;gt;&#039;&#039;&#039; tags are interchangeable here.&#039;&#039;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;videodatabase&amp;gt;&lt;br /&gt;
  &amp;lt;type&amp;gt;mysql&amp;lt;/type&amp;gt;&lt;br /&gt;
  &amp;lt;host&amp;gt;192.168.0.10&amp;lt;/host&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;kodi_video&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;user&amp;gt;kodi&amp;lt;/user&amp;gt;&lt;br /&gt;
  &amp;lt;pass&amp;gt;kodi&amp;lt;/pass&amp;gt;&lt;br /&gt;
&amp;lt;/videodatabase&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) Configure a database for an sqlite database.&lt;br /&gt;
:{{note| &#039;&#039;The &#039;&#039;&#039;&amp;lt;videodatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;musicdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;tvdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;epgdatabase&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;adspdatabase&amp;gt;&#039;&#039;&#039; tags are interchangeable here.&#039;&#039;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;musicdatabase&amp;gt;&lt;br /&gt;
  &amp;lt;type&amp;gt;sqlite3&amp;lt;/type&amp;gt;&lt;br /&gt;
  &amp;lt;host&amp;gt;/usr/local/share/kodi/databases&amp;lt;/host&amp;gt;&lt;br /&gt;
&amp;lt;/musicdatabase&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;videodatabase&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== externalplayer ===&lt;br /&gt;
{{anchor|.3Cexternalplayer.3E}}&lt;br /&gt;
{{see|External players}}&lt;br /&gt;
&lt;br /&gt;
== Music settings ==&lt;br /&gt;
&lt;br /&gt;
=== musicextensions ===&lt;br /&gt;
{{anchor|.3Cmusicextensions.3E}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;musicextensions&amp;quot; /&amp;gt;&lt;br /&gt;
Default extensions for MUSIC:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.nsv .m4a .flac .aac .strm .pls .rm .rma .mpa .wav .wma .ogg .mp3 .mp2 .m3u .gdm .imf .m15 .sfx&lt;br /&gt;
.uni .ac3 .dts .aif .aiff .wpl .ape .mac .mpc .mp+ .mpp .shn .wv .dsp .xsp .xwav .waa .wvs .wam&lt;br /&gt;
.gcm .idsp .mpdsp .mss .spt .rsd .sap .cmc .cmr .dmc .mpt .mpd .rmt .tmc .tm8 .tm2 .oga .url&lt;br /&gt;
.pxml .tta .rss .wtv .mka .tak .opus .dff .dsf .m4b .cue .zip .rar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to add or remove extensions for Music, using the following XML tags. Useful if you keep, say, FLAC and mp3 versions of music in the same folder. The &amp;lt;remove&amp;gt; tag can be used to remove mp3 from being listed in the library, leaving only the higher quality FLAC being displayed.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;musicextensions&amp;gt;&lt;br /&gt;
   &amp;lt;add&amp;gt;.ex1|.ex2&amp;lt;/add&amp;gt;&lt;br /&gt;
   &amp;lt;remove&amp;gt;.ex3|.ex4&amp;lt;/remove&amp;gt;&lt;br /&gt;
 &amp;lt;/musicextensions&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;musicextensions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cddbaddress ===&lt;br /&gt;
{{anchor|.3Ccddbaddress.3E}}&lt;br /&gt;
The address of the online CDDb database.  You may set this to another freedb mirror if there is a more suitable one.  &lt;br /&gt;
&lt;br /&gt;
Default: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;gt;&lt;br /&gt;
&amp;lt;cddbaddress&amp;gt;freedb.freedb.org&amp;lt;/cddbaddress&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== songinfoduration ===&lt;br /&gt;
{{anchor|.3Csonginfoduration.3E}}&lt;br /&gt;
This controls how long the song information will remain onscreen when the song changes during visualisations.  The valid range is &amp;quot;1&amp;quot; to &amp;quot;Indefinite (0)&amp;quot;, in seconds.  This does not include the duration of any transition effects. &lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;songinfoduration&amp;gt;10&amp;lt;/songinfoduration&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== musicfilenamefilters ===&lt;br /&gt;
{{anchor|.3Cmusicfilenamefilters.3E}}&lt;br /&gt;
Contains filters to match music information (artist, title etc.) from a tag-less music filename.  The first &amp;lt;filter&amp;gt; to match completely is used. Matched items include:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%A - Artist&lt;br /&gt;
%T - Title&lt;br /&gt;
%B - Album&lt;br /&gt;
%N - Track number&lt;br /&gt;
%S - Part of set (disk number)&lt;br /&gt;
%D - Duration&lt;br /&gt;
%G - Genre&lt;br /&gt;
%Y - Year&lt;br /&gt;
%R - Rating&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;musicfilenamefilters&amp;gt;&lt;br /&gt;
  &amp;lt;filter&amp;gt;%A - %T&amp;lt;/filter&amp;gt;&lt;br /&gt;
&amp;lt;/musicfilenamefilters&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== musiclibrary ===&lt;br /&gt;
Options specific to the Music Library&lt;br /&gt;
&amp;lt;section begin=&amp;quot;MusicLibrary&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line=&#039;line&#039;&amp;gt;&lt;br /&gt;
&amp;lt;musiclibrary&amp;gt;&lt;br /&gt;
    &amp;lt;allitemsonbottom&amp;gt;true&amp;lt;/allitemsonbottom&amp;gt;       &amp;lt;!-- sorts the &amp;quot;*All&amp;quot; items at the bottom of the list when in Ascending order --&amp;gt;&lt;br /&gt;
    &amp;lt;cleanonupdate&amp;gt;false&amp;lt;/cleanonupdate&amp;gt;            &amp;lt;!-- default set to false to prevent Kodi from removing items from the database while updating.  --&amp;gt;&lt;br /&gt;
    &amp;lt;recentlyaddeditems&amp;gt;35&amp;lt;/recentlyaddeditems&amp;gt;     &amp;lt;!-- number of recently added items. Defaults to 25 --&amp;gt;&lt;br /&gt;
    &amp;lt;albumformat&amp;gt;%B - %Y&amp;lt;/albumformat&amp;gt;              &amp;lt;!-- album label template, default is &amp;quot;%B&amp;quot; --&amp;gt;&lt;br /&gt;
    &amp;lt;prioritiseapetags&amp;gt;true&amp;lt;/prioritiseapetags&amp;gt;     &amp;lt;!-- prioritise APEv2 tags over ID3v1/2 tags, default is false. --&amp;gt;&lt;br /&gt;
    &amp;lt;itemseparator&amp;gt; / &amp;lt;/itemseparator&amp;gt;              &amp;lt;!-- separator used for multiple artists/genres in tags. Note, this is *space* *slash* *space* See Note below--&amp;gt;&lt;br /&gt;
    &amp;lt;artistseparators&amp;gt;                              &amp;lt;!-- separator used for multiple artists. Note that spaces are used for some separators. See Note below--&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt;;&amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt;:&amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt;|&amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt; feat. &amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt; ft. &amp;lt;/separator&amp;gt;&lt;br /&gt;
    &amp;lt;/artistseparators&amp;gt;&lt;br /&gt;
    &amp;lt;dateadded&amp;gt;1&amp;lt;/dateadded&amp;gt;                        &amp;lt;!--0 results in using the current datetime when adding a song;&lt;br /&gt;
                                                        1 (default) results in prefering to use the files mtime (if it&#039;s valid) and only using the file&#039;s ctime if the mtime isn&#039;t valid;&lt;br /&gt;
                                                        2 results in using the newer datetime of the file&#039;s mtime and ctime   --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The following tags are available from v18 and later releases --&amp;gt;                                                    &lt;br /&gt;
    &amp;lt;useartistsortname&amp;gt;false&amp;lt;/useartistsortname&amp;gt;    &amp;lt;!-- When &amp;quot;true&amp;quot; the Artist Sort Name is used in sorting of songs, albums and artists. Artists can be sorted in surname. Default is &amp;quot;false&amp;quot; --&amp;gt;&lt;br /&gt;
&amp;lt;/musiclibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Note|Changing the &amp;lt;itemseparator&amp;gt; or &amp;lt;artistseparators&amp;gt; will only affect newly added items. A rescan won&#039;t change the existing ones. Remove the Source(s) or delete the Music DB and rebuild. This process should be made easier from v18 and up using &amp;lt;promptfulltagscan&amp;gt;}}&amp;lt;section end=&amp;quot;MusicLibrary&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Music library extra artwork ====&lt;br /&gt;
&lt;br /&gt;
New for Kodi v18.&lt;br /&gt;
Configuration to expand the artwork automatically added by Kodi to media items in the library, either from local files or online scrapers.&lt;br /&gt;
&lt;br /&gt;
The original basic artwork types are still hardcoded so they don&#039;t need to be configured here (and can&#039;t be removed). &amp;quot;thumb&amp;quot; for artists and albums, and &amp;quot;fanart&amp;quot; for artists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;musiclibrary&amp;gt;&lt;br /&gt;
    &amp;lt;!-- ... combine with &amp;quot;musiclibrary&amp;quot; section above --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for artists --&amp;gt;&lt;br /&gt;
    &amp;lt;artistextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/artistextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for albums --&amp;gt;&lt;br /&gt;
    &amp;lt;albumextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;spine&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;back&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/albumextraart&amp;gt;&lt;br /&gt;
  &amp;lt;/musiclibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Photos settings ==&lt;br /&gt;
&lt;br /&gt;
=== pictureextensions ===&lt;br /&gt;
{{anchor|.3Cpictureextensions.3E}}&lt;br /&gt;
A list of additional file-extensions to allow (&#039;&#039;&#039;add&#039;&#039;&#039;) or exclude (&#039;&#039;&#039;remove&#039;&#039;&#039;) in the My Pictures window.&lt;br /&gt;
&lt;br /&gt;
Default extensions for PICTURES:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.png .jpg .jpeg .bmp .gif .ico .tif .tiff .tga .pcx .cbz .cbr .rss .webp .jp2 .apng&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pictureextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.ex1|.ex2&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.ex3|.ex4&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/pictureextensions&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== pictureexcludes ===&lt;br /&gt;
{{anchor|.3Cpictureexcludes.3E}}&lt;br /&gt;
Matches filenames or folders which should be excluded from being displayed in My Pictures using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pictureexcludes&amp;gt;  &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be displayed in My Pictures --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;small&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/pictureexcludes&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== slideshow ===&lt;br /&gt;
{{anchor|.3Cslideshow.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;slideshow&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount to pan images as a percentage of the screen --&amp;gt;&lt;br /&gt;
  &amp;lt;panamount&amp;gt;2.5&amp;lt;/panamount&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount to zoom images as a percentage of the screen --&amp;gt;&lt;br /&gt;
  &amp;lt;zoomamount&amp;gt;5.0&amp;lt;/zoomamount&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount to compensate (zoom) images to attempt to reduce black bars. --&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Results in cropping of the longer length of the image in order to reduce the black bars on the shorter length of the image.  --&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Defaults to 20. --&amp;gt;&lt;br /&gt;
  &amp;lt;blackbarcompensation&amp;gt;20&amp;lt;/blackbarcompensation&amp;gt;  &lt;br /&gt;
&amp;lt;/slideshow&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
&lt;br /&gt;
=== samba ===&lt;br /&gt;
{{anchor|.3Csamba.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;samba&amp;gt;&lt;br /&gt;
  &amp;lt;doscodepage&amp;gt;&amp;lt;/doscodepage&amp;gt;  &amp;lt;!-- code page to use for filenames --&amp;gt;&lt;br /&gt;
  &amp;lt;clienttimeout&amp;gt;10&amp;lt;/clienttimeout&amp;gt;  &amp;lt;!-- timeout (in seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;statfiles&amp;gt;true&amp;lt;/statfiles&amp;gt;  &amp;lt;!-- Set to false to disable smb stat() on files to speed up listings of large directories (over slow links) --&amp;gt;&lt;br /&gt;
&amp;lt;/samba&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== hosts ===&lt;br /&gt;
{{anchor|.3Cfhosts.3E}}&lt;br /&gt;
Static dns entries which take precedence over your dns server.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;hosts&amp;gt;&lt;br /&gt;
  &amp;lt;entry name=&amp;quot;HOSTNAME&amp;quot;&amp;gt;IPADDRESS&amp;lt;/entry&amp;gt;&lt;br /&gt;
&amp;lt;/hosts&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== network ===&lt;br /&gt;
{{anchor|.3Cnetwork.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;network&amp;gt;&lt;br /&gt;
  &amp;lt;curlclienttimeout&amp;gt;10&amp;lt;/curlclienttimeout&amp;gt;  &amp;lt;!-- Timeout in seconds for libcurl (http/ftp) connections --&amp;gt;&lt;br /&gt;
  &amp;lt;curllowspeedtime&amp;gt;20&amp;lt;/curllowspeedtime&amp;gt;  &amp;lt;!-- Time in seconds for libcurl to consider a connection lowspeed --&amp;gt;&lt;br /&gt;
  &amp;lt;curlretries&amp;gt;2&amp;lt;/curlretries&amp;gt;             &amp;lt;!-- Amount of retries for certain failed libcurl operations (e.g. timeout) --&amp;gt;&lt;br /&gt;
  &amp;lt;httpproxyusername&amp;gt;&amp;lt;/httpproxyusername&amp;gt;  &amp;lt;!-- username for Basic Proxy Authentication --&amp;gt;&lt;br /&gt;
  &amp;lt;httpproxypassword&amp;gt;&amp;lt;/httpproxypassword&amp;gt;  &amp;lt;!-- password for Basic Proxy Authentication --&amp;gt;&lt;br /&gt;
&amp;lt;/network&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|In Kodi v17, the three buffer settings are removed from the &amp;lt;code&amp;gt;&amp;lt;network&amp;gt;&amp;lt;/code&amp;gt; tag and now placed under the new &amp;lt;code&amp;gt;&amp;lt;cache&amp;gt;&amp;lt;/code&amp;gt; tag. See &#039;&#039;&#039;[[#cache]]&#039;&#039;&#039; for full details.}}&lt;br /&gt;
&lt;br /&gt;
=== cache ===&lt;br /&gt;
{{see also|HOW-TO:Modify the cache}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cache&amp;gt;&lt;br /&gt;
  &amp;lt;memorysize&amp;gt;0&amp;lt;/memorysize&amp;gt;  &amp;lt;!-- number of bytes used for buffering streams in memory &lt;br /&gt;
    When set to 0 the cache will be written to disk instead of RAM --&amp;gt;&lt;br /&gt;
  &amp;lt;buffermode&amp;gt;0&amp;lt;/buffermode&amp;gt;  &amp;lt;!-- Choose what to buffer:&lt;br /&gt;
     0) Buffer all internet filesystems (like &amp;quot;2&amp;quot; but additionally also ftp, webdav, etc.) (default)&lt;br /&gt;
     1) Buffer all filesystems (including local)&lt;br /&gt;
     2) Only buffer true internet filesystems (streams) (http, etc.)&lt;br /&gt;
     3) No buffer --&amp;gt;&lt;br /&gt;
  &amp;lt;readfactor&amp;gt;4.0&amp;lt;/readfactor&amp;gt; &amp;lt;!-- this factor determines the max readrate in terms of readfactor * avg bitrate of a video file. &lt;br /&gt;
This can help on bad connections to keep the cache filled. It will also greatly speed up buffering. Default value 4.0. --&amp;gt;&lt;br /&gt;
&amp;lt;/cache&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== airtunesport ===&lt;br /&gt;
{{anchor|.3Cairtunesport.3E}}&amp;lt;section begin=&amp;quot;airtunesport&amp;quot; /&amp;gt;&lt;br /&gt;
This overwrites the defalt listening port of the AirTunes server (announced via zeroconf).&lt;br /&gt;
&amp;lt;section end=&amp;quot;airtunesport&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== airplayport ===&lt;br /&gt;
{{anchor|.3Cairplayport.3E}}&amp;lt;section begin=&amp;quot;airplayport&amp;quot; /&amp;gt;&lt;br /&gt;
This overwrites the default listening port of the AirPlay server (announced via zeroconf).&lt;br /&gt;
&amp;lt;section end=&amp;quot;airplayport&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== File system settings ==&lt;br /&gt;
&lt;br /&gt;
=== packagefoldersize ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;packagefoldersize&amp;quot; /&amp;gt;&lt;br /&gt;
{{anchor|.3Cpackagefoldersize.3E}}&lt;br /&gt;
{{xml setting&lt;br /&gt;
 | tag name = packagefoldersize&lt;br /&gt;
 | option type = numerical&lt;br /&gt;
 | option values = &lt;br /&gt;
 | default values = 200&lt;br /&gt;
 | platform = all&lt;br /&gt;
 | XBMC version = 12&lt;br /&gt;
 | description = The amount (in megabytes) of add-on zip packages saved from previous add-on installs. These packages are mainly used for the [[add-on]] rollback feature. Increasing the size should increase the amount of past versions saved. Defaults to 200 MB.&lt;br /&gt;
 | example = Example: &amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;packagefoldersize&amp;gt;200&amp;lt;/packagefoldersize&amp;gt; &amp;lt;!-- this example would keep up to 200MB of add-on packages. --&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;section end=&amp;quot;packagefoldersize&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== detectasudf ===&lt;br /&gt;
{{anchor|.3Cdetectasudf.3E}}&lt;br /&gt;
Set to true if you wish to detect joint ISO9660/UDF disks as UDF.  &lt;br /&gt;
&lt;br /&gt;
Default: False&lt;br /&gt;
&lt;br /&gt;
=== pathsubstitution ===&lt;br /&gt;
{{anchor|.3Cpathsubstitution.3E}}&lt;br /&gt;
{{main|Path substitution}}&lt;br /&gt;
&lt;br /&gt;
{{divbox|red||&#039;&#039;&#039;Note:&#039;&#039;&#039; Path substition for &amp;quot;sources&amp;quot; and profiles is broken, and will &#039;&#039;&#039;NOT&#039;&#039;&#039; be fixed.}}&lt;br /&gt;
&lt;br /&gt;
Path substitutions are for use for redirecting file paths.  These are processed in order, and are useful for substituting an absolute path on a PC with a path suitable for Kodi to handle.  &lt;br /&gt;
&lt;br /&gt;
Default: No path substitutions defined.  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pathsubstitution&amp;gt;&lt;br /&gt;
  &amp;lt;substitute&amp;gt;&lt;br /&gt;
    &amp;lt;from&amp;gt;G:\dvds\&amp;lt;/from&amp;gt;&lt;br /&gt;
    &amp;lt;to&amp;gt;smb://somecomputer/g-share/dvds/&amp;lt;/to&amp;gt; &amp;lt;!-- Note the difference between the usage of forward and backslashes --&amp;gt;&lt;br /&gt;
  &amp;lt;/substitute&amp;gt;&lt;br /&gt;
&amp;lt;/pathsubstitution&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Input control settings ==&lt;br /&gt;
&lt;br /&gt;
=== remotedelay ===&lt;br /&gt;
{{anchor|.3Cremotedelay.3E}}&lt;br /&gt;
The repeat delay for a LIRC remote control. A delay value between 1 and 20 before a remote button starts repeating on a long keypress (i.e. continuously sending button pushes while it&#039;s held down). &lt;br /&gt;
&lt;br /&gt;
Default: 3&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;remotedelay&amp;gt;10&amp;lt;/remotedelay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== controllerdeadzone ===&lt;br /&gt;
{{anchor|.3Ccontrollerdeadzone.3E}}&lt;br /&gt;
This advanced settings has been removed. See [[HOW-TO:Controller deadzone]].&lt;br /&gt;
&lt;br /&gt;
=== enablemultimediakeys ===&lt;br /&gt;
{{anchor|.3Cenablemultimediakeys.3E}}&lt;br /&gt;
This setting only has any effect on Windows versions of Kodi, and only applies to builds from 28th May 2011 onwards.&lt;br /&gt;
In Windows the multimedia keys generate a WM_APPCOMMAND message in addition the keypress. Kodi processes both keypresses and the WM_APPCOMMAND messages, and the end result would be that the command is executed twice. To avoid this, by default multimedia keypresses are disabled. Although it should rarely be necessary, the enablemultimediakeys setting allows you to enable the multimedia keys.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;enablemultimediakeys&amp;gt;true&amp;lt;/enablemultimediakeys&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== seeksteps ===&lt;br /&gt;
{{Main|Skip steps}}&lt;br /&gt;
&lt;br /&gt;
This setting changes which increments are available in the settings GUI for additive seeking. Note that &amp;lt;code&amp;gt;&amp;lt;seeksteps&amp;gt;&amp;lt;/code&amp;gt; is not used to actually choose which seek steps are enabled.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;seeksteps&amp;gt;7, 15, 30, 60, 180, 300, 600, 900, 1800&amp;lt;/seeksteps&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{editor note|the defaults need to be updated for seeksteps.}}&lt;br /&gt;
&lt;br /&gt;
=== touchscreen ===&lt;br /&gt;
{{anchor|.3Ctouchscreen.3E}}&lt;br /&gt;
This setting allows you to move/align the origin of the touch screen with the origin of the display used. If touch input does not result in a correct movement of the mouse pointer, the behaviour can be corrected with an offset and a stretch/compress factor.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;touchscreen&amp;gt;&lt;br /&gt;
		&amp;lt;x_offset&amp;gt;0&amp;lt;/x_offset&amp;gt; &amp;lt;!-- set pixel x offset to align it to the used display--&amp;gt;&lt;br /&gt;
		&amp;lt;y_offset&amp;gt;0&amp;lt;/y_offset&amp;gt; &amp;lt;!-- set pixel y offset to align it to the used display--&amp;gt;&lt;br /&gt;
		&amp;lt;x_stretch_factor&amp;gt;1.0&amp;lt;/x_stretch_factor&amp;gt; &amp;lt;!-- stretch/compress the touch x axis--&amp;gt;&lt;br /&gt;
		&amp;lt;y_stretch_factor&amp;gt;1.0&amp;lt;/y_stretch_factor&amp;gt; &amp;lt;!-- stretch/compress the touch y axis--&amp;gt;&lt;br /&gt;
    &amp;lt;/touchscreen&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Other interface settings ==&lt;br /&gt;
&lt;br /&gt;
=== window ===&lt;br /&gt;
{{anchor|.3Cwindow.3E}}&lt;br /&gt;
{{note|This is a &amp;quot;hidden&amp;quot; guisettings.xml setting (defined by the mouse moving the window size), but it is mentioned here because it is a particularly useful override when used in advancedsettings.xml}}&lt;br /&gt;
This allows you to manually set the default size of Kodi&#039;s windowed mode.  If you resize the window, it will return to the set size when restarting.&lt;br /&gt;
&lt;br /&gt;
WIDTH and HEIGHT are the values for each dimension, in pixels.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;window&amp;gt;&lt;br /&gt;
    &amp;lt;width&amp;gt;WIDTH&amp;lt;/width&amp;gt;&lt;br /&gt;
    &amp;lt;height&amp;gt;HEIGHT&amp;lt;/height&amp;gt;&lt;br /&gt;
&amp;lt;/window&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== restrictcapsmask ===&lt;br /&gt;
{{anchor|.3Crestrictcapsmask.3E}}&lt;br /&gt;
Windows only. A bitmask to prevent Kodi from using detected texture capabilities of the GPU. This helps work around buggy hardware/drivers.&lt;br /&gt;
&lt;br /&gt;
1: prevent the use of compressed textures (DXT1, DXT3, DXT5)&lt;br /&gt;
2: prevent the use of non-power-of-two dimensions for textures&lt;br /&gt;
4: prevent the use of compressed textures with non-power-of-two dimensions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;restrictcapsmask&amp;gt;0&amp;lt;/restrictcapsmask&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== algorithmdirtyregions ===&lt;br /&gt;
{{anchor|.3Calgorithmdirtyregions.3E}}&lt;br /&gt;
{{see also|HOW-TO:Modify dirty regions}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;algorithmdirtyregions&amp;quot; /&amp;gt;{{note|Some GPU/hardware configurations will have some minor issues (such as a visual &amp;quot;flicker&amp;quot;). For those situations try mode 2 or use the default (mode 3, which requires no advancedsetting). Almost all ARM-based devices (such as [[Android]]) willl likely have flickering issues.}}&lt;br /&gt;
 &lt;br /&gt;
Enable dirty-region processing. Dirty regions are any parts of the screen that have changed since the last frame. By not re-rendering what hasn&#039;t changed the GUI can be sped up. Because all GPUs work differently, only Mode 3, combined with nofliptimeout=0, is guaranteed to work for everyone without flickering issues. This mode will reduce CPU/GPU usage, but will not increase GUI speed.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! value !! result !! description&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| Off&lt;br /&gt;
| The entire viewport is always rendered.&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
|Union&lt;br /&gt;
|All dirty regions are grouped into the smallest possible rectangle. This is typically the fastest mode for slower GPUs due to only making one pass.&lt;br /&gt;
|-&lt;br /&gt;
! 2&lt;br /&gt;
| {{nowrap|Cost reduction}}&lt;br /&gt;
| Each dirty region is presented separately, in as many passes as there are regions.&lt;br /&gt;
|-&lt;br /&gt;
! 3&lt;br /&gt;
| {{nowrap|Whole Screen}}&lt;br /&gt;
| The entire screen is rendered if there are any dirty regions. This, combined with nofliptimeout is a safe default for drivers that clear buffer contents (manifests as blinking or vibrating images). &#039;&#039;&#039;Default&#039;&#039;&#039;&lt;br /&gt;
|}&amp;lt;section end=&amp;quot;algorithmdirtyregions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;algorithmdirtyregions&amp;gt;1&amp;lt;/algorithmdirtyregions&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== visualizedirtyregions ===&lt;br /&gt;
{{anchor|.3Cvisualizedirtyregions.3E}}&lt;br /&gt;
{{see also|HOW-TO:Modify dirty regions}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;visualizedirtyregions&amp;quot; /&amp;gt;Enable dirty-region visualization. Paints a rectangle over marked controls.&lt;br /&gt;
&lt;br /&gt;
* true: on&lt;br /&gt;
* false: off &#039;&#039;&#039;(Default)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{note|This is only a development mode and isn&#039;t of use to normal users.}}&lt;br /&gt;
&amp;lt;section end=&amp;quot;visualizedirtyregions&amp;quot; /&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;visualizedirtyregions&amp;gt;true&amp;lt;/visualizedirtyregions&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== smartredraw ===&lt;br /&gt;
&lt;br /&gt;
{{note|This is an experimental feature and you might face issues using it. So please be aware of that.}}&lt;br /&gt;
&lt;br /&gt;
This new feature was introduced in Kodi 18 and if enabled, the GUI process call (and therefore the render call) is only done if anything has changed. The result will be a faster GUI and less load if Kodi plays a video&lt;br /&gt;
&lt;br /&gt;
* true: on&lt;br /&gt;
* false: off &#039;&#039;&#039;(Default)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;smartredraw&amp;gt;true&amp;lt;/smartredraw&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== showexitbutton ===&lt;br /&gt;
{{anchor|.3Cshowexitbutton.3E}}&lt;br /&gt;
Setting to hide the exit button, useful for people running appliance based setups where exit would only confuse/complicate the user. Modifiable via the advancedsettings.xml by setting showexitbutton to false, default is true (show)&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;showexitbutton&amp;gt;true&amp;lt;/showexitbutton&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== fullscreen ===&lt;br /&gt;
{{anchor|.3Cfullscreen.3E}}&lt;br /&gt;
Starts Kodi in full screen (check resolutions!).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fullscreen&amp;gt;false&amp;lt;/fullscreen&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== splash ===&lt;br /&gt;
{{anchor|.3Csplash.3E}}&lt;br /&gt;
Set to false if you wish to disable the startup splash image. Defaults to true.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;splash&amp;gt;true&amp;lt;/splash&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cputempcommand ===&lt;br /&gt;
{{anchor|.3Ccputempcommand.3E}}&lt;br /&gt;
Provide a shell command Kodi will use to get CPU temperature. It should print out only &amp;quot;[temp as integer] [scale as one of &amp;quot;CcFf&amp;quot;]&amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For Nvidia and Raspberry Pi&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cputempcommand&amp;gt;sed -e &#039;s/\([0-9]*\)[0-9]\{3\}.*/\1 C/&#039; /sys/class/thermal/thermal_zone0/temp&amp;lt;/cputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cputempcommand&amp;gt;echo &amp;quot;$(sensors -u | tail -n64 | grep temp1_input | awk &#039;{print $2 }&#039; |awk &#039;{printf(&amp;quot;%d\n&amp;quot;,$1 + 0.5);}&#039;) C&amp;quot;&amp;lt;/cputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For ATI/AMD&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cputempcommand&amp;gt;sensors|sed -ne &amp;quot;s/temp1: \+[-+]\([0-9]\+\).*/\1 C/p&amp;quot;&amp;lt;/cputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== gputempcommand ===&lt;br /&gt;
{{anchor|.3Cgputempcommand.3E}}&lt;br /&gt;
Provide a shell command Kodi will use to get GPU temperature. It should print out only &amp;quot;[temp as integer] [scale as one of &amp;quot;CcFf&amp;quot;]&amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For Nvidia&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;echo &amp;quot;$(nvidia-settings -tq gpuCoreTemp) C&amp;quot;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;echo &amp;quot;$(nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c35-36) C&amp;quot;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For ATI/AMD&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;/usr/bin/aticonfig --od-gettemperature | grep Temperature | cut -f 2 -d &amp;quot;-&amp;quot; | cut -f 1 -d &amp;quot;.&amp;quot; | sed -e &amp;quot;s, ,,&amp;quot; | sed &#039;s/$/ C/&#039;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;u&amp;gt;For Raspberry Pi&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;/opt/vc/bin/vcgencmd measure_temp | sed -e &amp;quot;s/temp=//&amp;quot; -e &amp;quot;s/\..*&#039;/ /&amp;quot;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== glrectanglehack ===&lt;br /&gt;
{{anchor|.3Cglrectanglehack.3E}}&lt;br /&gt;
Problems with ghosting or videos which are only played back in the left upper quarter? The following ATI hack may solve it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;glrectanglehack&amp;gt;yes&amp;lt;/glrectanglehack&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== alwaysontop ===&lt;br /&gt;
{{anchor|.3Calwaysontop.3E}}&lt;br /&gt;
Added in XBMC v9.11 (Windows OS only). Keeps Kodi always on top when windowed.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;alwaysontop&amp;gt;yes&amp;lt;/alwaysontop&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is also a fake fullscreen GUI option in Kodi&#039;s settings.&lt;br /&gt;
&lt;br /&gt;
== Removed tags ==&lt;br /&gt;
{{anchor|Recently removed tags}}&lt;br /&gt;
* {{anchor|.3Cthumbsize.3E}}&#039;&#039;&#039;&amp;lt;thumbsize&amp;gt;&#039;&#039;&#039; - replaced by &amp;lt;[[#imageres|imageres]]&amp;gt; in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cfanartheight.3E}}&#039;&#039;&#039;&amp;lt;fanartheight&amp;gt;&#039;&#039;&#039; - replaced by &amp;lt;[[#fanartres|fanartres]]&amp;gt; in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cdvdthumbs.3E}}&#039;&#039;&#039;&amp;lt;dvdthumbs&amp;gt;&#039;&#039;&#039; - removed in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cbusydialogdelayms.3E}}&#039;&#039;&#039;&amp;lt;busydialogdelayms&amp;gt;&#039;&#039;&#039; - removed in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cbginfoloadermaxthreads.3E}}&#039;&#039;&#039;&amp;lt;bginfoloadermaxthreads&amp;gt;&#039;&#039;&#039; - removed in v13 Gotham&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;showepginfoonselect&amp;gt;&#039;&#039;&#039; - replaced by a GUI setting in v13 Gotham&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;resample&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;forceDirectSound&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;audiophile&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;audiosinkbufferdurationmsec&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;allowtranscode44100&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;streamsilence&amp;gt;&#039;&#039;&#039; - These were various sub-tags for &amp;lt;audio&amp;gt; that were removed in v13 Gotham and either replaced by GUI settings or were no longer needed.&lt;br /&gt;
* {{anchor|.3Cenableairtunesdebuglog.3E}}&#039;&#039;&#039;&amp;lt;enableairtunesdebuglog&amp;gt;&#039;&#039;&#039; - replaced by a GUI option in v14 Helix&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;videoDisableHi10pMultithreading&amp;gt;&#039;&#039;&#039; - renamed to &amp;lt;disableswmultithreading&amp;gt; in v14 Helix&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;hideallitems&amp;gt;&#039;&#039;&#039; - For both the &amp;lt;code&amp;gt;&amp;lt;videolibrary&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;musiclibrary&amp;gt;&amp;lt;/code&amp;gt; sections, this is replaced by a GUI option in v15 Isengard&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;SmallStepBackSeconds&amp;gt;&#039;&#039;&#039; - In v15 the &amp;lt;code&amp;gt;SmallStepBack&amp;lt;/code&amp;gt; [[action ID]] has been replaced by &amp;lt;code&amp;gt;seek(-7)&amp;lt;/code&amp;gt; in default keymaps. See &#039;&#039;&#039;[[skip steps]]&#039;&#039;&#039; for details. When the original &amp;lt;code&amp;gt;SmallStepBack&amp;lt;/code&amp;gt; action ID is used it defaults to the first backwards [[skip steps|additive seeking value]].&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;timeseekforward&amp;gt;/&amp;lt;timeseekbackward&amp;gt;&#039;&#039;&#039; - In v15 these tags are replaced by GUI options via [[skip steps|additive seeking]], which is configured in the GUI. See &#039;&#039;&#039;[[skip steps]]&#039;&#039;&#039; for details.&lt;br /&gt;
* {{anchor|.3Ckaraoke.3E}}&#039;&#039;&#039;&amp;lt;karaoke&amp;gt;&#039;&#039;&#039; - In v16 all of the karaoke features in Kodi were removed.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;useddsfanart&amp;gt;&#039;&#039;&#039; - removed in v17 Krypton.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;cachemembuffersize&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;lt;readbufferfactor&amp;gt;&#039;&#039;&#039; - In v17 &#039;&#039;&#039;&amp;lt;cachemembuffersize&amp;gt;&#039;&#039;&#039; is renamed to &#039;&#039;&#039;&amp;lt;memorysize&amp;gt;&#039;&#039;&#039; and &amp;lt;code&amp;gt;&amp;lt;readbufferfactor&amp;gt;&amp;lt;/code&amp;gt; is renamed to &amp;lt;code&amp;gt;&amp;lt;readfactor&amp;gt;&amp;lt;/code&amp;gt;. In addition, all three buffer related settings in &amp;lt;network&amp;gt; are moved out of &amp;lt;network&amp;gt; and into a new &amp;lt;cache&amp;gt; parent tag.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;minvideocachelevel&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;minaudiocachelevel&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;cacheindvdplayer&amp;gt;&#039;&#039;&#039; have been removed in v17.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;useffmpegvda&amp;gt;&#039;&#039;&#039; - Tag was only used for development testing. Removed in v17.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;nofliptimeout&amp;gt;&#039;&#039;&#039; - Removed in v17&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;blackbarcolour&amp;gt;&#039;&#039;&#039; - Removed in v17 (maybe?)&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;disableswmultithreading&amp;gt;&#039;&#039;&#039; - Removed in v17 (maybe?)&lt;br /&gt;
* {{anchor|.3Cmeasurerefreshrate.3E}}&#039;&#039;&#039;&amp;lt;measurerefreshrate&amp;gt;&#039;&#039;&#039; - Removed in v17 or v18?&lt;br /&gt;
* {{anchor|.3Cmyth.3E}}&#039;&#039;&#039;&amp;lt;myth&amp;gt;&#039;&#039;&#039; - Removed sometime between v16 to v18&lt;br /&gt;
* {{anchor|.3Ctuxbox.3E}}&#039;&#039;&#039;&amp;lt;tuxbox&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;backgroundupdate&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;hideemptyseries&amp;gt;&#039;&#039;&#039; - Replaced by a GUI option.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;mymovies&amp;gt;&#039;&#039;&#039; and child tag &#039;&#039;&#039;&amp;lt;categoriestogenres&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;albumssortbyartistthenyear&#039;&#039;&#039;&amp;gt; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;albumformatright&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* {{anchor|.3Cremoterepeat.3E}}&#039;&#039;&#039;&amp;lt;remoterepeat&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* {{anchor|.3Callowd3d9ex.3E}}&#039;&#039;&#039;&amp;lt;allowd3d9ex&amp;gt;&#039;&#039;&#039; and {{anchor|.3Cforced3d9ex.3E}}&#039;&#039;&#039;&amp;lt;forced3d9ex&amp;gt;&#039;&#039;&#039; - Removed sometime between v16 to v18&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;lingertime&amp;gt;&#039;&#039;&#039; - Replaced by a GUI setting in v18&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;forcevaapienabled&amp;gt;&#039;&#039;&#039; - Removed in v18&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;promptfulltagscan&amp;gt;false&amp;lt;/promptfulltagscan&amp;gt;&#039;&#039;&#039; Removed in v18. Now automatically asked each time a scan is conducted.&lt;br /&gt;
&lt;br /&gt;
== guisettings.xml settings ==&lt;br /&gt;
You can also define the settings normally defined in the GUI (and stored in guisettings.xml) in advancedsettings.xml.  Most guisettings.xml settings defined in advancedsettings.xml will override the guisettings.xml values, and the settings will be removed completely from the interface.&lt;br /&gt;
&lt;br /&gt;
The easiest way to include a guisettings.xml setting is to first change the setting in the interface to the value that you want, and then open the &#039;&#039;&#039;[[userdata]]/guisettings.xml&#039;&#039;&#039; file and find the XML entry that corresponds to that setting.&lt;br /&gt;
&lt;br /&gt;
Then just add that entry to the advancedsettings.xml file.&lt;br /&gt;
&lt;br /&gt;
For instance, to set the Font Character Set (found in the appearance setting, in the Look and Feel section), you&#039;d open up guisettings.xml and find:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;lookandfeel&amp;gt;&lt;br /&gt;
    &amp;lt;charset&amp;gt;Hebrew (Windows)&amp;lt;/charset&amp;gt;&lt;br /&gt;
  &amp;lt;/lookandfeel&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply take that entry and place it in advancedsettings.xml.  The option in Kodi&#039;s interface for the character set will then no longer be visible, and Kodi will always use the Hebrew (Windows) character set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Updated|17}}&lt;br /&gt;
{{DISPLAYTITLE:advancedsettings.xml}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Advanced topics]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Advancedsettings.xml&amp;diff=186051</id>
		<title>Advancedsettings.xml</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Advancedsettings.xml&amp;diff=186051"/>
		<updated>2019-10-29T13:34:34Z</updated>

		<summary type="html">&lt;p&gt;Crissov: /* cleandatetime */ update default https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp#L195&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}{{mininav|[[Settings]]|page=advancedsettings.xml}}&lt;br /&gt;
{{bigger|{{note|&#039;&#039;&#039;The advancedsettings.xml file does not exist by default. You have to create it first!&#039;&#039;&#039;}} }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;The [[advancedsettings.xml]] file, which does not exist by default, can be created by a user in their &#039;&#039;&#039;[[userdata folder]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This file is used for advanced settings and options that do not have GUI controls inside of {{kodi}}. Some settings are experimental or very rarely set, so they can only be used via the advancedsettings.xml file. The file is simply a plain text file and can be edited by various text editors, so long as the name is &amp;quot;advancedsettings.xml&amp;quot;. These advanced settings can be used to tweak various things such as episode naming patterns, special network ports, special behaviors, and more.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following page will describe the structure of the advancedsettings.xml file and the various individual settings.&lt;br /&gt;
&lt;br /&gt;
{{note|&lt;br /&gt;
# All XML tags must be lowercase. The start and end of the advancedsettings.xml file must have the &amp;lt;advancedsettings&amp;gt; and &amp;lt;/advancedsettings&amp;gt; tags.&lt;br /&gt;
# Kodi will only read the advancedsettings.xml file when it starts up. If you make changes while it is running then you must restart Kodi.&lt;br /&gt;
# For some Windows versions, Kodi has two &amp;lt;code&amp;gt;\userdata\&amp;lt;/code&amp;gt; folders. The correct one to put the advancedsettings.xml file in is not the one in Program Files, but in &amp;lt;code&amp;gt;%appdata%\Kodi\userdata\.&amp;lt;/code&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
The layout of &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt; is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;setting&amp;gt;value&amp;lt;/setting&amp;gt;&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;lt;setting&amp;gt;value&amp;lt;/setting&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;quot;setting&amp;quot; gives the name of the setting, and &amp;quot;value&amp;quot; gives its value.&lt;br /&gt;
&lt;br /&gt;
A list of the available &amp;quot;setting&amp;quot; strings and their values is given below.&lt;br /&gt;
&lt;br /&gt;
= List of available settings =&lt;br /&gt;
List of available settings that are recognised in the advancedsettings.xml file &amp;lt;ref&amp;gt;https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recommended: Use the table of contents or the search function in your browser to locate items.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting settings ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== loglevel ===&lt;br /&gt;
{{Anchor|.3Cloglevel.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;loglevel&amp;quot; /&amp;gt;&lt;br /&gt;
Sets the logging level used to log errors and information. The &amp;quot;hide&amp;quot; attribute is optional. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;loglevel hide=&amp;quot;attribute&amp;quot;&amp;gt;options&amp;lt;/loglevel&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Attribute&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Action&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;true&#039;&#039;&#039; &lt;br /&gt;
| Hides the &amp;quot;enable debugging&amp;quot; setting in the Settings page. (default)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;false&#039;&#039;&#039;&lt;br /&gt;
| Allows &amp;quot;enable debugging&amp;quot; setting to switch between &#039;&#039;&#039;0&#039;&#039;&#039; and &#039;&#039;&#039;2&#039;&#039;&#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Option&lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | Action&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;-1&#039;&#039;&#039;&lt;br /&gt;
| No logging, suppresses all log output &lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;0&#039;&#039;&#039;&lt;br /&gt;
| Normal logging, only logging errors (default)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
| Debug logging with freemem, fps and cpu usage (no on screen)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;2&#039;&#039;&#039; &lt;br /&gt;
| Same as 1 (with on screen display)&lt;br /&gt;
|-&lt;br /&gt;
! &#039;&#039;&#039;3&#039;&#039;&#039; &lt;br /&gt;
| Same as 2 + full smb logging (no on screen display)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Example &lt;br /&gt;
! style=&amp;quot;width:500px;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
! Example 1:&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel&amp;gt;2&amp;lt;/loglevel&amp;gt;  &lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Example 2:&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel hide=&amp;quot;true&amp;quot;&amp;gt;2&amp;lt;/loglevel&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The setting is persistent through shutdown and restarts.&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If debugging is enabled in the GUI, loglevel will be set to &#039;&#039;&#039;2&#039;&#039;&#039;. This will over-ride the &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt; setting. You must disable the GUI Setting before adding the entry to &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt;.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;loglevel&amp;quot; /&amp;gt;&lt;br /&gt;
:&#039;&#039;{{see also|Log_file|label 1=Debug Log}}&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== jsonrpc ===&lt;br /&gt;
{{Anchor|.3Cjsonrpc.3E}}&lt;br /&gt;
To make it easier for developers using the [[JSON RPC]] API in their (third party) applications to debug during development the json output of Kodi can be prettified by setting &#039;&#039;&#039;compactoutput&#039;&#039;&#039; to &#039;&#039;&#039;false&#039;&#039;&#039;. Default json output mode is a compact print which does not contain any unnecessary whitespaces and therefore is difficult to read for humans.&lt;br /&gt;
Furthermore using the &#039;&#039;&#039;tcpport&#039;&#039;&#039; setting it is possible to change the default TCP port used by Kodi for JSON RPC (which is 9090) to any other valid port.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;jsonrpc&amp;gt;&lt;br /&gt;
    &amp;lt;compactoutput&amp;gt;false&amp;lt;/compactoutput&amp;gt;&lt;br /&gt;
    &amp;lt;tcpport&amp;gt;9999&amp;lt;/tcpport&amp;gt;&lt;br /&gt;
&amp;lt;/jsonrpc&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Audio/video playback settings ==&lt;br /&gt;
&lt;br /&gt;
=== skiploopfilter ===&lt;br /&gt;
{{anchor|.3Cskiploopfilter.3E}}&lt;br /&gt;
The amount of the loop filter to skip on h.264 decoding.  This can help the performance of slower machines when decoding h264 content.  Values, in decreasing CPU usage (and decreasing quality)&lt;br /&gt;
* -16 None&lt;br /&gt;
* 0 Skip only empty frames (default)&lt;br /&gt;
* 8 Skip non-reference frames&lt;br /&gt;
* 16 Skip bi-dir frames&lt;br /&gt;
* 32 Skip all non-key frames&lt;br /&gt;
* 48 Skip all frames&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;skiploopfilter&amp;gt;8&amp;lt;/skiploopfilter&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== video ===&lt;br /&gt;
{{anchor|.3Cvideo.3E}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;video&amp;gt; section also includes the following child-tags, which have their own sections:&lt;br /&gt;
*[[#cleandatetime]]&lt;br /&gt;
*[[#cleanstrings]]&lt;br /&gt;
*[[#excludefromscan]]&lt;br /&gt;
*[[#excludefromlisting]]&lt;br /&gt;
*[[#excludetvshowsfromscan]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{note|Some tags that have a &amp;quot;third-level&amp;quot; and are grouped together are highlighted in color.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Tag !! Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Parent tag that all other child tags need to be placed inside of. Do not use more than one &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;video&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; tag, but instead place all other child-tags within a single &#039;&#039;&#039;&amp;lt;code&amp;gt;&amp;lt;video&amp;gt;&amp;lt;/video&amp;gt;&amp;lt;/code&amp;gt;&#039;&#039;&#039; set.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;subsdelayrange&amp;gt;10&amp;lt;/subsdelayrange&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Delay range for subtitles, in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;maxtempo&amp;gt;2.1&amp;lt;/maxtempo&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Allow further increase of playback speed over the default of 1.5&amp;lt;br&amp;gt;&lt;br /&gt;
maxtempo must be in the range of 1.5 to 2.1 &amp;lt;br&amp;gt;&lt;br /&gt;
Be aware of the limitations of your platform / hardware as not all are capable of the increased maxtempo &amp;lt;ref&amp;gt;https://forum.kodi.tv/showthread.php?tid=10023&amp;amp;pid=2795069#pid2795069&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;audiodelayrange&amp;gt;10&amp;lt;/audiodelayrange&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Delay range for audio/video sync, in seconds.&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;usetimeseeking&amp;gt;true&amp;lt;/usetimeseeking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Whether to use time based or percentage based seeking. {{small see also|HOW-TO:Modify time seeking}}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekforwardbig&amp;gt;600&amp;lt;/timeseekforwardbig&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekbackwardbig&amp;gt;-600&amp;lt;/timeseekbackwardbig&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Time to seek forward in seconds when doing a long seek.  Defaults to 600 (10 minutes) and -600 (-10 minutes) respectively. &#039;&#039;{{small|See also: [[HOW-TO:Modify time seeking]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekforward&amp;gt;2&amp;lt;/percentseekforward&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekbackward&amp;gt;-2&amp;lt;/percentseekbackward&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Amount to seek forward as a percentage, when doing a short seek.  Defaults to 2 (2%) and -2 (2%) respectively. &#039;&#039;{{small|See also: [[HOW-TO:Modify time seeking]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekforwardbig&amp;gt;10&amp;lt;/percentseekforwardbig&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekbackwardbig&amp;gt;-10&amp;lt;/percentseekbackwardbig&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Amount to seek forward as a percentage, when doing a long seek.  Defaults to 10 (10%) and -10 (10%) respectively. &#039;&#039;{{small|See also: [[HOW-TO:Modify time seeking]] }}&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;fullscreenonmoviestart&amp;gt;true&amp;lt;/fullscreenonmoviestart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Whether to go to fullscreen or not when starting a movie. Defaults to true.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;defaultplayer&amp;gt;VideoPlayer&amp;lt;/defaultplayer&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Set the default video player: VideoPlayer or an external player. See &#039;&#039;&#039;[[External players]]&#039;&#039;&#039; for more info.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromscan&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Regular expressions that if evaluated to true won&#039;t be added to library.  It is possible to add multiple &amp;lt;code&amp;gt;&amp;lt;regexp&amp;gt;&amp;lt;/code&amp;gt; tags to match multiple patterns&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromlisting&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromlisting&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Regular expressions that if evaluated to true won&#039;t be displayed in files view.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;playcountminimumpercent&amp;gt;90&amp;lt;/playcountminimumpercent&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Minimum percentage that has to be played before it is marked as watched. Set to 101 to never auto-mark items as watched. &#039;&#039;{{small|See also: [[HOW-TO:Modify automatic watch and resume points]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ignoresecondsatstart&amp;gt;180&amp;lt;/ignoresecondsatstart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Number of seconds to ignore at video start after which a resume point is created. &#039;&#039;{{small|See also: [[HOW-TO:Modify automatic watch and resume points]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ignorepercentatend&amp;gt;8&amp;lt;/ignorepercentatend&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Percentage of video to ignore at the end. If you stop watching the video here no resume point is created. Set to 101 to never save a resume point. The video is already marked as watched at 90%, see above. &#039;&#039;{{small|See also: [[HOW-TO:Modify automatic watch and resume points]] }}&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;vdpauscaling&amp;gt;true&amp;lt;/vdpauscaling&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Scales with vdpau instead of opengl and turns on its HQ scaler when available, enabling this might slow down rendering and cause framedrops especially on ION systems, this setting requires a vdpau feature set C GPU.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;enablehighqualityhwscalers&amp;gt;true&amp;lt;/enablehighqualityhwscalers&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Allow turning on the spline36 and lanczos3 shader (for GL builds).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;dxvaallowhqscaling&amp;gt;false&amp;lt;/dxvaallowhqscaling&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Enables high quality video upscaling for Windows.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ppffmpegdeinterlacing&amp;gt;linblenddeint&amp;lt;/ppffmpegdeinterlacing&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Override the deinterlacing options passed to libpostproc.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;ppffmpegpostprocessing&amp;gt;ha:128:7,va,dr&amp;lt;/ppffmpegpostprocessing&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Override the post processing options passed to libpostproc when &#039;Video post-processing&#039; is activated in GUI Videos-Settings-Playback.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;autoscalemaxfps&amp;gt;30&amp;lt;/autoscalemaxfps&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| When scaling method is set to auto, bilinear is chosen when the fps is higher than this limit, the default is 30.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;adjustrefreshrate&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | Settings for when &amp;quot;Adjust refreshrate to match video fps&amp;quot; is enabled in the video playback GUI settings.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;override&amp;gt;&lt;br /&gt;
      &amp;lt;fps&amp;gt;23.976&amp;lt;/fps&amp;gt;&lt;br /&gt;
      &amp;lt;refresh&amp;gt;60.0&amp;lt;/refresh&amp;gt;&lt;br /&gt;
    &amp;lt;/override&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; &amp;quot;Adjust refreshrate to match video fps&amp;quot; will try to select the best refreshrate for the video fps but it doesn&#039;t always get it right, for example it might switch to an unsupported refreshrate. You can add overrides here to switch to a certain refreshrate based on video fps. It&#039;s possible to add as many overrides as you need.  Overrides are processed in order, if the first one doesn&#039;t match the fps or no refreshrates match that override, it will try the next one until no overrides are left.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;fps&#039;&#039;&#039; - if the fps is between 23.966 and 23.986&lt;br /&gt;
* &#039;&#039;&#039;refresh&#039;&#039;&#039; - switch to the first found refreshrate that is between 59.99 and 60.01&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;override&amp;gt;&lt;br /&gt;
      &amp;lt;fpsmin&amp;gt;29.96&amp;lt;/fpsmin&amp;gt;&lt;br /&gt;
      &amp;lt;fpsmax&amp;gt;30.01&amp;lt;/fpsmax&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmin&amp;gt;59.0&amp;lt;/refreshmin&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmax&amp;gt;61.0&amp;lt;/refreshmax&amp;gt;&lt;br /&gt;
    &amp;lt;/override&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; &lt;br /&gt;
* &#039;&#039;&#039;fpsmin&#039;&#039;&#039; / &#039;&#039;&#039;fpsmin&#039;&#039;&#039; - You can also specify the fps range yourself.&lt;br /&gt;
* &#039;&#039;&#039;refreshmin&#039;&#039;&#039; / &#039;&#039;&#039;refreshmax&#039;&#039;&#039; - Same for the refreshrate&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;fallback&amp;gt;&lt;br /&gt;
      &amp;lt;refresh&amp;gt;50.0&amp;lt;/refresh&amp;gt;&lt;br /&gt;
    &amp;lt;/fallback&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; If none of the overrides match, or none of the refreshrates match any of the fps matching overrides, it will choose a fallback refreshrate. Fallbacks are process in order, if the first fallback doesn&#039;t match any refreshrate, it will try the next one until no fallbacks are left.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;refresh&#039;&#039;&#039; - Switch to the first found refreshrate that is between 49.99 and 50.01.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;fallback&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmin&amp;gt;49.0&amp;lt;/refreshmin&amp;gt;&lt;br /&gt;
      &amp;lt;refreshmax&amp;gt;51.0&amp;lt;/refreshmax&amp;gt;&lt;br /&gt;
    &amp;lt;/fallback&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &#039;&#039;&#039;Example -&#039;&#039;&#039; You can also specify the range for the fallback yourself.&lt;br /&gt;
&lt;br /&gt;
If none of the overrides match the video fps, or no refreshrates match any of the fps matching overrides, and no fallbacks are specified or no refreshrates match any fallbacks, it will automatically choose the best refreshrate (same as having no overrides and fallbacks).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;/adjustrefreshrate&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#CADCFB;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;checkdxvacompatibility&amp;gt;value&amp;lt;/checkdxvacompatibility&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Advanced setting not present: let Kodi autodetect cards that support H.264 profile &amp;gt; L4.1. Set value to false to enable DXVA no matter what. Set value to true if Kodi doesn&#039;t autodetect that the graphics card doesn&#039;t support &amp;gt; L4.1.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;useocclusionquery&amp;gt;-1&amp;lt;/useocclusionquery&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Use an occlusion query when capturing videoframes, -1 means auto detect, 0 means disabled, 1 means enabled, the default is -1.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;fpsdetect&amp;gt;1&amp;lt;/fpsdetect&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| FPS detection for video playback&lt;br /&gt;
* 0 = trust codec fps&lt;br /&gt;
* 1 = recalculate from video timestamps with uniform spacing&lt;br /&gt;
* 2 = recalculate from video timestamps always&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;latency&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot;| Start of &#039;&#039;&#039;latency&#039;&#039;&#039; tags. Display latency (video lag). Latency is given in msecs.&lt;br /&gt;
|- &lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;delay&amp;gt;0&amp;lt;/delay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | Global default display latency.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;refresh&amp;gt;&amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | Override latency for given display (not video) refresh rates. When Kodi is in windowed mode, override is ignored. Multiple overrides are allowed.&lt;br /&gt;
&lt;br /&gt;
Syntax of an override entry:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;refresh&amp;gt;&lt;br /&gt;
  &amp;lt;min&amp;gt;, &amp;lt;max&amp;gt; refresh rate range, OR&lt;br /&gt;
  &amp;lt;rate&amp;gt; exact refresh rate&lt;br /&gt;
  &amp;lt;delay&amp;gt; display latency for the given refresh rate&lt;br /&gt;
&amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;refresh&amp;gt;&lt;br /&gt;
      &amp;lt;min&amp;gt;23&amp;lt;/min&amp;gt;&lt;br /&gt;
      &amp;lt;max&amp;gt;24&amp;lt;/max&amp;gt;&lt;br /&gt;
      &amp;lt;delay&amp;gt;125&amp;lt;/delay&amp;gt;&lt;br /&gt;
    &amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | &#039;&#039;&#039;Example:&#039;&#039;&#039; display has 125 msec latency at 23-24 Hz&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
    &amp;lt;refresh&amp;gt;&lt;br /&gt;
      &amp;lt;rate&amp;gt;50&amp;lt;/rate&amp;gt;&lt;br /&gt;
      &amp;lt;delay&amp;gt;50&amp;lt;/delay&amp;gt;&lt;br /&gt;
    &amp;lt;/refresh&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | &#039;&#039;&#039;Example:&#039;&#039;&#039; display has 50 msec latency at 50 (+/-0.01) Hz&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;/latency&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| style=&amp;quot;background:#F0E68C;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;stereoscopicregex3d&amp;gt;[-. _]3d[-. _]&amp;lt;/stereoscopicregex3d&amp;gt;&lt;br /&gt;
  &amp;lt;stereoscopicregexsbs&amp;gt;[-. _]h?sbs[-. _]&amp;lt;/stereoscopicregexsbs&amp;gt;&lt;br /&gt;
  &amp;lt;stereoscopicregextab&amp;gt;[-. _]h?tab[-. _]&amp;lt;/stereoscopicregextab&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Filename triggers for 3D (stereoscopic) mode.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
  &amp;lt;assfixedworks&amp;gt;false&amp;lt;/assfixedworks&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| Position behavior of ass subtitiles when setting &amp;quot;subtitle position on screen&amp;quot; set to &amp;quot;fixed&amp;quot;. True to show at the fixed position set in video calibration. False to show at the bottom of video (default).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== audio ===&lt;br /&gt;
{{anchor|.3Caudio.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;audio&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount of headroom Kodi should use above the maximum volume level, in decibels.  Defaults to 0, valid values 0, 6, 12. --&amp;gt;&lt;br /&gt;
  &amp;lt;headroom&amp;gt;0&amp;lt;/headroom&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Default audio player: paplayer or videoplayer --&amp;gt;&lt;br /&gt;
  &amp;lt;defaultplayer&amp;gt;paplayer&amp;lt;/defaultplayer&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be added to library. --&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt; &lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](podcast)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromscan&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be displayed in Files View --&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromlisting&amp;gt; &lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](podcast)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromlisting&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount of gain (dB) to be applied to AC3 streams that have been mixed-down to 2 channels. Default is 12.0. Valid values are: -96.0 to 96.0. --&amp;gt;&lt;br /&gt;
  &amp;lt;ac3downmixgain&amp;gt;12.0&amp;lt;/ac3downmixgain&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Whether to use time based or percentage based seeking. --&amp;gt;&lt;br /&gt;
  &amp;lt;usetimeseeking&amp;gt;true&amp;lt;/usetimeseeking&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Time to seek forward in seconds when doing a long seek.  Defaults to 600 (10 minutes) and -600 (-10 minutes) respectively. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekforwardbig&amp;gt;600&amp;lt;/timeseekfowardbig&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Time to seek backward in seconds when doing a long seek back.  Defaults to 600 (10 minutes) and -600 (-10 minutes) respectively. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekbackwardbig&amp;gt;-600&amp;lt;/timeseekbackward&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Minimum percentage that has to be played before it is considered for incrementing in the Top 100 database view, or for last.fm submittal --&amp;gt;&lt;br /&gt;
  &amp;lt;playcountminimumpercent&amp;gt;99&amp;lt;/playcountminimumpercent&amp;gt; &lt;br /&gt;
  &amp;lt;!-- Whether to use Dynamic Range Compression (DRC) on AC3 streams. 1.0 is &amp;quot;full&amp;quot; compression, as defined by the audio track&#039;s metadata, which is recommended for &amp;quot;basic&amp;quot; sound systems such as the internal speakers on a TV. 0.0 is no compression at all, which is recommended for people with nice multi-speaker sound systems. -1.0 (default) defaults to whatever ffmpeg uses, which is currently the same as 1.0. This has no effect if passthrough is enabled for AC3. --&amp;gt;&lt;br /&gt;
  &amp;lt;applydrc&amp;gt;-1.0&amp;lt;/applydrc&amp;gt; &lt;br /&gt;
  &amp;lt;!-- default values for limiter/compressor --&amp;gt;&lt;br /&gt;
  &amp;lt;limiterhold&amp;gt;0.025&amp;lt;/limiterhold&amp;gt; &lt;br /&gt;
  &amp;lt;!-- default values for limiter/compressor --&amp;gt;&lt;br /&gt;
  &amp;lt;limiterrelease&amp;gt;0.1&amp;lt;/limiterrelease&amp;gt; &lt;br /&gt;
&amp;lt;/audio&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more information on the configuration of audio under Frodo see [[AudioEngine/HOW-TO: Configure audio]]&lt;br /&gt;
&lt;br /&gt;
=== edl ===&lt;br /&gt;
{{anchor|.3Cedl.3E}}&lt;br /&gt;
{{main|EDL}}&lt;br /&gt;
Commercial break detection not as good you think it could be? Are some commercial breaks in a series of adverts not being skipped? Are some parts being skipped that are clearly not commercials? Does the end of the previous recording still show? The following advanced settings can be used to better identify full commercial break sequences, remove incorrectly flagged commercial breaks, and have playback start at the actual beginning of the recording.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;edl&amp;gt;&lt;br /&gt;
  &amp;lt;!-- if true, commercial breaks will be merged according to the remaining options. --&amp;gt;&lt;br /&gt;
  &amp;lt;mergeshortcommbreaks&amp;gt;false&amp;lt;/mergeshortcommbreaks&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Commercial breaks won&#039;t be merged if the total length of the commercial break would be greater than this (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;maxcommbreaklength&amp;gt;250&amp;lt;/maxcommbreaklength&amp;gt;&lt;br /&gt;
  &amp;lt;!-- After merging, commercial breaks shorter than this will be removed (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;mincommbreaklength&amp;gt;90&amp;lt;/mincommbreaklength&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Commercial breaks that are further apart than this won&#039;t be merged (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;maxcommbreakgap&amp;gt;120&amp;lt;/maxcommbreakgap&amp;gt;&lt;br /&gt;
  &amp;lt;!-- How long to wait before automatically skipping when the start of a commercial break reached (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;commbreakautowait&amp;gt;0&amp;lt;/commbreakautowait&amp;gt;&lt;br /&gt;
  &amp;lt;!-- How long to rewind after automatically skipping to the end of the commercial break (seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;commbreakautowind&amp;gt;0&amp;lt;/commbreakautowind&amp;gt;&lt;br /&gt;
&amp;lt;/edl&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== pvr ===&lt;br /&gt;
{{anchor|.3Cpvr.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pvr&amp;gt;&lt;br /&gt;
  &amp;lt;timecorrection&amp;gt;0&amp;lt;/timecorrection&amp;gt;  &amp;lt;!-- Correct all times (epg tags, timer tags, recording tags) by this amount of minutes. --&amp;gt;&lt;br /&gt;
  &amp;lt;infotoggleinterval&amp;gt;3000&amp;lt;/infotoggleinterval&amp;gt;  &amp;lt;!-- If there is more than one pvr gui info item available (e.g. multiple recordings active at the same time), use this toggle delay in milliseconds. --&amp;gt;&lt;br /&gt;
  &amp;lt;channeliconsautoscan&amp;gt;true&amp;lt;/channeliconsautoscan&amp;gt; &amp;lt;!-- Automatically scan user defined folder for channel icons when loading internal channel groups. --&amp;gt;&lt;br /&gt;
  &amp;lt;autoscaniconsuserset&amp;gt;false&amp;lt;/autoscaniconsuserset&amp;gt; &amp;lt;!-- Mark channel icons populated by auto scan as &amp;quot;user set&amp;quot;. --&amp;gt;&lt;br /&gt;
  &amp;lt;numericchannelswitchtimeout&amp;gt;1000&amp;lt;/numericchannelswitchtimeout&amp;gt; &amp;lt;!-- Time in ms before the numeric dialog auto closes when confirmchannelswitch is disabled. --&amp;gt;&lt;br /&gt;
&amp;lt;/pvr&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== epg ===&lt;br /&gt;
{{anchor|.3Cpvr.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;epg&amp;gt;&lt;br /&gt;
  &amp;lt;updatecheckinterval&amp;gt;300&amp;lt;/updatecheckinterval&amp;gt;  &amp;lt;!-- Check every X seconds, if EPG data need to be updated. This does not mean that every X seconds an EPG update is actually triggered, it&#039;s just the interval how often to check whether an update should be triggered. If this value is greater than GUI setting &#039;epg.epgupdate&#039; value, then EPG updates will done with the value specified for &#039;updatecheckinterval&#039;, effectively overriding the GUI setting&#039;s value. --&amp;gt;&lt;br /&gt;
  &amp;lt;updateemptytagsinterval&amp;gt;60&amp;lt;/updateemptytagsinterval&amp;gt;  &amp;lt;!-- If a TV channel has no EPG data, try to obtain data for that channel every X seconds. This overrides the GUI setting &#039;epg.epgupdate&#039; value, but only for channels without EPG data. If this value is less than &#039;updatecheckinterval&#039; value, then data update will be done with the interval specified by &#039;updatecheckinterval&#039;. Example 1: epg.epgupdate = 120 (minutes!), updatecheckinterval = 300, updateemptytagsinterval = 60 =&amp;gt; trigger an EPG update for every channel without EPG data every 5 minutes and trigger an EPG update for every channel with EPG data every 2 hours. Example 2: epg.epgupdate = 120 (minutes!), updatecheckinterval = 300, updateemptytagsinterval = 3600 =&amp;gt; trigger an EPG update for every channel without EPG data every 2 hours and trigger an EPG update for every channel with EPG data every 1 hour. --&amp;gt;&lt;br /&gt;
  &amp;lt;cleanupinterval&amp;gt;900&amp;lt;/cleanupinterval&amp;gt;  &amp;lt;!-- remove old entries from the EPG every X seconds --&amp;gt;&lt;br /&gt;
  &amp;lt;activetagcheckinterval&amp;gt;60&amp;lt;/activetagcheckinterval&amp;gt;  &amp;lt;!-- check for updated active tags every X seconds --&amp;gt;&lt;br /&gt;
  &amp;lt;retryinterruptedupdateinterval&amp;gt;60&amp;lt;/retryinterruptedupdateinterval&amp;gt;  &amp;lt;!-- retry an interrupted EPG update after X seconds --&amp;gt;&lt;br /&gt;
  &amp;lt;displayupdatepopup&amp;gt;true&amp;lt;/displayupdatepopup&amp;gt;  &amp;lt;!-- display a progress popup while updating EPG data from clients --&amp;gt;&lt;br /&gt;
  &amp;lt;displayincrementalupdatepopup&amp;gt;false&amp;lt;/displayincrementalupdatepopup&amp;gt;  &amp;lt;!-- also display a progress popup while doing incremental EPG updates --&amp;gt;&lt;br /&gt;
&amp;lt;/epg&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== forcedswaptime ===&lt;br /&gt;
{{anchor|.3Cforcedswaptime.3E}}&lt;br /&gt;
Use to force a backbuffer-&amp;gt;frontbuffer swap while vsync is enabled. Set to the time (in ms) to allow for the swap (e.g. &amp;lt;forcedswaptime&amp;gt;1&amp;lt;/forcedswaptime&amp;gt; is typical).  &lt;br /&gt;
&lt;br /&gt;
Default: Off&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== omxdecodestartwithvalidframe ===&lt;br /&gt;
{{note|This tag is only in some Raspberry Pi specific distributions, such as [[OpenELEC]]. As of March 2015, this tag has not been merged into &amp;quot;vanilla&amp;quot; Kodi builds.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;omxdecodestartwithvalidframe&amp;gt;&amp;lt;/omxdecodestartwithvalidframe&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video library settings ==&lt;br /&gt;
&lt;br /&gt;
=== videoextensions ===&lt;br /&gt;
{{anchor|.3Cvideoextensions.3E}}&amp;lt;section begin=&amp;quot;videoextensions&amp;quot; /&amp;gt;&lt;br /&gt;
A list of additional file-extensions to allow (&#039;&#039;&#039;add&#039;&#039;&#039;) or exclude (&#039;&#039;&#039;remove&#039;&#039;&#039;) in the My Video windows.&lt;br /&gt;
&lt;br /&gt;
Default extensions for VIDEOS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.m4v .3g2 .3gp .nsv .tp .ts .ty .strm .pls .rm .rmvb .mpd .m3u .m3u8 .ifo .mov .qt .divx .xvid&lt;br /&gt;
.bivx .vob .nrg .pva .wmv .asf .asx .ogm .m2v .avi .dat .mpg .mpeg .mp4 .mkv .mk3d .avc .vp3&lt;br /&gt;
.svq3 .nuv .viv .dv .fli .flv .001 .wpl .vdr .dvr-ms .xsp .mts .m2t .m2ts .evo .ogv .sdp .avs&lt;br /&gt;
.rec .url .pxml .vc1 .h264 .rcv .rss .mpls .webm .bdmv .wtv .trp .f4v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;videoextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.ex1|.ex2&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.ex3|.ex4&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/videoextensions&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;videoextensions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== discstubextensions ===&lt;br /&gt;
{{main|Media stubs}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;discstubextensions&amp;quot; /&amp;gt;&lt;br /&gt;
The default filename extension for Disc Stubs is:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
.disc&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Using the following tags, it is possible to &amp;lt;tt&amp;gt;&amp;lt;add&amp;gt;&amp;lt;/tt&amp;gt; additional or &amp;lt;tt&amp;gt;&amp;lt;remove&amp;gt;&amp;lt;/tt&amp;gt; existing disc stub extensions to better suit your requirements.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;discstubextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.disk|.stub&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.disc&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/discstubextensions&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;section end=&amp;quot;discstubextensions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== languagecodes ===&lt;br /&gt;
{{anchor|.3Clanguagecodes.3E}}&lt;br /&gt;
Translation table for subtitle and audio names.  Contains entries of the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;languagecodes&amp;gt;&lt;br /&gt;
  &amp;lt;code&amp;gt;&lt;br /&gt;
    &amp;lt;short&amp;gt;alt&amp;lt;/short&amp;gt;&lt;br /&gt;
    &amp;lt;long&amp;gt;Alternate&amp;lt;/long&amp;gt;&lt;br /&gt;
  &amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/languagecodes&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== moviestacking ===&lt;br /&gt;
{{anchor|.3Cmoviestacking.3E}}&amp;lt;section begin=&amp;quot;moviestacking&amp;quot; /&amp;gt;&lt;br /&gt;
{{main|File stacking}}&lt;br /&gt;
This is used by the [[file stacking]] algorithm to combine multi-part files and contains a list of &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|regular expressions]]&#039;&#039;&amp;quot;. For stacking videos that are contained in folders, such as VIDEO_TS folders, see &#039;&#039;&#039;[[advancedsettings.xml#folderstacking|&amp;lt;folderstacking&amp;gt;]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As of v9.11, video stacking regular expressions &#039;&#039;&#039;must&#039;&#039;&#039; contain exactly four (4) capture expressions. &lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;moviestacking&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/part/pt/disk/disc&amp;gt; &amp;lt;0-N&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck])[ _.-]*[0-9]+)(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/part/pt/disk/disc&amp;gt; &amp;lt;a-d&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ _.-]*(?:cd|dvd|p(?:ar)?t|dis[ck])[ _.-]*[a-d])(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;!-- movienamea-xvid.avi, movienameb-xvid.avi --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ ._-]*[a-d])(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/moviestacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the argument &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;append=&amp;quot;yes&amp;quot;&amp;lt;/tt&amp;gt; is supplied, the default moviestacking regular expressions will remain intact and the user specified ones will be added to the end.  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;moviestacking action=&amp;quot;append&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This expression will match movename1-xvid.avi, moviename2-xvid.avi.&lt;br /&gt;
         Be warned that it will likely stack sequels in a flat directory layout,&lt;br /&gt;
         so it is only recommend in a dir-per-video layout. --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(.*?)([ ._-]*[0-9])(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/moviestacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the argument &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; is supplied, the default moviestacking regular expressions will remain intact and the user specified ones will be added to the beginning. &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;moviestacking action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;(Title)(Volume)(Ignore)(Extension)&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/moviestacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no argument is supplied, or the argument &amp;lt;tt&amp;gt;append=&amp;quot;no&amp;quot;&amp;lt;/tt&amp;gt; is supplied, the default moviestacking regular expressions are overwritten by the user specified ones.&lt;br /&gt;
&amp;lt;section end=&amp;quot;moviestacking&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== folderstacking ===&lt;br /&gt;
{{main|File stacking}}&lt;br /&gt;
This is similar to &#039;&#039;&#039;[[advancedsettings.xml#moviestacking|&amp;lt;moviestacking&amp;gt;]]&#039;&#039;&#039;, but is used for videos that are contained in folders that use the folder names to stack, such as VIDEO_TS folders (DVD rips that are not in ISO format).&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;folderstacking&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/disk/disc&amp;gt; &amp;lt;0-N&amp;gt; --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;((cd|dvd|dis[ck])[0-9]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/folderstacking&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cleandatetime ===&lt;br /&gt;
{{anchor|.3Ccleandatetime.3E}}&lt;br /&gt;
Matches a year number in a string using a &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expression]]&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Default expression:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;cleandatetime&amp;gt;(.*[^ _\,\.\(\)\[\]\-])[ _\.\(\)\[\]\-]+(19[0-9][0-9]|20[0-9][0-9])([ _\,\.\(\)\[\]\-]|[^0-9]$)?&amp;lt;/cleandatetime&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:* The string found before will be used as basis string getting cleaned by the cleanstrings expressions. &lt;br /&gt;
:* By default date formats like MM:YY are ignored.&lt;br /&gt;
&lt;br /&gt;
=== cleanstrings ===&lt;br /&gt;
{{anchor|.3Ccleanstrings.3E}}&lt;br /&gt;
Clean unwanted characters from filenames or folders by using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;. Please note that everything right of the match (at the end of the file name) is removed, so if you would have a file named &#039;&#039;Super movie.mp4&#039;&#039; and would add &amp;lt;tt&amp;gt;&amp;lt;regexp&amp;gt; &amp;lt;/regexp&amp;gt;&amp;lt;/tt&amp;gt; (only a space), the only thing that would be left is &#039;&#039;Super&#039;&#039;, which is probably not what you want.&lt;br /&gt;
&lt;br /&gt;
Default expressions:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;cleanstrings&amp;gt;&lt;br /&gt;
   &amp;lt;regexp&amp;gt;[ _\,\.\(\)\[\]\-](ac3|dts|custom|dc|divx|divx5|dsr|dsrip|dutch|dvd|dvdrip|dvdscr|dvdscreener|screener|dvdivx|cam|fragment|fs|hdtv|hdrip|hdtvrip|internal|limited|multisubs|ntsc|ogg|ogm|pal|pdtv|proper|repack|rerip|retail|cd[1-9]|r3|r5|bd5|se|svcd|swedish|german|read.nfo|nfofix|unrated|ws|telesync|ts|telecine|tc|brrip|bdrip|480p|480i|576p|576i|720p|720i|1080p|1080i|hrhd|hrhdtv|hddvd|bluray|x264|h264|xvid|xvidvd|xxx|www.www|\[.*\])([ _\,\.\(\)\[\]\-]|$)&amp;lt;/regexp&amp;gt;&lt;br /&gt;
   &amp;lt;regexp&amp;gt;(\[.*\])&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/cleanstrings&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
&lt;br /&gt;
=== tvshowmatching ===&lt;br /&gt;
{{anchor|.3Ctvshowmatching.3E}}&lt;br /&gt;
Matches the season and episode numbers in file paths by using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tvshowmatching&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;s([0-9]+)[ ._x-]*e([0-9]+(?:(?:[a-i]|\\.[1-9])(?![0-9]))?)([^\\\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.s01.e01, foo.s01_e01, S01E02 foo, S01 - E02, S01xE02 --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\._ -]()[Ee][Pp]_?([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.ep01, foo.EP_01 --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;([0-9]{4})[\.-]([0-9]{2})[\.-]([0-9]{2})&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.yyyy.mm.dd.* (byDate=true) --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;([0-9]{2})[\.-]([0-9]{2})[\.-]([0-9]{4})&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.mm.dd.yyyy.* (byDate=true) --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\\/\._ \[\(-]([0-9]+)x([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.1x09* or just /1x09* --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\\/\._ -]([0-9]+)([0-9][0-9])([\._ -][^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.103*, 103 foo --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[\/._ -]p(?:ar)?t[_. -]()([ivx]+)([._ -][^\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- Part I, Pt.VI --&amp;gt;&lt;br /&gt;
&amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
:* Paths are converted to lower case before matching.&lt;br /&gt;
:* Examples of matching regexps for certain filenames can be found on the [[TV Shows (Video Library)|TV shows]] page.&lt;br /&gt;
&lt;br /&gt;
:* For multi-episode matching to work, there needs to be a third set of parentheses &#039;()&#039; at the end, this part is fed back into the regexp engine.&lt;br /&gt;
&lt;br /&gt;
:* A [https://forum.kodi.tv/showthread.php?tid=51614 forum thread] has a discussion of pre-made regex lists to match common names. These might improve Kodi&#039;s ability to match TV show names in some situations, at the risk of additional false positives.&lt;br /&gt;
&lt;br /&gt;
==== Filenames without Season ====&lt;br /&gt;
There are two methods to add episodes without a season in their file path. Both ways will force the season to &#039;1&#039; by default, so that you can use&lt;br /&gt;
the &#039;Use Absolute Ordering (Single Season)&#039; setting from the TheTvDb.com scraper.&lt;br /&gt;
&lt;br /&gt;
; Simple Method &#039;&#039;(XBMC v9.11 onwards and Kodi)&#039;&#039;&lt;br /&gt;
: Use only one pair of parentheses&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;regexp&amp;gt;[/\._ \-]([0-9]+)&amp;lt;/regexp&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
; Advanced Method &#039;&#039;(XBMC v10.05 onwards and Kodi)&#039;&#039;&lt;br /&gt;
: Supports multi-episode files without season&lt;br /&gt;
: Use an empty pair of parentheses for the season&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;regexp&amp;gt;[/\._ \-]()([0-9]+)(-[0-9]+)?&amp;lt;/regexp&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Specifying Default Season &#039;&#039;(XBMC v12.0 onwards and Kodi)&#039;&#039;&lt;br /&gt;
It is possible to set the default season for specific regular expressions by setting the &#039;defaultseason&#039; attribute.&lt;br /&gt;
: Works with both the simple method and advanced method&lt;br /&gt;
: If not used, the season will be set to &#039;1&#039;&lt;br /&gt;
: Useful for setting specials to season &#039;0&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;regexp defaultseason=&amp;quot;0&amp;quot;&amp;gt;[/\._ \-]X()([0-9]+)(-[0-9]+)?&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;regexp defaultseason=&amp;quot;1&amp;quot;&amp;gt;[/\._ \-]E()([0-9]+)(-[0-9]+)?&amp;lt;/regexp&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== tvmultipartmatching ===&lt;br /&gt;
{{anchor|.3Ctvmultipartmatching.3E}}&lt;br /&gt;
Matches a multipart episode number based on a previously identified episode file, using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tvmultipartmatching&amp;gt;^[-_ex]+([0-9]+(?:(?:[a-i]|\\.[1-9])(?![0-9]))?)&amp;lt;/tvmultipartmatching&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:* Text matching is compared case-insensitive.&lt;br /&gt;
:* Specifying this option &#039;&#039;&#039;replaces&#039;&#039;&#039; the default value&lt;br /&gt;
&lt;br /&gt;
=== excludefromscan ===&lt;br /&gt;
{{anchor|.3Cexcludefromscan.3E}}&lt;br /&gt;
Matches filenames or folders which should be excluded from a library scan (except tvshows) using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;. This can be for both Video or Audio sections of &amp;lt;tt&amp;gt;advancedsettings.xml&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;-trailer&amp;lt;/regexp&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[!-._ \\/]sample[-._ \\/]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromscan&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
&lt;br /&gt;
=== excludefromlisting ===&lt;br /&gt;
{{anchor|.3Cexcludefromlisting.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;  &lt;br /&gt;
  &amp;lt;excludefromlisting&amp;gt; &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be displayed in Files View --&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludefromlisting&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== excludetvshowsfromscan ===&lt;br /&gt;
{{anchor|.3Cexcludetvshowsfromscan.3E}}&lt;br /&gt;
Matches filenames or folders which should be excluded from a tvshow library scan using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;excludetvshowsfromscan&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;[!-._ \\/]sample[-._ \\/]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/excludetvshowsfromscan&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* Arguments &amp;lt;tt&amp;gt;action=&amp;quot;append&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;action=&amp;quot;prepend&amp;quot;&amp;lt;/tt&amp;gt; will insert user specified expressions after, or before, the defaults above. (Further details in [[Advancedsettings.xml#.3Cmoviestacking.3E|moviestacking]] section)&lt;br /&gt;
&lt;br /&gt;
=== trailermatching ===&lt;br /&gt;
{{anchor|.3Ctrailermatching.3E}}&lt;br /&gt;
Contains &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expression]]&#039;&#039;&amp;quot; syntax (commonly referred to as &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|RegEx]]&#039;&#039;&amp;quot; or &amp;quot;&#039;&#039;[[Regular Expression (RegEx) Tutorial|RegExp]]&#039;&#039;&amp;quot;) to match the locally stored trailers to movies in the library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;trailermatching&amp;gt;&lt;br /&gt;
    &amp;lt;!-- This regexp will match moviename_Trailer.avi --&amp;gt;&lt;br /&gt;
    &amp;lt;regexp&amp;gt;(.*?)(_Trailer)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;/trailermatching&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== videolibrary ===&lt;br /&gt;
{{anchor|.3Cvideolibrary.3E}}&lt;br /&gt;
Options specific to the Video Library&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line=&#039;line&#039;&amp;gt;&lt;br /&gt;
  &amp;lt;videolibrary&amp;gt;&lt;br /&gt;
    &amp;lt;allitemsonbottom&amp;gt;false&amp;lt;/allitemsonbottom&amp;gt;  &amp;lt;!-- sorts the &amp;quot;*All&amp;quot; items at the bottom of the list when in Ascending order --&amp;gt;&lt;br /&gt;
    &amp;lt;cleanonupdate&amp;gt;false&amp;lt;/cleanonupdate&amp;gt;  &amp;lt;!-- default set to false to prevent Kodi from removing items from the database while updating.  --&amp;gt;&lt;br /&gt;
    &amp;lt;usefasthash&amp;gt;true&amp;lt;/usefasthash&amp;gt; &amp;lt;!-- defaults to true. Set to false in order to skip hashing based on the folders modification time. --&amp;gt;&lt;br /&gt;
    &amp;lt;recentlyaddeditems&amp;gt;35&amp;lt;/recentlyaddeditems&amp;gt; &amp;lt;!-- number of recently added items. Defaults to 25 --&amp;gt;&lt;br /&gt;
    &amp;lt;itemseparator&amp;gt; / &amp;lt;/itemseparator&amp;gt;  &amp;lt;!-- separator used for multiple artists/genres in tags. Note, this is *space* *slash* *space* --&amp;gt;&lt;br /&gt;
    &amp;lt;exportautothumbs&amp;gt;false&amp;lt;/exportautothumbs&amp;gt;  &amp;lt;!-- export auto-generated thumbs. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;importwatchedstate&amp;gt;false&amp;lt;/importwatchedstate&amp;gt;  &amp;lt;!-- import previously exported playdate and playcount from .nfo files. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;importresumepoint&amp;gt;false&amp;lt;/importresumepoint&amp;gt;  &amp;lt;!-- import previously exported resume point from .nfo files. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;dateadded&amp;gt;1&amp;lt;/dateadded&amp;gt; &amp;lt;!-- 0 results in using the current datetime when adding a video;&lt;br /&gt;
                                  1 (default) results in prefering to use the files mtime (if it&#039;s valid) and only using the file&#039;s ctime if the mtime isn&#039;t valid;&lt;br /&gt;
                                  2 results in using the newer datetime of the file&#039;s mtime and ctime --&amp;gt;&lt;br /&gt;
  &amp;lt;/videolibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Extra artwork ====&lt;br /&gt;
&lt;br /&gt;
New for Kodi v18.&lt;br /&gt;
Configuration to expand the artwork automatically added by Kodi to media items in the library, either from local files or online scrapers.&lt;br /&gt;
&lt;br /&gt;
The original basic artwork types are still hardcoded so they don&#039;t need to be configured here (and can&#039;t be removed). &amp;quot;poster&amp;quot; and &amp;quot;fanart&amp;quot; for movies, movie sets, TV shows, seasons, and music videos; &amp;quot;banner&amp;quot; for TV shows and seasons; and &amp;quot;thumb&amp;quot; for episodes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;videolibrary&amp;gt;&lt;br /&gt;
    &amp;lt;!-- ... combine with &amp;quot;videolibrary&amp;quot; settings above --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for TV shows --&amp;gt;&lt;br /&gt;
    &amp;lt;tvshowextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;characterart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;keyart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/tvshowextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for TV show seasons --&amp;gt;&lt;br /&gt;
    &amp;lt;tvseasonextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/tvseasonextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for TV show episodes --&amp;gt;&lt;br /&gt;
    &amp;lt;episodeextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;fanart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/episodeextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for movies --&amp;gt;&lt;br /&gt;
    &amp;lt;movieextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;keyart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/movieextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for movie sets / collections --&amp;gt;&lt;br /&gt;
    &amp;lt;moviesetextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;keyart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/moviesetextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for musicvideos --&amp;gt;&lt;br /&gt;
    &amp;lt;musicvideoextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/musicvideoextraart&amp;gt;&lt;br /&gt;
  &amp;lt;/videolibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== videoscanner ===&lt;br /&gt;
{{anchor|.3Cvideoscanner.3E}}&lt;br /&gt;
Options specific to the Video scanner&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;videoscanner&amp;gt;&lt;br /&gt;
    &amp;lt;ignoreerrors&amp;gt;true&amp;lt;/ignoreerrors&amp;gt; &amp;lt;!-- Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don&#039;t have to keep hitting &amp;quot;yes&amp;quot; to keep scanning.--&amp;gt;&lt;br /&gt;
  &amp;lt;/videoscanner&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Library artwork ==&lt;br /&gt;
&lt;br /&gt;
{{note|Using &amp;lt;imageres&amp;gt;9999&amp;lt;/imageres&amp;gt; and &amp;lt;fanartres&amp;gt;9999&amp;lt;/fanartres&amp;gt; will allow caching artwork at original size.}}&lt;br /&gt;
&lt;br /&gt;
=== imageres ===&lt;br /&gt;
{{anchor|.3Cimageres.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;imageres description&amp;quot; /&amp;gt;Specify the maximum resolution that [[Artwork/Cache#Texture optimization| cached artwork]] (other than fanart / 16:9 images) should be resized to in pixels. The width is automatically calculated as being 16/9*height.  The image will be resized to fit within this size. e.g. an image that is 2000x500 will be cached at size 1280x320. An image that is 500x800 will be cached at size 450x720 using the default value of 720.&amp;lt;section end=&amp;quot;imageres description&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imageres&amp;gt;720&amp;lt;/imageres&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== fanartres ===&lt;br /&gt;
{{anchor|.3Cfanartres.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;fanartres description&amp;quot; /&amp;gt;Specify the maximum resolution that [[Artwork/Cache#Texture optimization| cached fanart]] should be resized to in pixels. The width is automatically calculated as being 16/9*height. Only images that are exactly 16x9 and equal to or greater than this resolution will be cached at this size - all other images will be cached using &amp;lt;imageres&amp;gt;. The default value is 1080.&amp;lt;section end=&amp;quot;fanartres description&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fanartres&amp;gt;1080&amp;lt;/fanartres&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== fanart ===&lt;br /&gt;
{{anchor|.3Cfanart.3E}}&lt;br /&gt;
A list of additional files to scan when searching for local fanart images.  (The defaults are fanart.jpg and fanart.png which can be removed.)&lt;br /&gt;
*Used for &#039;&#039;&#039;music only&#039;&#039;&#039;&lt;br /&gt;
*Cannot be used in conjunction with &#039;&#039;[[Advancedsettings.xml#Music_library_extra_artwork|2.6.5.1 Music library extra artwork]]&#039;&#039; to rename extra fanart.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fanart&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;fanart.jpg&amp;lt;/remove&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;backdrop.jpg&amp;lt;/add&amp;gt;&lt;br /&gt;
&amp;lt;/fanart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== musicthumbs ===&lt;br /&gt;
{{anchor|.3Cmusicthumbs.3E}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;musicthumbs&amp;quot; /&amp;gt;A list of additional files to try when searching for music thumbnail images.  (The default is folder.jpg which can be removed.)&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;musicthumbs&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;folder.jpg&amp;lt;/remove&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;thumb.jpg|cover.jpg&amp;lt;/add&amp;gt;&lt;br /&gt;
&amp;lt;/musicthumbs&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;section end=&amp;quot;musicthumbs&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== imagescalingalgorithm ===&lt;br /&gt;
Specify the image scaling algorithm for image resizing when [[Artwork/Cache#Texture optimization| caching artwork]] to the local texture cache.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;imagescalingalgorithm&amp;gt;bicubic&amp;lt;/imagescalingalgorithm&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://github.com/xbmc/xbmc/blob/1a8753d5cd93890dc6a9f9d4b2ce8848066ea5d0/xbmc/pictures/PictureScalingAlgorithm.cpp#L32-L43 Available image scaling algorithms]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=text enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
fast_bilinear&lt;br /&gt;
bilinear&lt;br /&gt;
bicubic&lt;br /&gt;
experimental&lt;br /&gt;
nearest_neighbor&lt;br /&gt;
averaging_area&lt;br /&gt;
bicublin&lt;br /&gt;
gaussian&lt;br /&gt;
sinc&lt;br /&gt;
lanczos&lt;br /&gt;
bicubic_spline&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Video and music library settings ==&lt;br /&gt;
&lt;br /&gt;
=== playlistasfolders ===&lt;br /&gt;
{{anchor|.3Cplaylistasfolders.3E}}&lt;br /&gt;
In the recent releases, playlists are treated as folders. Selecting a playlist no longer plays it, but opens it, as if it were a folder.&lt;br /&gt;
&lt;br /&gt;
Set to false to revert to the previous behaviour. When you select a playlist, its content is added to the list of elements to be played.&lt;br /&gt;
&lt;br /&gt;
:{{note|This setting will not affect smart playlists, they will always show as folders.}}&lt;br /&gt;
&lt;br /&gt;
;Example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;playlistasfolders&amp;gt;true&amp;lt;/playlistasfolders&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== playlistretries ===&lt;br /&gt;
{{anchor|.3Cplaylistretries.3E}}&lt;br /&gt;
The number of retries attempted if a source is offline. With this control you can alter the number of consecutive failed items before a playlist fails.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;playlistretries&amp;gt;100&amp;lt;/playlistretries&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== playlisttimeout ===&lt;br /&gt;
{{anchor|.3Cplaylisttimeout.3E}}&lt;br /&gt;
The timeout, in seconds, before item failure.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;playlisttimeout&amp;gt;20&amp;lt;/playlisttimeout&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== sorttokens ===&lt;br /&gt;
Allows you to specify additional tokens that will be ignored at the start of lines during sorting.&lt;br /&gt;
{{note|Sort tokens are case sensitive.}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sorttokens&amp;gt;&lt;br /&gt;
  &amp;lt;token&amp;gt;the&amp;lt;/token&amp;gt;&lt;br /&gt;
&amp;lt;/sorttokens&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above example &amp;quot;the &amp;quot;, &amp;quot;the.&amp;quot; and &amp;quot;the_&amp;quot; will be ignored at the start of titles or names when sorting items, in both video and music libraries. A separator can also be specified, for example&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;sorttokens&amp;gt;&lt;br /&gt;
    &amp;lt;token separators=&amp;quot;&#039;&amp;quot;&amp;gt;L&amp;lt;/token&amp;gt;&lt;br /&gt;
&amp;lt;/sorttokens&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
In that case the value L&#039;, as in French movie name &#039;&#039;L&#039;argent&#039;&#039;, will be ignored and the item listed under &amp;quot;A&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== musicdatabase/videodatabase ===&lt;br /&gt;
{{anchor|.3Cmusicdatabase.3E/.3Cvideodatabase.3E|musicdatabase/videodatabase|database tags music/video/tv/epg/adsp}}&lt;br /&gt;
{{main|MySQL}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;videodatabase&amp;quot; /&amp;gt;&lt;br /&gt;
Allows advanced customization of the default database settings for music, video, TV, EPG, and ADSP databases.&lt;br /&gt;
&lt;br /&gt;
:{{note| &#039;&#039;&#039;It is HIGHLY recommended that you not attempt to place an sqlite3 database outside of kodi&#039;s path.  sqlite3 contains no filesystem abstraction, so this will plain break on any non-local (as far as Kodi is concerned) paths.  Use this for mysql only.&#039;&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parent tags:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;videodatabase&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;musicdatabase&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;tvdatabase&amp;gt;&#039;&#039;&#039; - Highly experimental/unstable and no practical benefit for most users. &#039;&#039;&#039;Avoid using.&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;epgdatabase&amp;gt;&#039;&#039;&#039; - Highly experimental/unstable and no practical benefit for most users. &#039;&#039;&#039;Avoid using.&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;adspdatabase&amp;gt;&#039;&#039;&#039; - Highly experimental/unstable and no practical benefit for most users. &#039;&#039;&#039;Avoid using.&#039;&#039;&#039;&lt;br /&gt;
{{MySQL warning}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Child tags: &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;type&amp;gt;&lt;br /&gt;
: &#039;&#039;Required&#039;&#039; - Can be either &amp;quot;sqlite3&amp;quot; or &amp;quot;mysql&amp;quot; (default: sqlite3)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;host&amp;gt;&lt;br /&gt;
:&#039;&#039;Required&#039;&#039; - &lt;br /&gt;
* sqlite3: defines the relative path to the database file (eg. /usr/local/kodi/databases).&lt;br /&gt;
* mysql: defines the host of the mysql socket (eg. localhost, 192.168.0.1, etc)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;port&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; -&lt;br /&gt;
* sqlite3: silently ignored&lt;br /&gt;
* mysql: defines the port of the mysql socket (default: 3306)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;name&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; -&lt;br /&gt;
:by default &amp;quot;MyVideos&amp;quot;+DB number will be used.&lt;br /&gt;
* sqlite3: defines the name of the database file to read from, excluding the &amp;quot;.db&amp;quot; extension.&lt;br /&gt;
* mysql: defines the name of the database to use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;user&amp;gt;&lt;br /&gt;
: &#039;&#039;Required for MySQL&#039;&#039; -&lt;br /&gt;
* sqlite3: silently ignored&lt;br /&gt;
* mysql: defines the user with privileged access to the database&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;pass&amp;gt;&lt;br /&gt;
: &#039;&#039;Required for MySQL&#039;&#039; -&lt;br /&gt;
* sqlite3: silently ignored&lt;br /&gt;
* mysql: defines the password for the user with privileged access to the database&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;compression&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - Defaults to false. Set to &amp;quot;true&amp;quot; to enable MySQL compression protocol. Performance benefit is going to be largely dependent on the network bandwidth, latency between database and clients and on the size of the result sets. [https://github.com/xbmc/xbmc/pull/6484]&lt;br /&gt;
: {{Note|Slower clients (such as the RPi and others) won&#039;t benefit from it as the zlib de-compression overhead is higher than the actual compression savings}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;key&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;cert&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;ca&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;capath&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;ciphers&amp;gt;&lt;br /&gt;
: &#039;&#039;Optional&#039;&#039; - SSL setting for MySQL [https://github.com/xbmc/xbmc/pull/2566]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Examples:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Configure a database for MySQL.&lt;br /&gt;
:{{note| &#039;&#039;The &#039;&#039;&#039;&amp;lt;videodatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;musicdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;tvdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;epgdatabase&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;adspdatabase&amp;gt;&#039;&#039;&#039; tags are interchangeable here.&#039;&#039;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;videodatabase&amp;gt;&lt;br /&gt;
  &amp;lt;type&amp;gt;mysql&amp;lt;/type&amp;gt;&lt;br /&gt;
  &amp;lt;host&amp;gt;192.168.0.10&amp;lt;/host&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;kodi_video&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;user&amp;gt;kodi&amp;lt;/user&amp;gt;&lt;br /&gt;
  &amp;lt;pass&amp;gt;kodi&amp;lt;/pass&amp;gt;&lt;br /&gt;
&amp;lt;/videodatabase&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) Configure a database for an sqlite database.&lt;br /&gt;
:{{note| &#039;&#039;The &#039;&#039;&#039;&amp;lt;videodatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;musicdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;tvdatabase&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;epgdatabase&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;adspdatabase&amp;gt;&#039;&#039;&#039; tags are interchangeable here.&#039;&#039;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;musicdatabase&amp;gt;&lt;br /&gt;
  &amp;lt;type&amp;gt;sqlite3&amp;lt;/type&amp;gt;&lt;br /&gt;
  &amp;lt;host&amp;gt;/usr/local/share/kodi/databases&amp;lt;/host&amp;gt;&lt;br /&gt;
&amp;lt;/musicdatabase&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;videodatabase&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== externalplayer ===&lt;br /&gt;
{{anchor|.3Cexternalplayer.3E}}&lt;br /&gt;
{{see|External players}}&lt;br /&gt;
&lt;br /&gt;
== Music settings ==&lt;br /&gt;
&lt;br /&gt;
=== musicextensions ===&lt;br /&gt;
{{anchor|.3Cmusicextensions.3E}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;musicextensions&amp;quot; /&amp;gt;&lt;br /&gt;
Default extensions for MUSIC:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.nsv .m4a .flac .aac .strm .pls .rm .rma .mpa .wav .wma .ogg .mp3 .mp2 .m3u .gdm .imf .m15 .sfx&lt;br /&gt;
.uni .ac3 .dts .aif .aiff .wpl .ape .mac .mpc .mp+ .mpp .shn .wv .dsp .xsp .xwav .waa .wvs .wam&lt;br /&gt;
.gcm .idsp .mpdsp .mss .spt .rsd .sap .cmc .cmr .dmc .mpt .mpd .rmt .tmc .tm8 .tm2 .oga .url&lt;br /&gt;
.pxml .tta .rss .wtv .mka .tak .opus .dff .dsf .m4b .cue .zip .rar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is possible to add or remove extensions for Music, using the following XML tags. Useful if you keep, say, FLAC and mp3 versions of music in the same folder. The &amp;lt;remove&amp;gt; tag can be used to remove mp3 from being listed in the library, leaving only the higher quality FLAC being displayed.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;musicextensions&amp;gt;&lt;br /&gt;
   &amp;lt;add&amp;gt;.ex1|.ex2&amp;lt;/add&amp;gt;&lt;br /&gt;
   &amp;lt;remove&amp;gt;.ex3|.ex4&amp;lt;/remove&amp;gt;&lt;br /&gt;
 &amp;lt;/musicextensions&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;musicextensions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cddbaddress ===&lt;br /&gt;
{{anchor|.3Ccddbaddress.3E}}&lt;br /&gt;
The address of the online CDDb database.  You may set this to another freedb mirror if there is a more suitable one.  &lt;br /&gt;
&lt;br /&gt;
Default: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;gt;&lt;br /&gt;
&amp;lt;cddbaddress&amp;gt;freedb.freedb.org&amp;lt;/cddbaddress&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== songinfoduration ===&lt;br /&gt;
{{anchor|.3Csonginfoduration.3E}}&lt;br /&gt;
This controls how long the song information will remain onscreen when the song changes during visualisations.  The valid range is &amp;quot;1&amp;quot; to &amp;quot;Indefinite (0)&amp;quot;, in seconds.  This does not include the duration of any transition effects. &lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;songinfoduration&amp;gt;10&amp;lt;/songinfoduration&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== musicfilenamefilters ===&lt;br /&gt;
{{anchor|.3Cmusicfilenamefilters.3E}}&lt;br /&gt;
Contains filters to match music information (artist, title etc.) from a tag-less music filename.  The first &amp;lt;filter&amp;gt; to match completely is used. Matched items include:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%A - Artist&lt;br /&gt;
%T - Title&lt;br /&gt;
%B - Album&lt;br /&gt;
%N - Track number&lt;br /&gt;
%S - Part of set (disk number)&lt;br /&gt;
%D - Duration&lt;br /&gt;
%G - Genre&lt;br /&gt;
%Y - Year&lt;br /&gt;
%R - Rating&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;musicfilenamefilters&amp;gt;&lt;br /&gt;
  &amp;lt;filter&amp;gt;%A - %T&amp;lt;/filter&amp;gt;&lt;br /&gt;
&amp;lt;/musicfilenamefilters&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== musiclibrary ===&lt;br /&gt;
Options specific to the Music Library&lt;br /&gt;
&amp;lt;section begin=&amp;quot;MusicLibrary&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; line=&#039;line&#039;&amp;gt;&lt;br /&gt;
&amp;lt;musiclibrary&amp;gt;&lt;br /&gt;
    &amp;lt;allitemsonbottom&amp;gt;true&amp;lt;/allitemsonbottom&amp;gt;       &amp;lt;!-- sorts the &amp;quot;*All&amp;quot; items at the bottom of the list when in Ascending order --&amp;gt;&lt;br /&gt;
    &amp;lt;cleanonupdate&amp;gt;false&amp;lt;/cleanonupdate&amp;gt;            &amp;lt;!-- default set to false to prevent Kodi from removing items from the database while updating.  --&amp;gt;&lt;br /&gt;
    &amp;lt;recentlyaddeditems&amp;gt;35&amp;lt;/recentlyaddeditems&amp;gt;     &amp;lt;!-- number of recently added items. Defaults to 25 --&amp;gt;&lt;br /&gt;
    &amp;lt;albumformat&amp;gt;%B - %Y&amp;lt;/albumformat&amp;gt;              &amp;lt;!-- album label template, default is &amp;quot;%B&amp;quot; --&amp;gt;&lt;br /&gt;
    &amp;lt;prioritiseapetags&amp;gt;true&amp;lt;/prioritiseapetags&amp;gt;     &amp;lt;!-- prioritise APEv2 tags over ID3v1/2 tags, default is false. --&amp;gt;&lt;br /&gt;
    &amp;lt;itemseparator&amp;gt; / &amp;lt;/itemseparator&amp;gt;              &amp;lt;!-- separator used for multiple artists/genres in tags. Note, this is *space* *slash* *space* See Note below--&amp;gt;&lt;br /&gt;
    &amp;lt;artistseparators&amp;gt;                              &amp;lt;!-- separator used for multiple artists. Note that spaces are used for some separators. See Note below--&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt;;&amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt;:&amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt;|&amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt; feat. &amp;lt;/separator&amp;gt;&lt;br /&gt;
        &amp;lt;separator&amp;gt; ft. &amp;lt;/separator&amp;gt;&lt;br /&gt;
    &amp;lt;/artistseparators&amp;gt;&lt;br /&gt;
    &amp;lt;dateadded&amp;gt;1&amp;lt;/dateadded&amp;gt;                        &amp;lt;!--0 results in using the current datetime when adding a song;&lt;br /&gt;
                                                        1 (default) results in prefering to use the files mtime (if it&#039;s valid) and only using the file&#039;s ctime if the mtime isn&#039;t valid;&lt;br /&gt;
                                                        2 results in using the newer datetime of the file&#039;s mtime and ctime   --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The following tags are available from v18 and later releases --&amp;gt;                                                    &lt;br /&gt;
    &amp;lt;useartistsortname&amp;gt;false&amp;lt;/useartistsortname&amp;gt;    &amp;lt;!-- When &amp;quot;true&amp;quot; the Artist Sort Name is used in sorting of songs, albums and artists. Artists can be sorted in surname. Default is &amp;quot;false&amp;quot; --&amp;gt;&lt;br /&gt;
&amp;lt;/musiclibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Note|Changing the &amp;lt;itemseparator&amp;gt; or &amp;lt;artistseparators&amp;gt; will only affect newly added items. A rescan won&#039;t change the existing ones. Remove the Source(s) or delete the Music DB and rebuild. This process should be made easier from v18 and up using &amp;lt;promptfulltagscan&amp;gt;}}&amp;lt;section end=&amp;quot;MusicLibrary&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Music library extra artwork ====&lt;br /&gt;
&lt;br /&gt;
New for Kodi v18.&lt;br /&gt;
Configuration to expand the artwork automatically added by Kodi to media items in the library, either from local files or online scrapers.&lt;br /&gt;
&lt;br /&gt;
The original basic artwork types are still hardcoded so they don&#039;t need to be configured here (and can&#039;t be removed). &amp;quot;thumb&amp;quot; for artists and albums, and &amp;quot;fanart&amp;quot; for artists.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;musiclibrary&amp;gt;&lt;br /&gt;
    &amp;lt;!-- ... combine with &amp;quot;musiclibrary&amp;quot; section above --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for artists --&amp;gt;&lt;br /&gt;
    &amp;lt;artistextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;banner&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearlogo&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;clearart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;landscape&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/artistextraart&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Additional artwork to add for albums --&amp;gt;&lt;br /&gt;
    &amp;lt;albumextraart&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;discart&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;spine&amp;lt;/arttype&amp;gt;&lt;br /&gt;
      &amp;lt;arttype&amp;gt;back&amp;lt;/arttype&amp;gt;&lt;br /&gt;
    &amp;lt;/albumextraart&amp;gt;&lt;br /&gt;
  &amp;lt;/musiclibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Photos settings ==&lt;br /&gt;
&lt;br /&gt;
=== pictureextensions ===&lt;br /&gt;
{{anchor|.3Cpictureextensions.3E}}&lt;br /&gt;
A list of additional file-extensions to allow (&#039;&#039;&#039;add&#039;&#039;&#039;) or exclude (&#039;&#039;&#039;remove&#039;&#039;&#039;) in the My Pictures window.&lt;br /&gt;
&lt;br /&gt;
Default extensions for PICTURES:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.png .jpg .jpeg .bmp .gif .ico .tif .tiff .tga .pcx .cbz .cbr .rss .webp .jp2 .apng&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pictureextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.ex1|.ex2&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.ex3|.ex4&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/pictureextensions&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== pictureexcludes ===&lt;br /&gt;
{{anchor|.3Cpictureexcludes.3E}}&lt;br /&gt;
Matches filenames or folders which should be excluded from being displayed in My Pictures using a list of &#039;&#039;[[Regular Expression (RegEx) Tutorial|Regular Expressions]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pictureexcludes&amp;gt;  &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be displayed in My Pictures --&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;small&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[-\._ ](sample|trailer)[-\._ ]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
&amp;lt;/pictureexcludes&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== slideshow ===&lt;br /&gt;
{{anchor|.3Cslideshow.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;slideshow&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount to pan images as a percentage of the screen --&amp;gt;&lt;br /&gt;
  &amp;lt;panamount&amp;gt;2.5&amp;lt;/panamount&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount to zoom images as a percentage of the screen --&amp;gt;&lt;br /&gt;
  &amp;lt;zoomamount&amp;gt;5.0&amp;lt;/zoomamount&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount to compensate (zoom) images to attempt to reduce black bars. --&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Results in cropping of the longer length of the image in order to reduce the black bars on the shorter length of the image.  --&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Defaults to 20. --&amp;gt;&lt;br /&gt;
  &amp;lt;blackbarcompensation&amp;gt;20&amp;lt;/blackbarcompensation&amp;gt;  &lt;br /&gt;
&amp;lt;/slideshow&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
&lt;br /&gt;
=== samba ===&lt;br /&gt;
{{anchor|.3Csamba.3E}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;samba&amp;gt;&lt;br /&gt;
  &amp;lt;doscodepage&amp;gt;&amp;lt;/doscodepage&amp;gt;  &amp;lt;!-- code page to use for filenames --&amp;gt;&lt;br /&gt;
  &amp;lt;clienttimeout&amp;gt;10&amp;lt;/clienttimeout&amp;gt;  &amp;lt;!-- timeout (in seconds) --&amp;gt;&lt;br /&gt;
  &amp;lt;statfiles&amp;gt;true&amp;lt;/statfiles&amp;gt;  &amp;lt;!-- Set to false to disable smb stat() on files to speed up listings of large directories (over slow links) --&amp;gt;&lt;br /&gt;
&amp;lt;/samba&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== hosts ===&lt;br /&gt;
{{anchor|.3Cfhosts.3E}}&lt;br /&gt;
Static dns entries which take precedence over your dns server.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;hosts&amp;gt;&lt;br /&gt;
  &amp;lt;entry name=&amp;quot;HOSTNAME&amp;quot;&amp;gt;IPADDRESS&amp;lt;/entry&amp;gt;&lt;br /&gt;
&amp;lt;/hosts&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== network ===&lt;br /&gt;
{{anchor|.3Cnetwork.3E}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;network&amp;gt;&lt;br /&gt;
  &amp;lt;curlclienttimeout&amp;gt;10&amp;lt;/curlclienttimeout&amp;gt;  &amp;lt;!-- Timeout in seconds for libcurl (http/ftp) connections --&amp;gt;&lt;br /&gt;
  &amp;lt;curllowspeedtime&amp;gt;20&amp;lt;/curllowspeedtime&amp;gt;  &amp;lt;!-- Time in seconds for libcurl to consider a connection lowspeed --&amp;gt;&lt;br /&gt;
  &amp;lt;curlretries&amp;gt;2&amp;lt;/curlretries&amp;gt;             &amp;lt;!-- Amount of retries for certain failed libcurl operations (e.g. timeout) --&amp;gt;&lt;br /&gt;
  &amp;lt;httpproxyusername&amp;gt;&amp;lt;/httpproxyusername&amp;gt;  &amp;lt;!-- username for Basic Proxy Authentication --&amp;gt;&lt;br /&gt;
  &amp;lt;httpproxypassword&amp;gt;&amp;lt;/httpproxypassword&amp;gt;  &amp;lt;!-- password for Basic Proxy Authentication --&amp;gt;&lt;br /&gt;
&amp;lt;/network&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|In Kodi v17, the three buffer settings are removed from the &amp;lt;code&amp;gt;&amp;lt;network&amp;gt;&amp;lt;/code&amp;gt; tag and now placed under the new &amp;lt;code&amp;gt;&amp;lt;cache&amp;gt;&amp;lt;/code&amp;gt; tag. See &#039;&#039;&#039;[[#cache]]&#039;&#039;&#039; for full details.}}&lt;br /&gt;
&lt;br /&gt;
=== cache ===&lt;br /&gt;
{{see also|HOW-TO:Modify the cache}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cache&amp;gt;&lt;br /&gt;
  &amp;lt;memorysize&amp;gt;0&amp;lt;/memorysize&amp;gt;  &amp;lt;!-- number of bytes used for buffering streams in memory &lt;br /&gt;
    When set to 0 the cache will be written to disk instead of RAM --&amp;gt;&lt;br /&gt;
  &amp;lt;buffermode&amp;gt;0&amp;lt;/buffermode&amp;gt;  &amp;lt;!-- Choose what to buffer:&lt;br /&gt;
     0) Buffer all internet filesystems (like &amp;quot;2&amp;quot; but additionally also ftp, webdav, etc.) (default)&lt;br /&gt;
     1) Buffer all filesystems (including local)&lt;br /&gt;
     2) Only buffer true internet filesystems (streams) (http, etc.)&lt;br /&gt;
     3) No buffer --&amp;gt;&lt;br /&gt;
  &amp;lt;readfactor&amp;gt;4.0&amp;lt;/readfactor&amp;gt; &amp;lt;!-- this factor determines the max readrate in terms of readfactor * avg bitrate of a video file. &lt;br /&gt;
This can help on bad connections to keep the cache filled. It will also greatly speed up buffering. Default value 4.0. --&amp;gt;&lt;br /&gt;
&amp;lt;/cache&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== airtunesport ===&lt;br /&gt;
{{anchor|.3Cairtunesport.3E}}&amp;lt;section begin=&amp;quot;airtunesport&amp;quot; /&amp;gt;&lt;br /&gt;
This overwrites the defalt listening port of the AirTunes server (announced via zeroconf).&lt;br /&gt;
&amp;lt;section end=&amp;quot;airtunesport&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== airplayport ===&lt;br /&gt;
{{anchor|.3Cairplayport.3E}}&amp;lt;section begin=&amp;quot;airplayport&amp;quot; /&amp;gt;&lt;br /&gt;
This overwrites the default listening port of the AirPlay server (announced via zeroconf).&lt;br /&gt;
&amp;lt;section end=&amp;quot;airplayport&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== File system settings ==&lt;br /&gt;
&lt;br /&gt;
=== packagefoldersize ===&lt;br /&gt;
&amp;lt;section begin=&amp;quot;packagefoldersize&amp;quot; /&amp;gt;&lt;br /&gt;
{{anchor|.3Cpackagefoldersize.3E}}&lt;br /&gt;
{{xml setting&lt;br /&gt;
 | tag name = packagefoldersize&lt;br /&gt;
 | option type = numerical&lt;br /&gt;
 | option values = &lt;br /&gt;
 | default values = 200&lt;br /&gt;
 | platform = all&lt;br /&gt;
 | XBMC version = 12&lt;br /&gt;
 | description = The amount (in megabytes) of add-on zip packages saved from previous add-on installs. These packages are mainly used for the [[add-on]] rollback feature. Increasing the size should increase the amount of past versions saved. Defaults to 200 MB.&lt;br /&gt;
 | example = Example: &amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;packagefoldersize&amp;gt;200&amp;lt;/packagefoldersize&amp;gt; &amp;lt;!-- this example would keep up to 200MB of add-on packages. --&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;section end=&amp;quot;packagefoldersize&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== detectasudf ===&lt;br /&gt;
{{anchor|.3Cdetectasudf.3E}}&lt;br /&gt;
Set to true if you wish to detect joint ISO9660/UDF disks as UDF.  &lt;br /&gt;
&lt;br /&gt;
Default: False&lt;br /&gt;
&lt;br /&gt;
=== pathsubstitution ===&lt;br /&gt;
{{anchor|.3Cpathsubstitution.3E}}&lt;br /&gt;
{{main|Path substitution}}&lt;br /&gt;
&lt;br /&gt;
{{divbox|red||&#039;&#039;&#039;Note:&#039;&#039;&#039; Path substition for &amp;quot;sources&amp;quot; and profiles is broken, and will &#039;&#039;&#039;NOT&#039;&#039;&#039; be fixed.}}&lt;br /&gt;
&lt;br /&gt;
Path substitutions are for use for redirecting file paths.  These are processed in order, and are useful for substituting an absolute path on a PC with a path suitable for Kodi to handle.  &lt;br /&gt;
&lt;br /&gt;
Default: No path substitutions defined.  &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pathsubstitution&amp;gt;&lt;br /&gt;
  &amp;lt;substitute&amp;gt;&lt;br /&gt;
    &amp;lt;from&amp;gt;G:\dvds\&amp;lt;/from&amp;gt;&lt;br /&gt;
    &amp;lt;to&amp;gt;smb://somecomputer/g-share/dvds/&amp;lt;/to&amp;gt; &amp;lt;!-- Note the difference between the usage of forward and backslashes --&amp;gt;&lt;br /&gt;
  &amp;lt;/substitute&amp;gt;&lt;br /&gt;
&amp;lt;/pathsubstitution&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Input control settings ==&lt;br /&gt;
&lt;br /&gt;
=== remotedelay ===&lt;br /&gt;
{{anchor|.3Cremotedelay.3E}}&lt;br /&gt;
The repeat delay for a LIRC remote control. A delay value between 1 and 20 before a remote button starts repeating on a long keypress (i.e. continuously sending button pushes while it&#039;s held down). &lt;br /&gt;
&lt;br /&gt;
Default: 3&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;remotedelay&amp;gt;10&amp;lt;/remotedelay&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== controllerdeadzone ===&lt;br /&gt;
{{anchor|.3Ccontrollerdeadzone.3E}}&lt;br /&gt;
This advanced settings has been removed. See [[HOW-TO:Controller deadzone]].&lt;br /&gt;
&lt;br /&gt;
=== enablemultimediakeys ===&lt;br /&gt;
{{anchor|.3Cenablemultimediakeys.3E}}&lt;br /&gt;
This setting only has any effect on Windows versions of Kodi, and only applies to builds from 28th May 2011 onwards.&lt;br /&gt;
In Windows the multimedia keys generate a WM_APPCOMMAND message in addition the keypress. Kodi processes both keypresses and the WM_APPCOMMAND messages, and the end result would be that the command is executed twice. To avoid this, by default multimedia keypresses are disabled. Although it should rarely be necessary, the enablemultimediakeys setting allows you to enable the multimedia keys.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;enablemultimediakeys&amp;gt;true&amp;lt;/enablemultimediakeys&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== seeksteps ===&lt;br /&gt;
{{Main|Skip steps}}&lt;br /&gt;
&lt;br /&gt;
This setting changes which increments are available in the settings GUI for additive seeking. Note that &amp;lt;code&amp;gt;&amp;lt;seeksteps&amp;gt;&amp;lt;/code&amp;gt; is not used to actually choose which seek steps are enabled.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;seeksteps&amp;gt;7, 15, 30, 60, 180, 300, 600, 900, 1800&amp;lt;/seeksteps&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{editor note|the defaults need to be updated for seeksteps.}}&lt;br /&gt;
&lt;br /&gt;
=== touchscreen ===&lt;br /&gt;
{{anchor|.3Ctouchscreen.3E}}&lt;br /&gt;
This setting allows you to move/align the origin of the touch screen with the origin of the display used. If touch input does not result in a correct movement of the mouse pointer, the behaviour can be corrected with an offset and a stretch/compress factor.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;touchscreen&amp;gt;&lt;br /&gt;
		&amp;lt;x_offset&amp;gt;0&amp;lt;/x_offset&amp;gt; &amp;lt;!-- set pixel x offset to align it to the used display--&amp;gt;&lt;br /&gt;
		&amp;lt;y_offset&amp;gt;0&amp;lt;/y_offset&amp;gt; &amp;lt;!-- set pixel y offset to align it to the used display--&amp;gt;&lt;br /&gt;
		&amp;lt;x_stretch_factor&amp;gt;1.0&amp;lt;/x_stretch_factor&amp;gt; &amp;lt;!-- stretch/compress the touch x axis--&amp;gt;&lt;br /&gt;
		&amp;lt;y_stretch_factor&amp;gt;1.0&amp;lt;/y_stretch_factor&amp;gt; &amp;lt;!-- stretch/compress the touch y axis--&amp;gt;&lt;br /&gt;
    &amp;lt;/touchscreen&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Other interface settings ==&lt;br /&gt;
&lt;br /&gt;
=== window ===&lt;br /&gt;
{{anchor|.3Cwindow.3E}}&lt;br /&gt;
{{note|This is a &amp;quot;hidden&amp;quot; guisettings.xml setting (defined by the mouse moving the window size), but it is mentioned here because it is a particularly useful override when used in advancedsettings.xml}}&lt;br /&gt;
This allows you to manually set the default size of Kodi&#039;s windowed mode.  If you resize the window, it will return to the set size when restarting.&lt;br /&gt;
&lt;br /&gt;
WIDTH and HEIGHT are the values for each dimension, in pixels.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;window&amp;gt;&lt;br /&gt;
    &amp;lt;width&amp;gt;WIDTH&amp;lt;/width&amp;gt;&lt;br /&gt;
    &amp;lt;height&amp;gt;HEIGHT&amp;lt;/height&amp;gt;&lt;br /&gt;
&amp;lt;/window&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== restrictcapsmask ===&lt;br /&gt;
{{anchor|.3Crestrictcapsmask.3E}}&lt;br /&gt;
Windows only. A bitmask to prevent Kodi from using detected texture capabilities of the GPU. This helps work around buggy hardware/drivers.&lt;br /&gt;
&lt;br /&gt;
1: prevent the use of compressed textures (DXT1, DXT3, DXT5)&lt;br /&gt;
2: prevent the use of non-power-of-two dimensions for textures&lt;br /&gt;
4: prevent the use of compressed textures with non-power-of-two dimensions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;restrictcapsmask&amp;gt;0&amp;lt;/restrictcapsmask&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== algorithmdirtyregions ===&lt;br /&gt;
{{anchor|.3Calgorithmdirtyregions.3E}}&lt;br /&gt;
{{see also|HOW-TO:Modify dirty regions}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;algorithmdirtyregions&amp;quot; /&amp;gt;{{note|Some GPU/hardware configurations will have some minor issues (such as a visual &amp;quot;flicker&amp;quot;). For those situations try mode 2 or use the default (mode 3, which requires no advancedsetting). Almost all ARM-based devices (such as [[Android]]) willl likely have flickering issues.}}&lt;br /&gt;
 &lt;br /&gt;
Enable dirty-region processing. Dirty regions are any parts of the screen that have changed since the last frame. By not re-rendering what hasn&#039;t changed the GUI can be sped up. Because all GPUs work differently, only Mode 3, combined with nofliptimeout=0, is guaranteed to work for everyone without flickering issues. This mode will reduce CPU/GPU usage, but will not increase GUI speed.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! value !! result !! description&lt;br /&gt;
|-&lt;br /&gt;
! 0&lt;br /&gt;
| Off&lt;br /&gt;
| The entire viewport is always rendered.&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
|Union&lt;br /&gt;
|All dirty regions are grouped into the smallest possible rectangle. This is typically the fastest mode for slower GPUs due to only making one pass.&lt;br /&gt;
|-&lt;br /&gt;
! 2&lt;br /&gt;
| {{nowrap|Cost reduction}}&lt;br /&gt;
| Each dirty region is presented separately, in as many passes as there are regions.&lt;br /&gt;
|-&lt;br /&gt;
! 3&lt;br /&gt;
| {{nowrap|Whole Screen}}&lt;br /&gt;
| The entire screen is rendered if there are any dirty regions. This, combined with nofliptimeout is a safe default for drivers that clear buffer contents (manifests as blinking or vibrating images). &#039;&#039;&#039;Default&#039;&#039;&#039;&lt;br /&gt;
|}&amp;lt;section end=&amp;quot;algorithmdirtyregions&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;algorithmdirtyregions&amp;gt;1&amp;lt;/algorithmdirtyregions&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== visualizedirtyregions ===&lt;br /&gt;
{{anchor|.3Cvisualizedirtyregions.3E}}&lt;br /&gt;
{{see also|HOW-TO:Modify dirty regions}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;visualizedirtyregions&amp;quot; /&amp;gt;Enable dirty-region visualization. Paints a rectangle over marked controls.&lt;br /&gt;
&lt;br /&gt;
* true: on&lt;br /&gt;
* false: off &#039;&#039;&#039;(Default)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{note|This is only a development mode and isn&#039;t of use to normal users.}}&lt;br /&gt;
&amp;lt;section end=&amp;quot;visualizedirtyregions&amp;quot; /&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;visualizedirtyregions&amp;gt;true&amp;lt;/visualizedirtyregions&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== smartredraw ===&lt;br /&gt;
&lt;br /&gt;
{{note|This is an experimental feature and you might face issues using it. So please be aware of that.}}&lt;br /&gt;
&lt;br /&gt;
This new feature was introduced in Kodi 18 and if enabled, the GUI process call (and therefore the render call) is only done if anything has changed. The result will be a faster GUI and less load if Kodi plays a video&lt;br /&gt;
&lt;br /&gt;
* true: on&lt;br /&gt;
* false: off &#039;&#039;&#039;(Default)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;smartredraw&amp;gt;true&amp;lt;/smartredraw&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== showexitbutton ===&lt;br /&gt;
{{anchor|.3Cshowexitbutton.3E}}&lt;br /&gt;
Setting to hide the exit button, useful for people running appliance based setups where exit would only confuse/complicate the user. Modifiable via the advancedsettings.xml by setting showexitbutton to false, default is true (show)&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;showexitbutton&amp;gt;true&amp;lt;/showexitbutton&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== fullscreen ===&lt;br /&gt;
{{anchor|.3Cfullscreen.3E}}&lt;br /&gt;
Starts Kodi in full screen (check resolutions!).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fullscreen&amp;gt;false&amp;lt;/fullscreen&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== splash ===&lt;br /&gt;
{{anchor|.3Csplash.3E}}&lt;br /&gt;
Set to false if you wish to disable the startup splash image. Defaults to true.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;splash&amp;gt;true&amp;lt;/splash&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cputempcommand ===&lt;br /&gt;
{{anchor|.3Ccputempcommand.3E}}&lt;br /&gt;
Provide a shell command Kodi will use to get CPU temperature. It should print out only &amp;quot;[temp as integer] [scale as one of &amp;quot;CcFf&amp;quot;]&amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For Nvidia and Raspberry Pi&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cputempcommand&amp;gt;sed -e &#039;s/\([0-9]*\)[0-9]\{3\}.*/\1 C/&#039; /sys/class/thermal/thermal_zone0/temp&amp;lt;/cputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cputempcommand&amp;gt;echo &amp;quot;$(sensors -u | tail -n64 | grep temp1_input | awk &#039;{print $2 }&#039; |awk &#039;{printf(&amp;quot;%d\n&amp;quot;,$1 + 0.5);}&#039;) C&amp;quot;&amp;lt;/cputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For ATI/AMD&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;cputempcommand&amp;gt;sensors|sed -ne &amp;quot;s/temp1: \+[-+]\([0-9]\+\).*/\1 C/p&amp;quot;&amp;lt;/cputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== gputempcommand ===&lt;br /&gt;
{{anchor|.3Cgputempcommand.3E}}&lt;br /&gt;
Provide a shell command Kodi will use to get GPU temperature. It should print out only &amp;quot;[temp as integer] [scale as one of &amp;quot;CcFf&amp;quot;]&amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For Nvidia&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;echo &amp;quot;$(nvidia-settings -tq gpuCoreTemp) C&amp;quot;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;echo &amp;quot;$(nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c35-36) C&amp;quot;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
;&amp;lt;u&amp;gt;For ATI/AMD&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;/usr/bin/aticonfig --od-gettemperature | grep Temperature | cut -f 2 -d &amp;quot;-&amp;quot; | cut -f 1 -d &amp;quot;.&amp;quot; | sed -e &amp;quot;s, ,,&amp;quot; | sed &#039;s/$/ C/&#039;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;u&amp;gt;For Raspberry Pi&amp;lt;/u&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gputempcommand&amp;gt;/opt/vc/bin/vcgencmd measure_temp | sed -e &amp;quot;s/temp=//&amp;quot; -e &amp;quot;s/\..*&#039;/ /&amp;quot;&amp;lt;/gputempcommand&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== glrectanglehack ===&lt;br /&gt;
{{anchor|.3Cglrectanglehack.3E}}&lt;br /&gt;
Problems with ghosting or videos which are only played back in the left upper quarter? The following ATI hack may solve it.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;glrectanglehack&amp;gt;yes&amp;lt;/glrectanglehack&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== alwaysontop ===&lt;br /&gt;
{{anchor|.3Calwaysontop.3E}}&lt;br /&gt;
Added in XBMC v9.11 (Windows OS only). Keeps Kodi always on top when windowed.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;alwaysontop&amp;gt;yes&amp;lt;/alwaysontop&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is also a fake fullscreen GUI option in Kodi&#039;s settings.&lt;br /&gt;
&lt;br /&gt;
== Removed tags ==&lt;br /&gt;
{{anchor|Recently removed tags}}&lt;br /&gt;
* {{anchor|.3Cthumbsize.3E}}&#039;&#039;&#039;&amp;lt;thumbsize&amp;gt;&#039;&#039;&#039; - replaced by &amp;lt;[[#imageres|imageres]]&amp;gt; in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cfanartheight.3E}}&#039;&#039;&#039;&amp;lt;fanartheight&amp;gt;&#039;&#039;&#039; - replaced by &amp;lt;[[#fanartres|fanartres]]&amp;gt; in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cdvdthumbs.3E}}&#039;&#039;&#039;&amp;lt;dvdthumbs&amp;gt;&#039;&#039;&#039; - removed in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cbusydialogdelayms.3E}}&#039;&#039;&#039;&amp;lt;busydialogdelayms&amp;gt;&#039;&#039;&#039; - removed in v12 Frodo&lt;br /&gt;
* {{anchor|.3Cbginfoloadermaxthreads.3E}}&#039;&#039;&#039;&amp;lt;bginfoloadermaxthreads&amp;gt;&#039;&#039;&#039; - removed in v13 Gotham&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;showepginfoonselect&amp;gt;&#039;&#039;&#039; - replaced by a GUI setting in v13 Gotham&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;resample&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;forceDirectSound&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;audiophile&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;audiosinkbufferdurationmsec&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;allowtranscode44100&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;streamsilence&amp;gt;&#039;&#039;&#039; - These were various sub-tags for &amp;lt;audio&amp;gt; that were removed in v13 Gotham and either replaced by GUI settings or were no longer needed.&lt;br /&gt;
* {{anchor|.3Cenableairtunesdebuglog.3E}}&#039;&#039;&#039;&amp;lt;enableairtunesdebuglog&amp;gt;&#039;&#039;&#039; - replaced by a GUI option in v14 Helix&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;videoDisableHi10pMultithreading&amp;gt;&#039;&#039;&#039; - renamed to &amp;lt;disableswmultithreading&amp;gt; in v14 Helix&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;hideallitems&amp;gt;&#039;&#039;&#039; - For both the &amp;lt;code&amp;gt;&amp;lt;videolibrary&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;musiclibrary&amp;gt;&amp;lt;/code&amp;gt; sections, this is replaced by a GUI option in v15 Isengard&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;SmallStepBackSeconds&amp;gt;&#039;&#039;&#039; - In v15 the &amp;lt;code&amp;gt;SmallStepBack&amp;lt;/code&amp;gt; [[action ID]] has been replaced by &amp;lt;code&amp;gt;seek(-7)&amp;lt;/code&amp;gt; in default keymaps. See &#039;&#039;&#039;[[skip steps]]&#039;&#039;&#039; for details. When the original &amp;lt;code&amp;gt;SmallStepBack&amp;lt;/code&amp;gt; action ID is used it defaults to the first backwards [[skip steps|additive seeking value]].&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;timeseekforward&amp;gt;/&amp;lt;timeseekbackward&amp;gt;&#039;&#039;&#039; - In v15 these tags are replaced by GUI options via [[skip steps|additive seeking]], which is configured in the GUI. See &#039;&#039;&#039;[[skip steps]]&#039;&#039;&#039; for details.&lt;br /&gt;
* {{anchor|.3Ckaraoke.3E}}&#039;&#039;&#039;&amp;lt;karaoke&amp;gt;&#039;&#039;&#039; - In v16 all of the karaoke features in Kodi were removed.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;useddsfanart&amp;gt;&#039;&#039;&#039; - removed in v17 Krypton.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;cachemembuffersize&amp;gt;&#039;&#039;&#039; and &#039;&#039;&#039;&amp;lt;readbufferfactor&amp;gt;&#039;&#039;&#039; - In v17 &#039;&#039;&#039;&amp;lt;cachemembuffersize&amp;gt;&#039;&#039;&#039; is renamed to &#039;&#039;&#039;&amp;lt;memorysize&amp;gt;&#039;&#039;&#039; and &amp;lt;code&amp;gt;&amp;lt;readbufferfactor&amp;gt;&amp;lt;/code&amp;gt; is renamed to &amp;lt;code&amp;gt;&amp;lt;readfactor&amp;gt;&amp;lt;/code&amp;gt;. In addition, all three buffer related settings in &amp;lt;network&amp;gt; are moved out of &amp;lt;network&amp;gt; and into a new &amp;lt;cache&amp;gt; parent tag.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;minvideocachelevel&amp;gt;&#039;&#039;&#039;, &#039;&#039;&#039;&amp;lt;minaudiocachelevel&amp;gt;&#039;&#039;&#039;, and &#039;&#039;&#039;&amp;lt;cacheindvdplayer&amp;gt;&#039;&#039;&#039; have been removed in v17.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;useffmpegvda&amp;gt;&#039;&#039;&#039; - Tag was only used for development testing. Removed in v17.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;nofliptimeout&amp;gt;&#039;&#039;&#039; - Removed in v17&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;blackbarcolour&amp;gt;&#039;&#039;&#039; - Removed in v17 (maybe?)&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;disableswmultithreading&amp;gt;&#039;&#039;&#039; - Removed in v17 (maybe?)&lt;br /&gt;
* {{anchor|.3Cmeasurerefreshrate.3E}}&#039;&#039;&#039;&amp;lt;measurerefreshrate&amp;gt;&#039;&#039;&#039; - Removed in v17 or v18?&lt;br /&gt;
* {{anchor|.3Cmyth.3E}}&#039;&#039;&#039;&amp;lt;myth&amp;gt;&#039;&#039;&#039; - Removed sometime between v16 to v18&lt;br /&gt;
* {{anchor|.3Ctuxbox.3E}}&#039;&#039;&#039;&amp;lt;tuxbox&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;backgroundupdate&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;hideemptyseries&amp;gt;&#039;&#039;&#039; - Replaced by a GUI option.&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;mymovies&amp;gt;&#039;&#039;&#039; and child tag &#039;&#039;&#039;&amp;lt;categoriestogenres&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;albumssortbyartistthenyear&#039;&#039;&#039;&amp;gt; - Removed&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;albumformatright&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* {{anchor|.3Cremoterepeat.3E}}&#039;&#039;&#039;&amp;lt;remoterepeat&amp;gt;&#039;&#039;&#039; - Removed&lt;br /&gt;
* {{anchor|.3Callowd3d9ex.3E}}&#039;&#039;&#039;&amp;lt;allowd3d9ex&amp;gt;&#039;&#039;&#039; and {{anchor|.3Cforced3d9ex.3E}}&#039;&#039;&#039;&amp;lt;forced3d9ex&amp;gt;&#039;&#039;&#039; - Removed sometime between v16 to v18&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;lingertime&amp;gt;&#039;&#039;&#039; - Replaced by a GUI setting in v18&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;forcevaapienabled&amp;gt;&#039;&#039;&#039; - Removed in v18&lt;br /&gt;
* &#039;&#039;&#039;&amp;lt;promptfulltagscan&amp;gt;false&amp;lt;/promptfulltagscan&amp;gt;&#039;&#039;&#039; Removed in v18. Now automatically asked each time a scan is conducted.&lt;br /&gt;
&lt;br /&gt;
== guisettings.xml settings ==&lt;br /&gt;
You can also define the settings normally defined in the GUI (and stored in guisettings.xml) in advancedsettings.xml.  Most guisettings.xml settings defined in advancedsettings.xml will override the guisettings.xml values, and the settings will be removed completely from the interface.&lt;br /&gt;
&lt;br /&gt;
The easiest way to include a guisettings.xml setting is to first change the setting in the interface to the value that you want, and then open the &#039;&#039;&#039;[[userdata]]/guisettings.xml&#039;&#039;&#039; file and find the XML entry that corresponds to that setting.&lt;br /&gt;
&lt;br /&gt;
Then just add that entry to the advancedsettings.xml file.&lt;br /&gt;
&lt;br /&gt;
For instance, to set the Font Character Set (found in the appearance setting, in the Look and Feel section), you&#039;d open up guisettings.xml and find:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;lookandfeel&amp;gt;&lt;br /&gt;
    &amp;lt;charset&amp;gt;Hebrew (Windows)&amp;lt;/charset&amp;gt;&lt;br /&gt;
  &amp;lt;/lookandfeel&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply take that entry and place it in advancedsettings.xml.  The option in Kodi&#039;s interface for the character set will then no longer be visible, and Kodi will always use the Hebrew (Windows) character set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Updated|17}}&lt;br /&gt;
{{DISPLAYTITLE:advancedsettings.xml}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Advanced topics]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=175767</id>
		<title>Video file tagging</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Video_file_tagging&amp;diff=175767"/>
		<updated>2019-07-17T20:50:46Z</updated>

		<summary type="html">&lt;p&gt;Crissov: copyedit, tag field table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]||}}&lt;br /&gt;
{{incomplete}}&lt;br /&gt;
{{notice|This feature is currently for &#039;&#039;&#039;movies only&#039;&#039;&#039;. TV shows and music videos are not yet supported.}}&lt;br /&gt;
{{notice|This page describes an &#039;&#039;&#039;experimental&#039;&#039;&#039; and alternative way of adding movies to the library that is not dependent on file names or online scrapers.}}&lt;br /&gt;
{{notice|If you have already named and organized your files using Kodi&#039;s naming guidelines, then you can safely ignore this page and go to the next step.}}&lt;br /&gt;
{{VideoLibraryCreate}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Kodi v18 Leia introduces support for embedded video tags using &#039;&#039;&#039;*.mkv&#039;&#039;&#039; and &#039;&#039;&#039;*.mp4&#039;&#039;&#039; video files. They are similar in principle to the tags saved in audio files. Only limited movie support is available at this time.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Benefits of embedded video tags =&lt;br /&gt;
There are multiple reasons why one would want to use this feature:&lt;br /&gt;
Media may already contain useful metadata (the reverse however is also true - many files contain &amp;quot;junk&amp;quot; metadata, hence why the feature defaults to off).&lt;br /&gt;
It gives one more control over the metadata than scrapers do (as scrapers may misclassify media and pull the wrong data).&lt;br /&gt;
It does away with the need to have [[.nfo file]]s. Since metadata travels with the media file, there is no longer a need for potentially thousands of these smaller files and can make directory management even easier.&lt;br /&gt;
Using ultra-high resolution [[artwork]]/cover images that looks nicer on newer HD displays. (Pretty pictures!)&lt;br /&gt;
&lt;br /&gt;
== How does it change/differ from the old model? ==&lt;br /&gt;
Kodi has two options for metadata import: using an online scraper or using local information, traditionally in the form of .nfo files. Local tag reading is bundled into the &amp;quot;Local Information&amp;quot; arm, as logically, metadata is still local (i.e not network-drawn) information. Thus, one can still use a combination of .nfo files and embedded information if they choose &amp;quot;Local Information&amp;quot; rather than to use a scraper.&lt;br /&gt;
&lt;br /&gt;
It is important to note however that .nfo files will override embedded information. Not all of Kodi&#039;s NFO features are supported by embedded metadata yet, so many users may wish to still use the NFO method. (https://forum.kodi.tv/showthread.php?tid=326340)&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{{Kodi}} [[settings]] have the option to enable or disable the reading of video file tags at [[Settings/Media/Videos|Settings &amp;gt; Media Settings &amp;gt; Videos &amp;gt; Use video tags]]. The default setting is &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This page assumes this setting has been &#039;&#039;enabled&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
= Folder &amp;amp; File Structure =&lt;br /&gt;
The use of Video File Tags does not absolve you from using the correct Folder and File structure for [[Naming video files/Movies|Movies]], [[Naming video files/TV Shows|TV Shows]] and [[Music videos|Music Videos]] as detailed in the previous pages.&lt;br /&gt;
&lt;br /&gt;
= Tagging =&lt;br /&gt;
{{no endorsement notice}}&lt;br /&gt;
&lt;br /&gt;
{{note|User-friendly options for adding and editing embedded metadata may be lacking for your given platform. Be prepared for challenges when going down this path.}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
[http://www.mp3tag.de MP3tag] is a Windows-based metadata editor for many different files and tag types, including MP4 and MKV (despite what it&#039;s name may suggest). While somewhat complex, it provides very fine-grained control over [https://help.mp3tag.de/main_tags.html tagging], and is a worthwhile asset in any media management library.&lt;br /&gt;
&lt;br /&gt;
MetaX is a user-friendly tagging solution. However, it is proprietary and paid ($10). It features much the same core features as MP3tag, but adds an online search functionality to grab metadata from providers such as iTunes, Amazon and others, as well as an autotag feature. This can be useful to people with enormous media collections where the time saved manually tagging justifies the price.&lt;br /&gt;
&lt;br /&gt;
== Mac ==&lt;br /&gt;
; MP4 tagging:&lt;br /&gt;
* [https://griff.github.io/metaz/ MetaZ] is a free and open source metadata lookup and editor for Mac OS.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
* mp4v2&lt;br /&gt;
* exiftool&lt;br /&gt;
&lt;br /&gt;
== A note on iTunes ==&lt;br /&gt;
Apple, in their wisdom, have created a subset of MP4 tags that are strictly speaking only meant for use with iTunes. However, most tagging software can read and write these iTunes tags. These tags are also quite useful but will not work with Kodi. Tags include the ability to store Cast (actors), Screenwriter and Director information, as well as age restriction data such as MPAA ratings.&lt;br /&gt;
&lt;br /&gt;
The important point to note here is that just because your tagging software allows you to add these does not mean they will be used. After all, they are unstandardized and were created by Apple solely for use with iTunes and iOS/macOS devices.&lt;br /&gt;
&lt;br /&gt;
= Core Tags =&lt;br /&gt;
&lt;br /&gt;
While there are an absolute myriad of tags that one can use, many, if not most of these are unnecessary for video files. Remember that MP4 tags have to have fields for everything - TV shows, movies, music videos and music! We do not want to populate tags related to music (such as Artist) in a movie file. As such here are some of the most critical tags for video (TV show and Movie) files.&lt;br /&gt;
&lt;br /&gt;
== Title ==&lt;br /&gt;
It seems that Kodi will not import a media file without a valid title in the metadata tag. This makes it the most critical tag of all.&lt;br /&gt;
&lt;br /&gt;
Title also differs from Filename - I may have a file called Blade_Runner_2049_(2017)Withalotofexcessinformation.mp4, But the title value can simply be &amp;quot;Blade Runner 2049&amp;quot;. Kodi will then display &amp;quot;Blade Runner 2049).&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This describes the movie/TV Show. A snippet from iTunes&#039; description of Blade Runner 2049 is as follows: &amp;quot;Thirty years after the events of the first film, a new blade runner, LAPD Officer K (Ryan Gosling), unearths a long buried secret that has the potential to plunge what’s left of society into chaos.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Descriptions thus actually describe the character or basic plot of a movie or TV Show. These will be displayed in Kodi when the file is selected.&lt;br /&gt;
&lt;br /&gt;
Best practice at this point seems to be to mirror the Long Description and Short Description, as there does not seem to be any practical distinction between the two.&lt;br /&gt;
&lt;br /&gt;
When using this tag with TV Shows, every episode can be individually described according to the plot of that particular episode.&lt;br /&gt;
&lt;br /&gt;
== Content Type ==&lt;br /&gt;
In MP4 there should be four choices: Music, Music Video, Movie and TV Show. The choice does not seem to matter at this point as Kodi can not distinguish files based on this tag, but rather relies on the manual setting when the directory was added. It might be useful to set this properly when tagging however, as a future change to allow Kodi to distinguish these tags may prove invaluable.&lt;br /&gt;
&lt;br /&gt;
== Cover/Picture ==&lt;br /&gt;
For some users, the singular greatest benefit to tags is being able to set your own cover image. Don&#039;t like the standard cover? Use the Collectors Edition or Digital Download cover.&lt;br /&gt;
&lt;br /&gt;
== TV Show Specific Tags ==&lt;br /&gt;
There are three more tags that should be filled in for TV Shows: &#039;&#039;&#039;Show&#039;&#039;&#039; (tvsh), numeric &#039;&#039;&#039;Season&#039;&#039;&#039; (tvsn) and &#039;&#039;&#039;Episode Number&#039;&#039;&#039; (tves) and the unique &#039;&#039;&#039;Production Code&#039;&#039;&#039; (tven). &lt;br /&gt;
At the moment these tags do not seem to be of any practical use in Kodi, but should nevertheless be filled out as this may change.&lt;br /&gt;
&lt;br /&gt;
= Supported Tags =&lt;br /&gt;
&lt;br /&gt;
; {{red|are the tags in this table for both mkv and mp4?}}&lt;br /&gt;
: Both MP4 and MKV tags are supported, although they use fundamentally different methods of encoding metadata.&lt;br /&gt;
; {{red|Is it ok to remove the music related tags? Are they separated accurately?}}&lt;br /&gt;
: n/a&lt;br /&gt;
; {{red|I cannot find these video related tags in mp3tag}}&lt;br /&gt;
: To get to all the juicy video file related tags in mp3tag, right click on your video file and select &amp;quot;Extended Tags&amp;quot;. From here one can see all the tags currently in a file. Add new ones by clicking on the Add button, selecting a Field (what tag to edit) and entering a value. The most critical one in all cases is TITLE, as it seems Kodi will not add a media file if this core tag is missing (and there is no .nfo file).&lt;br /&gt;
: This will also allow you to add the cover artwork.&lt;br /&gt;
; {{red|What format is this- id3, APE, Generic, MP4, other?}}&lt;br /&gt;
: MP4 files use &amp;quot;moov&amp;quot; atoms embedded within the file. These are the same ones used in AAC audio files (such as m4a).&lt;br /&gt;
; {{red|IMDBURL/TMDBURL is this one tag or two separate tags?}}&lt;br /&gt;
: n/a&lt;br /&gt;
&lt;br /&gt;
== MP4 tag options ==&lt;br /&gt;
&lt;br /&gt;
The below table shows the &#039;&#039;mp4tags&#039;&#039; (part of mp4v2) command line (CLI) options for all standard MP4 tags. Kodi roughly supports the ones applicable to movies.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;background-color:#a1f5e4;&amp;quot; | Video File Tags&lt;br /&gt;
|+&lt;br /&gt;
!style=&amp;quot;background-color:#f5f5a1; text-align:left; width: 10em&amp;quot; colspan=2 | mp4v2 CLI parameter&lt;br /&gt;
!style=&amp;quot;background-color:#f5f5a1; text-align:left; width: 3em&amp;quot; title=&amp;quot;STR = text, NUM = number&amp;quot; | Type&lt;br /&gt;
!style=&amp;quot;background-color:#f5f5a1; text-align:left;&amp;quot; | MP4 field &lt;br /&gt;
!style=&amp;quot;background-color:#f5f5a1; text-align:left;&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| -B&lt;br /&gt;
| -podcast&lt;br /&gt;
| pcst&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the podcast flag&lt;br /&gt;
|-&lt;br /&gt;
| -c&lt;br /&gt;
| -comment&lt;br /&gt;
| ©cmt&lt;br /&gt;
| STR&lt;br /&gt;
| Set a general comment&lt;br /&gt;
|- &lt;br /&gt;
| -C&lt;br /&gt;
| -copyright&lt;br /&gt;
| cprt&lt;br /&gt;
| STR &lt;br /&gt;
| Set the copyright information&lt;br /&gt;
|- &lt;br /&gt;
| -e&lt;br /&gt;
| -encodedby&lt;br /&gt;
| ?&lt;br /&gt;
| STR &lt;br /&gt;
| Set the name of the person or company who encoded the file&lt;br /&gt;
|-&lt;br /&gt;
| -E&lt;br /&gt;
| -tool&lt;br /&gt;
| ?&lt;br /&gt;
| STR&lt;br /&gt;
| Set the software used for encoding&lt;br /&gt;
|-&lt;br /&gt;
| -g&lt;br /&gt;
| -genre&lt;br /&gt;
| gnre / ©gen&lt;br /&gt;
| STR&lt;br /&gt;
| Set the genre name&lt;br /&gt;
|-&lt;br /&gt;
| -G&lt;br /&gt;
| -grouping&lt;br /&gt;
| ©grp&lt;br /&gt;
| STR&lt;br /&gt;
| Set the grouping name&lt;br /&gt;
|-&lt;br /&gt;
| -H&lt;br /&gt;
| -hdvideo&lt;br /&gt;
| hdvd&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the HD flag (1/0)&lt;br /&gt;
|-&lt;br /&gt;
| -i&lt;br /&gt;
| -type&lt;br /&gt;
| stik&lt;br /&gt;
| STR&lt;br /&gt;
| Set the Media Type (tvshow, movie, music, ...)&lt;br /&gt;
|-&lt;br /&gt;
| -I&lt;br /&gt;
| -contentid&lt;br /&gt;
| cnID?&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the content ID&lt;br /&gt;
|-&lt;br /&gt;
| -j&lt;br /&gt;
| -genreid&lt;br /&gt;
| ©gen / gnre?&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the genre ID&lt;br /&gt;
|-&lt;br /&gt;
| -l&lt;br /&gt;
| -longdesc&lt;br /&gt;
| desc?&lt;br /&gt;
| STR&lt;br /&gt;
| Set the long description&lt;br /&gt;
|-&lt;br /&gt;
| -m&lt;br /&gt;
| -description&lt;br /&gt;
| desc?&lt;br /&gt;
| STR&lt;br /&gt;
| Set the short description&lt;br /&gt;
|-&lt;br /&gt;
| -M&lt;br /&gt;
| -episode&lt;br /&gt;
| tves&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the episode number&lt;br /&gt;
|-&lt;br /&gt;
| -n&lt;br /&gt;
| -season&lt;br /&gt;
| tvsn&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the season number&lt;br /&gt;
|-&lt;br /&gt;
| -N&lt;br /&gt;
| -network&lt;br /&gt;
| tvnn&lt;br /&gt;
| STR&lt;br /&gt;
| Set the TV network&lt;br /&gt;
|-&lt;br /&gt;
| -o&lt;br /&gt;
| -episodeid&lt;br /&gt;
| tven&lt;br /&gt;
| STR&lt;br /&gt;
| Set the TV episode ID&lt;br /&gt;
|-&lt;br /&gt;
| -O&lt;br /&gt;
| -category&lt;br /&gt;
| ©grp?&lt;br /&gt;
| STR&lt;br /&gt;
| Set the category&lt;br /&gt;
|-&lt;br /&gt;
| -p&lt;br /&gt;
| -playlistid&lt;br /&gt;
| ?&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the playlist ID&lt;br /&gt;
|-&lt;br /&gt;
| -P&lt;br /&gt;
| -picture&lt;br /&gt;
| &lt;br /&gt;
| PTH&lt;br /&gt;
| Set the picture as a .png, Cover&lt;br /&gt;
|-&lt;br /&gt;
| -S&lt;br /&gt;
| -show&lt;br /&gt;
| tvsh&lt;br /&gt;
| STR&lt;br /&gt;
| Set the TV show&lt;br /&gt;
|-&lt;br /&gt;
| -X&lt;br /&gt;
| -rating&lt;br /&gt;
| rtng&lt;br /&gt;
| STR&lt;br /&gt;
| Set the Rating (none, clean, explicit)&lt;br /&gt;
|- &lt;br /&gt;
| -y&lt;br /&gt;
| -year&lt;br /&gt;
| ©day&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the release date&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;background-color:#a1f5e4;&amp;quot; | Music File Tags- TO BE REMOVED FROM LIST? or is it used for Music Videos?&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;background-color:#f5f5a1; text-align:left; width:050px&amp;quot; | ?&lt;br /&gt;
! style=&amp;quot;background-color:#f5f5a1; text-align:left; width:100px&amp;quot; | Tag&lt;br /&gt;
! style=&amp;quot;background-color:#f5f5a1; text-align:left; width:050px&amp;quot; | Type&lt;br /&gt;
! style=&amp;quot;background-color:#f5f5a1; text-align:left; width:400px&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| -A&lt;br /&gt;
| -album&lt;br /&gt;
| ©alb&lt;br /&gt;
| STR&lt;br /&gt;
| Set the album title, use TV Show or Work instead&lt;br /&gt;
|-&lt;br /&gt;
| -a&lt;br /&gt;
| -artist&lt;br /&gt;
| ©art&lt;br /&gt;
| STR&lt;br /&gt;
| Set the artist information&lt;br /&gt;
|-&lt;br /&gt;
| -b&lt;br /&gt;
| -tempo&lt;br /&gt;
| tmpo&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the tempo (beats per minute)&lt;br /&gt;
|-&lt;br /&gt;
| -d&lt;br /&gt;
| -disk&lt;br /&gt;
| disk&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the disk number, use Season instead&lt;br /&gt;
|-&lt;br /&gt;
| -D&lt;br /&gt;
| -disks&lt;br /&gt;
| disk&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the number of disks&lt;br /&gt;
|-&lt;br /&gt;
| -L&lt;br /&gt;
| -lyrics&lt;br /&gt;
| ©lyr&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the lyrics, Subtitles can be embedded, too&lt;br /&gt;
|-&lt;br /&gt;
| -R&lt;br /&gt;
| -albumartist&lt;br /&gt;
| aART&lt;br /&gt;
| STR&lt;br /&gt;
| Set the album artist&lt;br /&gt;
|-&lt;br /&gt;
| -s&lt;br /&gt;
| -song&lt;br /&gt;
| ©nam&lt;br /&gt;
| STR&lt;br /&gt;
| Set the song title&lt;br /&gt;
|-&lt;br /&gt;
| -t&lt;br /&gt;
| -track&lt;br /&gt;
| trkn&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the track number, use Episode Number instead&lt;br /&gt;
|-&lt;br /&gt;
| -T&lt;br /&gt;
| -tracks&lt;br /&gt;
| trkn&lt;br /&gt;
| NUM&lt;br /&gt;
| Set the number of tracks&lt;br /&gt;
|-&lt;br /&gt;
| -w&lt;br /&gt;
| -writer&lt;br /&gt;
| ©wrt&lt;br /&gt;
| STR&lt;br /&gt;
| Set the composer information&lt;br /&gt;
|-&lt;br /&gt;
| -z&lt;br /&gt;
| -artistid&lt;br /&gt;
| &lt;br /&gt;
| NUM&lt;br /&gt;
| Set the artist ID&lt;br /&gt;
|-&lt;br /&gt;
| -Z&lt;br /&gt;
| -composerid&lt;br /&gt;
| &lt;br /&gt;
| NUM&lt;br /&gt;
| Set the composer ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MKV tag options ==&lt;br /&gt;
&lt;br /&gt;
MKV tagging currently does not support the Matroska tagging specification to fill library info, rather a Kodi standard NFO file can be &#039;&#039;embedded&#039;&#039; into MKV files.&lt;br /&gt;
&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-metadata&#039;&#039;&#039; will be scanned as an embedded .nfo file&lt;br /&gt;
* An attachment named &#039;&#039;&#039;kodi-override-metadata&#039;&#039;&#039; will be scanned as a url nfo if combined with specifying IMDB/TMDB url. if alone, you get an override nfo&lt;br /&gt;
&lt;br /&gt;
= Artwork =&lt;br /&gt;
For MKV you can have embedded images. currently limited to:&lt;br /&gt;
* &#039;small_cover.png&#039; or &#039;small_cover.jpg&#039; for thumbnails&lt;br /&gt;
* &#039;cover.png&#039; or &#039;cover.jpg&#039; for posters&lt;br /&gt;
* &#039;fanart.png&#039; or &#039;fanart.jpg&#039; for fanart&lt;br /&gt;
  &lt;br /&gt;
&#039;poster&#039; images can be embedded in MP4 files.&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{linear-gradient|left|#a1f5e4, #f5f5a1}}&amp;quot;&amp;gt;{{next|[[Adding_video_sources|&#039;&#039;&#039;Add Source &amp;amp; Scrape&#039;&#039;&#039;]]}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{updated|18}}&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Index]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Video library]]&lt;br /&gt;
[[Category:General topics]]&lt;br /&gt;
[[Category:First time user]]&lt;br /&gt;
[[Category:Quick Start Guide]]&lt;/div&gt;</summary>
		<author><name>Crissov</name></author>
	</entry>
</feed>