<?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=Announ</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=Announ"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Announ"/>
	<updated>2026-06-17T16:16:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Archive:Android_FAQ&amp;diff=65882</id>
		<title>Archive:Android FAQ</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Archive:Android_FAQ&amp;diff=65882"/>
		<updated>2013-11-29T17:48:23Z</updated>

		<summary type="html">&lt;p&gt;Announ: /* Troubleshooting */ How to hide the Android navigation bar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[General topics]]{{l2|[[Devices]]}}|[[FAQs]]{{l2|[[Android]]}} }}&lt;br /&gt;
{{FAQ header|for Android.}}&lt;br /&gt;
{{XBMC FAQ}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
== General FAQ ==&lt;br /&gt;
:&amp;lt;big&amp;gt;&#039;&#039;See also: &#039;&#039;&#039;[[XBMC all platforms FAQ]]&#039;&#039;&#039; for FAQs that apply to all versions of XBMC.&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1= Really?&lt;br /&gt;
| BGcolor=&lt;br /&gt;
| Question= Will this really do 1080 and all that stuff the desktop can do?&lt;br /&gt;
| Answer=&lt;br /&gt;
* Yes! This is a full port of XBMC! It is not a thin client or lite version!&lt;br /&gt;
:: {{note|Hardware video decoding support is very limited right now, so most devices will have to use software decoding. Expect support for hardware decoding to improve with time.&#039;&#039;}}&lt;br /&gt;
* The initial aim for the Android port is to get XBMC working on inexpensive Android set-top-boxes. Phones and tablets will be supported as well for those who want XBMC on-the-go.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Installing&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= Installing/getting XBMC for Android&lt;br /&gt;
| Answer=&lt;br /&gt;
{{Main|HOW-TO:Install XBMC for Android}}&lt;br /&gt;
* {{big|&#039;&#039;&#039;[[Nightly builds]] for Android should now have hardware video decoding for most Android devices.&#039;&#039;&#039;}}&lt;br /&gt;
* If you&#039;ve bought a device that was advertised to run XBMC, such as the Pivos XIOS, G-box, MiniX Neo, etc, then you should check with their respective websites for a final v12 Frodo build. Many of these devices need specific builds for hardware decoding and won&#039;t work correctly with the generic build released on xbmc.org&lt;br /&gt;
* A basic v12 build of XBMC for Android (APK) can be found here: http://mirrors.xbmc.org/releases/android/ . XBMC for Android will eventually come to the Google Play application store once there is support for more Android devices.&lt;br /&gt;
* [[Nightly builds]] can be found here: http://mirrors.xbmc.org/nightlies/android/&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Version&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= Is XBMC for Android different from normal XBMC?&lt;br /&gt;
| Answer=&lt;br /&gt;
* The current version of XBMC for Android is based on XBMC v12.2 [[Frodo FAQ|Frodo]], and is based on the same code as XBMC for all the other supported platforms.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Current_build&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= How do I find out what version of XBMC am I running?&lt;br /&gt;
| Answer=&lt;br /&gt;
* XBMC main menu &amp;gt; System &amp;gt; Lower submenu &amp;gt; System info. &#039;&#039;&#039;Note the version and/or build date.&#039;&#039;&#039;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Formats&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= Video and audio formats XBMC for Android can playback&lt;br /&gt;
| Answer=&lt;br /&gt;
* XBMC for Android supports all the same formats that other platforms do (such as desktop OS).&lt;br /&gt;
* Due to the weak processing power of most ARM processors, for smooth playback most Android hardware will require proper hardware decoding. (See [[#Requirements]] below)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Media&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= Accessing media&lt;br /&gt;
| Answer=&lt;br /&gt;
{{See also|Adding videos to the library|File sharing}}&lt;br /&gt;
* You can connect to media that&#039;s being shared from a computer, HTPC, or NAS device on your local network.&lt;br /&gt;
* You can access media on the internal memory, SD cards or from USB ports (hard drives, USB stick drives, directly or via hubs, etc).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Add-ons|2=Skins&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= Add-ons and skins&lt;br /&gt;
| Answer=&lt;br /&gt;
* XBMC for Android is a full version of XBMC and will be able to use all non-platform specific [[add-ons]] and [[skins]]. More feature rich (CPU demanding) skins like AEON Nox might not run smoothly on lower powered systems, so keep to &amp;quot;lighter&amp;quot; skins for those boxes.&lt;br /&gt;
* If you are using a touch screen device and the build you are using did not include it, you can manually instal [[Add-on:Touched]] for better touch screen support.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Remotes&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= Remote controls&lt;br /&gt;
| Answer=&lt;br /&gt;
* Some Android set-top-boxes come with a remote and an IR port which XBMC can use.&lt;br /&gt;
* Any &#039;&#039;&#039;[[Keyboard]]&#039;&#039;&#039; such as wired, wireless, bluetooth (if supported in your Android ROM). This includes &amp;quot;keymotes&amp;quot; such as a Rii, [[Boxee remote]], most &amp;quot;air mouse&amp;quot; keyboard remotes, and others that appear as a normal USB keyboard to the system.&lt;br /&gt;
* &#039;&#039;&#039;[[Web interface]]s&#039;&#039;&#039;, including add-on interfaces.&lt;br /&gt;
* XBMC &#039;&#039;&#039;[[:Category:Smartphone and tablet remotes|smartphone and tablet remote apps]]&#039;&#039;&#039;.&lt;br /&gt;
* Other IR remotes can be used with IR receivers such as the &#039;&#039;&#039;[[Flirc]]&#039;&#039;&#039;.&lt;br /&gt;
* Some Android devices support &#039;&#039;&#039;[[CEC]]&#039;&#039;&#039;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Requirements&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= Requirements&lt;br /&gt;
| Answer=&lt;br /&gt;
:{{see also|Android hardware}}&lt;br /&gt;
{{#lst:Supported hardware|Android}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Google_TV&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= Google TV&lt;br /&gt;
| Answer=&lt;br /&gt;
* You can install XBMC on Google TV devices that have the Android 4.2 update.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Apps&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= Launching Android apps from within XBMC&lt;br /&gt;
| Answer=&lt;br /&gt;
* XBMC can launch other Android apps by going to &amp;quot;Programs&amp;quot; (on the home screen) and selecting the app you want to run.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Startup&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= Automatically start XBMC&lt;br /&gt;
| Answer=&lt;br /&gt;
* You can automatically start XBMC when your Android device boots up using an application such as [https://play.google.com/store/apps/details?id=imoblife.startupmanager Startup Manager (free)]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Hardware_decode&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= Why can other players work with HD video but not XBMC?&lt;br /&gt;
| Answer=&lt;br /&gt;
* HD video (720 and 1080 resolution files) requires what&#039;s known as hardware video decoding, using special chips that handle video playback, in order to run smoothly on most ARM/Android systems. Some Android systems have powerful enough CPUs that they can playback some HD video without hardware decoding, but most will require it.&lt;br /&gt;
* Unlike most OSes, hardware decoding on Android isn&#039;t standard across different manufacturers and chip makers.&lt;br /&gt;
* Hardware video decoding is still under very active development in XBMC for Android, and it is expected that XBMC will be able to support a large selection of devices.&lt;br /&gt;
* Other players have hardware video decoding because they&#039;ve signed NDAs or are using closed source code, which are not options for XBMC.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
{{see also|Troubleshooting}}&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Forum|2=IRC&lt;br /&gt;
| BGcolor=&lt;br /&gt;
| Question= Getting more help with XBMC for Android&lt;br /&gt;
| Answer=&lt;br /&gt;
* &#039;&#039;&#039;[http://forum.xbmc.org/forumdisplay.php?fid=164 XBMC for Android specific help forum]&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;[irc://irc.freenode.org/xbmc-osx #xbmc]&#039;&#039;&#039; [[w:IRC|IRC]] chat channel on irc.freenode.org.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Userdata|2=logs|3=Logs&lt;br /&gt;
| BGcolor= whitesmoke&lt;br /&gt;
| Question= Userdata folder and logs&lt;br /&gt;
| Answer=&lt;br /&gt;
The userdata folder and debug log is located on external storage/sdcard at one of the following locations (depending on your device):&lt;br /&gt;
;[[userdata folder]]&lt;br /&gt;
* /Android/data/org.xbmc.xbmc/files/.xbmc/userdata/&lt;br /&gt;
* /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/&lt;br /&gt;
* /data/data/org.xbmc.xbmc/files/.xbmc/&lt;br /&gt;
&lt;br /&gt;
;[[debug log]]&lt;br /&gt;
* /Android/data/org.xbmc.xbmc/cache/temp/xbmc.log&lt;br /&gt;
* /sdcard/Android/data/org.xbmc.xbmc/cache/temp/xbmc.log&lt;br /&gt;
* /data/data/org.xbmc.xbmc/cache/temp/xbmc.log&lt;br /&gt;
&lt;br /&gt;
;Crash log&lt;br /&gt;
* If you don&#039;t have a computer, download the SendLog app from Android market. It allows you to send your system log to an email address. Email it to yourself and show us where the error happened.&lt;br /&gt;
* With a computer, it&#039;s easier and faster. Plug your device, download and unzip the [http://d.android.com/sdk/index.html Android SDK] and run ddms.bat in the tools folder. There you have it under &#039;&#039;LogCat&#039;&#039;.&lt;br /&gt;
* The logfile is kept on a phone for a while, so you don&#039;t need to reproduce a crash in order to get the log.&lt;br /&gt;
* Be sure to have hidden folders set to be shown in your file explorer.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=navbar&lt;br /&gt;
| BGcolor= &lt;br /&gt;
| Question= How to hide the Android navigation bar&lt;br /&gt;
| Answer=&lt;br /&gt;
* Since Android 4.0 (Ice Cream Sandwich) the way the navigation bar works has been changed. On some Android devices that do not have physical buttons the navbar cannot be normally hidden, but only “dimmed”. Some Android set‐top boxes have this “no buttons” flag set and will not hide the navigation bar when using XBMC.&lt;br /&gt;
* &#039;&#039;&#039;To remove the navbar:&#039;&#039;&#039;&lt;br /&gt;
** You can use &amp;quot;[http://ppareit.github.com/HideBar/ HideBar]&amp;quot; (Has a free version, and is open source if you wish to compile yourself)&lt;br /&gt;
** The app &amp;quot;[https://play.google.com/store/apps/details?id=de.tsorn.FullScreen Full!Screen]&amp;quot; is free and should also work.&lt;br /&gt;
** A custom Android distribution can be installed to correctly handle the navbar. [http://replicant.us/ Replicant], [http://www.cyanogenmod.org/ CyanogenMod] and some others offer an “extended desktop” mode which hides the navigation bar and, optionally, the status bar too.&lt;br /&gt;
** There&#039;s some other tricks you can do if you have rooted the device {{editor note|I keep hearing this, but haven&#039;t found any of these tricks yet. If someone finds one, please note it here.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Battery&lt;br /&gt;
| BGcolor= whitesmoke&lt;br /&gt;
| Question= XBMC uses the battery too fast on portable devices&lt;br /&gt;
| Answer=&lt;br /&gt;
* This is a known issue. The main effort right now for XBMC for Android is set-top-boxes, but expect power usage issues to improve in time.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Volume&lt;br /&gt;
| BGcolor=&lt;br /&gt;
| Question= Issues with audio volume&lt;br /&gt;
| Answer=&lt;br /&gt;
* XBMC has its own volume level in addition to the Android system volume level, so be sure to check that both are up if you are having issues hearing audio.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FAQ|1=Buffering|2=Performance&lt;br /&gt;
| BGcolor= WhiteSmoke&lt;br /&gt;
| Question= Performance: video buffering, stuttering, choppiness &lt;br /&gt;
| Answer=&lt;br /&gt;
* {{note|Remember that hardware video decoding, which will be required on most devices for smooth video playback, is still very limited at this time. (see [[#Requirements]])}}&lt;br /&gt;
* Avoid using wireless. A lot of Android devices have weak wifi, even those that advertise as being wireless-n. It may be possible to use a USB-to-ethernet dongle on some devices, or even a USB wifi adapter that has a better wifi radio than what is built-in.&lt;br /&gt;
* Switch to a different network protocol to see if that has any effect, i.e. [[FTP]], [[WebDAV]], [[SMB]], etc. Note that NFS currently isn&#039;t an option on the R-Pi yet.&lt;br /&gt;
* Try sharing the media on another device to rule out a device-specific (or network) issue.&lt;br /&gt;
* Turn off thumbnails, XBMC &amp;gt; Settings &amp;gt; Video &amp;gt; File and deselect &#039;generate thumbnails&#039;.&lt;br /&gt;
* h.264 Hi10P will not work as there are no ARM processors powerful enough to software decode it, and no hardware decoders exist for it.&lt;br /&gt;
* If your TV/receiver supports it, enable various [[Settings/System#Audio output|audio passthrough options]] to reduce the load on the CPU.&lt;br /&gt;
* If RSS feed is enabled, disable it in settings. This makes the main menu a bit faster. In fact, having rss enabled is probably the single-biggest battery-killing cpu-draining thing you can do.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:XBMC Manual]]&lt;br /&gt;
[[Category:FAQ|Android]]&lt;br /&gt;
[[Category:Android|*]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
{{frodo updated}}&lt;/div&gt;</summary>
		<author><name>Announ</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Naming_video_files/TV_shows&amp;diff=64645</id>
		<title>Naming video files/TV shows</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Naming_video_files/TV_shows&amp;diff=64645"/>
		<updated>2013-10-02T01:28:34Z</updated>

		<summary type="html">&lt;p&gt;Announ: /* Using custom file names */ Added warning about expression case folding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{:Adding videos to the library/Contents}}&lt;br /&gt;
{{mininav|[[General topics]]|[[Video library|Videos]]|[[Video library/Management|Management]]|[[Video library/Naming files|Naming files]]}}&lt;br /&gt;
{{#lst:Adding videos to the library/Naming files|naming files}}&lt;br /&gt;
XBMC requires each TV show to be in its own folder, and for each file to contain a pattern from which XBMC can determine the season and episode number (e.g. &amp;quot;S01E01&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Folder name&#039;&#039;&#039; = Show title&lt;br /&gt;
:&#039;&#039;&#039;File name&#039;&#039;&#039; = Season/Episode number&lt;br /&gt;
&lt;br /&gt;
The folder name will be [[Userdata/advancedsettings.xml#.3Ccleanstrings.3E|cleaned]] of commonly used strings, such as DVDRip, 1080p, x264, etc. before being passed to the scraper.  If the year of release is included, this will be [[advancedsettings.xml#.3Ccleandatetime.3E|extracted]] and used by the scraper to assist in making a match.&lt;br /&gt;
&lt;br /&gt;
Spaces, periods, or underscores may be used to separate words in the folder and file names, but shouldn&#039;t be mixed in the same folder name. Note also the caution [[#Split-episode|below]] regarding file names with periods.&lt;br /&gt;
&lt;br /&gt;
{{Note|Flat structures with files for different shows in a single directory are &#039;&#039;&#039;&#039;&#039;not supported&#039;&#039;&#039;&#039;&#039;.}}&lt;br /&gt;
== Directories ==&lt;br /&gt;
You must set the content to TV Shows on the directory directly above the individual show folders.&lt;br /&gt;
To ensure accurate matches for your TV shows, the folder names should match the title displayed on the site being scraped.  &lt;br /&gt;
For the default TVDB scraper this may mean including the year of release, e.g. [http://www.thetvdb.com/?tab=series&amp;amp;id=83462 Castle (2009)] (in cases of duplicate titles), or the country of origin, e.g. [http://www.thetvdb.com/?tab=series&amp;amp;id=196921 Being Human (US)] (in cases of foreign remakes).&lt;br /&gt;
&lt;br /&gt;
Below the show folder, the files may be organized how you wish, e.g. into separate season folders, or by year.  These folders will be ignored.&lt;br /&gt;
=== Simple ===&lt;br /&gt;
Typically, you will add the top-level directory as a source and set the content to TV shows when you add it.&lt;br /&gt;
;Example&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TV Shows                  &amp;lt;&amp;lt;Source folder, Content: TV shows&amp;gt;&amp;gt;&lt;br /&gt;
   |----TV Show 1&lt;br /&gt;
   |       |----Season #&lt;br /&gt;
   |            |--Files&lt;br /&gt;
   |----TV Show 2 (year)&lt;br /&gt;
   |       |--Files&lt;br /&gt;
   |----TV Show 3&lt;br /&gt;
   |       |----2008&lt;br /&gt;
   |            |--Files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
=== Complex ===&lt;br /&gt;
In more complex situations where your top-level directory is further sub-divided before the show folders, you can add the top-level as source but not set the content, and then set the content to TV shows on each sub-folder.&lt;br /&gt;
;Example&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TV Shows                  &amp;lt;&amp;lt;Source folder, Content: None&amp;gt;&amp;gt;&lt;br /&gt;
   |----A-M               &amp;lt;&amp;lt;Content: TV shows&amp;gt;&amp;gt;&lt;br /&gt;
   |      |----TV Show 1&lt;br /&gt;
   |              |--Files&lt;br /&gt;
   |----N-Z               &amp;lt;&amp;lt;Content: TV shows&amp;gt;&amp;gt;&lt;br /&gt;
   |      |----TV Show 2&lt;br /&gt;
   |              |--Files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
It&#039;s also possible to have a sub-folder group multiple shows together in an otherwise normal directory structure.  Just change the content on the sub-folder and de-select the &amp;quot;Selected folder contains a single TV show&amp;quot; setting.&lt;br /&gt;
;Example&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TV Shows                  &amp;lt;&amp;lt;Source folder, Content: TV shows&amp;gt;&amp;gt;&lt;br /&gt;
   |----TV Show 1&lt;br /&gt;
   |       |----Season #&lt;br /&gt;
   |            |--Files&lt;br /&gt;
   |----Star Trek Series  &amp;lt;&amp;lt;Content:TV shows&amp;gt;&amp;gt;&lt;br /&gt;
   |       |----Star Trek&lt;br /&gt;
   |       |       |--Files&lt;br /&gt;
   |       |----Star Trek The Next Generation&lt;br /&gt;
   |               |--Files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
In these cases, it&#039;s best to refrain from scanning the files into the library until the content is set correctly for all folders, to avoid incorrect results and the need to rescan.&lt;br /&gt;
== Files ==&lt;br /&gt;
XBMC uses a series of regular expressions to determine the season and episode numbers from the file name.  &lt;br /&gt;
These are checked in order with the first match being the one used.  Anything else included in the file name is ignored.&lt;br /&gt;
&lt;br /&gt;
There are &#039;&#039;&#039;7&#039;&#039;&#039; default patterns, plus a separate multi-episode pattern.  Use of any other numbering scheme will require you to edit your [[advancedsettings.xml]] (see [[#Using custom file names|below]]).&lt;br /&gt;
&lt;br /&gt;
{{note|In the examples we will mostly use the format:&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;&amp;lt;&amp;lt;pattern&amp;gt;&amp;gt;&#039;&#039;&#039;.ext, &lt;br /&gt;
where &#039;&#039;name&#039;&#039; is the title of the show, and .ext is a [[advancedsettings.xml#.3Cvideoextensions.3E|recognized video file extension]], but &#039;&#039;&#039;&#039;&#039;any format&#039;&#039;&#039;&#039;&#039; will work, so long as the pattern is included somewhere in it. The &#039;&#039;name&#039;&#039; is optional and could just as easily be after the pattern, or excluded entirely. }}&lt;br /&gt;
=== Single episode ===&lt;br /&gt;
Most of the time you will only have a single episode per file.&lt;br /&gt;
&lt;br /&gt;
The order in which the patterns are checked for by XBMC is included in brackets after each example below (most patterns allow some variation, hence the duplicate numbers).  If your file name contains more than one pattern, only the first one checked for will be used.&lt;br /&gt;
&lt;br /&gt;
All the examples will be read as season 1, episode 2.&lt;br /&gt;
;With season&lt;br /&gt;
:The most common scenario.&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e02&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(1)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s1e2&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(1)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01.e02&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(1)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01_e02&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(1)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x02&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(5)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;102&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(6)&amp;lt;/sup&amp;gt;&lt;br /&gt;
;Without season&lt;br /&gt;
:In cases where you only have one season (or are using absolute order in the TVDB scraper), you may want to forego the inclusion of the season number.&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;ep02&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(2)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;ep_02&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(2)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:You may also use Roman numerals (I, IV, XI, etc.), often used for mini-series or short documentary series.&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;part.II&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(7)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;pt.II&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(7)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;pt_II&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(7)&amp;lt;/sup&amp;gt;&lt;br /&gt;
;By date&lt;br /&gt;
:Common for long-running daily shows, you can also use the date the episode aired.&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1996.11.14&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(3)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1996-11-14&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(3)&amp;lt;/sup&amp;gt;&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;14.11.1996&#039;&#039;&#039;.ext &amp;lt;sup&amp;gt;(4)&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Multi-episode ===&lt;br /&gt;
In cases where your file contains more than one episode, you can specify all the episodes included.  Everything after the first found pattern match will be checked for further matches to the same pattern.&lt;br /&gt;
;Examples&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01&#039;&#039;&#039;.&#039;&#039;&#039;s01e02&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01&#039;&#039;&#039;.&#039;&#039;episode1.title&#039;&#039;.&#039;&#039;&#039;s01e02&#039;&#039;&#039;.&#039;&#039;episode2.title&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01&#039;&#039;&#039;.&#039;&#039;&#039;s01e02&#039;&#039;&#039;.&#039;&#039;&#039;s01e03&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01&#039;&#039;&#039;_&#039;&#039;&#039;1x02&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01&#039;&#039;&#039; 1x02.ext (mixed patterns do not work)&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;ep01&#039;&#039;&#039;.&#039;&#039;&#039;ep02&#039;&#039;&#039;.ext&lt;br /&gt;
The remainder will also be checked against a shorter form [[Userdata/advancedsettings.xml#.3Ctvmultipartmatching.3E|multi-episode pattern]].&lt;br /&gt;
;Examples&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01e02&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01-02-03&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01x02&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;ep01_02&#039;&#039;&#039;.ext&lt;br /&gt;
The &#039;&#039;&#039;ex-_&#039;&#039;&#039; are fully interchangeable and stackable, e.g. &#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01e02_03-x-04&#039;&#039;&#039;.ext is perfectly valid (if somewhat odd).  &lt;br /&gt;
&lt;br /&gt;
{{Note|Only the episodes in the file name will be added, e.g. &#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01-03&#039;&#039;&#039;.ext will not include episode 2.}}&lt;br /&gt;
=== Split-episode ===&lt;br /&gt;
Typical for childrens cartoons, files which only contain a distinct part of an episode may be named as to which part, if the scraper supports it (currently only TVDB using DVD order).&lt;br /&gt;
;Examples&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01.1&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01a&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01.1&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01a&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;ep01.1&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;101.1&#039;&#039;&#039;.ext&lt;br /&gt;
Up to 9 sub-parts are allowed (using either .1-.9 or a-i).&lt;br /&gt;
&lt;br /&gt;
These can also be combined with the multi-episode pattern, if your file contains all parts joined as a single episode.&lt;br /&gt;
;Examples&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;s01e01.1.s01e01.2&#039;&#039;&#039;.ext&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01.1x01.2&#039;&#039;&#039;.ext (note this is (1x01.1)x(01.2) not (1x01).(1x01.2))&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;ep01a_01b&#039;&#039;&#039;.ext&lt;br /&gt;
&lt;br /&gt;
Each part will be added to the library just with its full episode number, the sub-part will not be displayed.&lt;br /&gt;
&lt;br /&gt;
{{Note|If you use periods in your file names and include material after the episode number (such as the episode title), you may get a false match to a split-episode pattern if that material begins with a number below 10, e.g.&lt;br /&gt;
:&#039;&#039;Nikita&#039;&#039;.&#039;&#039;&#039;S01E02.2&#039;&#039;&#039;.0.mkv&lt;br /&gt;
:&#039;&#039;24&#039;&#039;.&#039;&#039;&#039;1x02.1&#039;&#039;&#039;.00.am-2.00.am.avi&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01.1&#039;&#039;&#039;x&#039;&#039;&#039;02&#039;&#039;&#039;.ext  (i.e. (1x01.1) x (02) )&lt;br /&gt;
This will likely lead to the episode not being added to the library.  The recommendation is to use a space or underscore instead to separate the numbers for those files, e.g.&lt;br /&gt;
:&#039;&#039;Nikita&#039;&#039;.&#039;&#039;&#039;S01E02&#039;&#039;&#039;_2.0.mkv&lt;br /&gt;
:&#039;&#039;24&#039;&#039;.&#039;&#039;&#039;1x02&#039;&#039;&#039;_1.00.am-2.00.am.avi&lt;br /&gt;
:&#039;&#039;name&#039;&#039;.&#039;&#039;&#039;1x01&#039;&#039;&#039; &#039;&#039;&#039;1x02&#039;&#039;&#039;.ext  (i.e. (1x01) (1x02) )&lt;br /&gt;
}}&lt;br /&gt;
=== Special episodes ===&lt;br /&gt;
Special episodes, if supported by your scraper, should be marked as being season 0.  You should check the site being scraped to see what episode number to use, as they can be fairly arbitrary.  For example, [http://thetvdb.com/?tab=season&amp;amp;seriesid=76736&amp;amp;seasonid=24194&amp;amp;lid=7 BlackAdder&#039;s Christmas Carol] should have a file name that matches season 0 episode 3, e.g.:&lt;br /&gt;
:&#039;&#039;BlackAdder&#039;&#039;.&#039;&#039;&#039;s00e03&#039;&#039;&#039;.BlackAdder&#039;s Christmas Carol.mkv&lt;br /&gt;
&lt;br /&gt;
== The TVDB scraper ==&lt;br /&gt;
The default TV show scraper uses [http://thetvdb.com The TVDB] to scan your TV shows into the library.  You should search on the site before adding a new show to ensure you&#039;re using the right title.  Caution should be taken over using aliases or alternative titles, although these will work in a website search, they don&#039;t work in the API the scraper uses.&lt;br /&gt;
&lt;br /&gt;
The TVDB scraper has three possible settings for determining episode order: Aired order, DVD order, and Absolute order.  These will affect how you name your files, or vice versa, how you name your files will affect which setting you should use.&lt;br /&gt;
;Aired order&lt;br /&gt;
:The default, episodes are ordered by season and numbered as they were originally broadcast.  For split-episodes, each part is given its own distinct episode number.&lt;br /&gt;
:Visible when you click on any season link on the show page.&lt;br /&gt;
;DVD order&lt;br /&gt;
:Episodes are ordered by season and numbered as they appeared on DVD release.  Split-episodes are numbered by episode and sub-part.&lt;br /&gt;
:Visible when you click the &amp;quot;DVD Order&amp;quot; link on any season page for the show.&lt;br /&gt;
;Absolute order&lt;br /&gt;
:Episodes are ordered as a single season and numbered sequentially from start to finish. Split episodes have distinct episode numbers.  Commonly used for anime.&lt;br /&gt;
:Visible when you click the &amp;quot;Absolute Order&amp;quot; link on the All seasons page for the show.&lt;br /&gt;
For a list of all available settings and their meaning, see [[Add-on:The TVDB]].&lt;br /&gt;
== Advanced usage ==&lt;br /&gt;
=== Supplemental tools ===&lt;br /&gt;
A variety of [[supplemental tools]] exist to automatically rename files and folders into XBMC compatible formats.&lt;br /&gt;
* [[Supplemental tools/Linux#Rename tools|Renaming tools for Linux]]&lt;br /&gt;
* [[Supplemental tools/Mac OS X#Rename tools|Renaming tools for Mac OS X]]&lt;br /&gt;
* [[Supplemental tools/Windows#Rename tools|Renaming tools for Windows]]	&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
=== Changing scraper settings for one show ===&lt;br /&gt;
A very common situation, when you have one or more shows that require different scraper settings (particularly episode order) to the other shows in your folder, it is possible to change the settings for individual shows.  Just navigate to the show&#039;s folder in file view and select Change content from the context menu and then alter the settings from there.  If the files have already been incorrectly added to the library, you will need to refresh the folder (e.g. from the info screen).&lt;br /&gt;
&lt;br /&gt;
The classic example is Firefly, whose aired order differs greatly from its DVD order:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TV Shows                         &amp;lt;&amp;lt;Source folder, Content: TV shows, Scraper: TVDB - default settings&amp;gt;&amp;gt;&lt;br /&gt;
   |----TV Show 1&lt;br /&gt;
   |       |----Season 1&lt;br /&gt;
   |            |--Files&lt;br /&gt;
   |----TV Show 2&lt;br /&gt;
   |       |--Files&lt;br /&gt;
   |----Firefly                  &amp;lt;&amp;lt;Scraper: TVDB - DVD order&amp;gt;&amp;gt;&lt;br /&gt;
   |       |----1x01.Serenity.ext&lt;br /&gt;
   |       |----1x02.The Train Job.ext&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Using custom file names ===&lt;br /&gt;
It&#039;s possible to use custom file names that don&#039;t match any of the default patterns by editing your [[advancedsettings.xml]] file to include a [[advancedsettings.xml#.3Ctvshowmatching.3E|tvshowmatching]] tag containing regular expressions.&lt;br /&gt;
&lt;br /&gt;
A tvshowmatching regexp needs up to three capturing groups:&lt;br /&gt;
:1 capturing group = episode number (season will default to season 1), no multi-episode matches will be attempted&lt;br /&gt;
:2 capturing groups = season number + episode number (in that order), no multi-episode matches will be attempted&lt;br /&gt;
:3 capturing groups = season number + episode number + multi-episode matching part (typically just the remainder of the file name)&lt;br /&gt;
(A capturing group is essentially a part of the regexp contained inside brackets.)&lt;br /&gt;
&lt;br /&gt;
To have no season but multi-episode matching, use three groups but leave the first empty.&lt;br /&gt;
&lt;br /&gt;
Date-based regexps are also possible, and are marked by a bydate=&amp;quot;true&amp;quot; attribute in the regexp.  These also use three capturing groups, either as year-month-day or day-month-year, the lengths must be exactly 4-2-2 or 2-2-4.&lt;br /&gt;
&lt;br /&gt;
Your custom tvshowmatching regexps can be either checked for before the default set (action=&amp;quot;prepend&amp;quot;) or after (action=&amp;quot;append&amp;quot;).  Not including an action will result in only your regexps being tested.  Care should be taken to ensure that the right regexp matches your file names, particularly in regard to the three digit &amp;quot;102&amp;quot; pattern seen [[#single episode|above]].&lt;br /&gt;
The regexps should be grouped together inside a single tvshowmatching tag, although you can use two if you wish to prepend &#039;&#039;and&#039;&#039; append different regexps.&lt;br /&gt;
{{note|The expressions are converted to lower case before being evaluated on &#039;&#039;XBMC v13.0 alpha4&#039;&#039; and earlier versions, so Perl character classes like &#039;\W&#039; and &#039;\D&#039; can’t be used. Use bracketed character classes like &#039;[^A-Za-z0-9_]&#039; and &#039;[^0-9]&#039; instead.}}&lt;br /&gt;
&lt;br /&gt;
You can also change the multi-episode matching regexp by including a [[Userdata/advancedsettings.xml#.3Ctvmultipartmatching.3E|tvmultipartmatching]] tag in your advancedsettings.xml (separate from the tvshowmatching tag). &lt;br /&gt;
There can be only one tvmultipartmatching expression, whatever you use will overwrite the default, so take care to only expand on the default pattern unless you are certain.&lt;br /&gt;
The tvmultipartmatching requires one capturing group for the episode number.&lt;br /&gt;
&lt;br /&gt;
{{note|For simplicity, the split-episode pattern has been excluded from the examples below.}}&lt;br /&gt;
To allow for split-episodes, replace the &amp;lt;code&amp;gt;[0-9]+&amp;lt;/code&amp;gt; in the episode capturing group with &amp;lt;code&amp;gt;[0-9]+(?:(?:[a-i]|\.[1-9])(?![0-9]))?&amp;lt;/code&amp;gt;&lt;br /&gt;
==== Examples ====&lt;br /&gt;
A fairly straightforward example to begin.&lt;br /&gt;
;Season ## - Episode ##&lt;br /&gt;
:&amp;quot;Season [season#] - Episode [episode#]&amp;quot; anywhere in the file name&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;regexp&amp;gt;Season ([0-9]+) - Episode ([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example&#039;&#039;&#039; : TV Shows\Scrubs\Season 1\Scrubs - &#039;&#039;&#039;Season 1 - Episode 01&#039;&#039;&#039; - Pilot.avi&lt;br /&gt;
:The first two capturing groups should be obvious, the third group &amp;lt;code&amp;gt;([^\\/]*)&amp;lt;/code&amp;gt; captures everything up to the end of the file name &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt;, this allows for multi-part file names such as &#039;&#039;name&#039;&#039;.&#039;&#039;&#039;Season 1 - Episode 01&#039;&#039;&#039; - &#039;&#039;&#039;Season 1 - Episode 02&#039;&#039;&#039;.ext as well as the simpler &#039;&#039;name&#039;&#039;.&#039;&#039;&#039;Season 1 - Episode 01-02&#039;&#039;&#039;.ext&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The entire file path is passed to the regexps, so care should be taken to ensure the matches can&#039;t occur earlier in the path, but this does mean for example, you can capture the season number from a sub-folder name.&lt;br /&gt;
;\Season #\##&lt;br /&gt;
:Season [season#] at the end of the directory name, file name starts with [episode#]&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;regexp&amp;gt;Season[\._ ]([0-9]+)[\\/]([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example&#039;&#039;&#039; : \Battlestar Galactica (2003)\&#039;&#039;&#039;Season 3\01&#039;&#039;&#039; - Occupation.avi (Season 3, Episode 1)&lt;br /&gt;
:Again we use three groups here to allow for multi-episode, but in this case (obviously) only the shorter multi-episode pattern can occur, e.g. &#039;&#039;&#039;Season 1\01x02&#039;&#039;&#039; - Episode title.ext.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For numbering without a season, you should ensure that only the episode number gets matched against and not another number in the title or episode title, or a number as part of a different pattern.&lt;br /&gt;
; - ## - &lt;br /&gt;
:&amp;quot; - [episode#] - &amp;quot; anywhere in the file name&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;regexp&amp;gt; - ()([0-9]+)((?:-[0-9]+)*) - [^\\/]*$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example&#039;&#039;&#039; : \One Piece\One Piece&#039;&#039;&#039; - 099 - &#039;&#039;&#039;Spirit of the Fakes! Heart of the Rebel Army, Kamyu!.avi (&amp;quot;Season 1&amp;quot;, Episode 99) (Using Absolute order)&lt;br /&gt;
:Here, the first capturing group is left empty, and there is a distinct pattern before and after the episode number to ensure only it gets matched. Also instead of capturing the remainder of the file name for multi-part matching, we only capturing a single repeating pattern so only a &#039;&#039;&#039;- 01-02-03 -&#039;&#039;&#039; format will work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible to specify a different default season for without-season regexps.&lt;br /&gt;
;\Specials\##&lt;br /&gt;
:Directory name is Specials, file name starts with [episode#]&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;regexp defaultseason=&amp;quot;0&amp;quot;&amp;gt;Specials[\\/]()([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example&#039;&#039;&#039; : \Firefly\&#039;&#039;&#039;Specials\04&#039;&#039;&#039; - Browncoats Unite.mkv (Season 0, Episode 4)&lt;br /&gt;
:A combination of the previous two examples, allowing special episodes to reside in a &amp;quot;Specials&amp;quot; folder rather than a &amp;quot;Season 0&amp;quot; folder. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default date-based regexps only allow for periods or hyphens as delimiters...&lt;br /&gt;
;&amp;lt;nowiki&amp;gt;####_##_##&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:[year]_[month]_[day] anywhere in the file name&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;prepend&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;regexp bydate=&amp;quot;true&amp;quot;&amp;gt;([0-9]{4})_([0-9]{2})_([0-9]{2})[^\\/]*$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example:&#039;&#039;&#039; : \The Colbert Report\&#039;&#039;&#039;2005_10_17&#039;&#039;&#039;.avi&lt;br /&gt;
:The exact number of digits is specified for each group to ensure compliance. A separate [day]_[month]_[year] regexp would be needed if both formats are in use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default regexps don&#039;t allow for DVD folder structures, this can usually be remedied by replacing the final &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;(?:(?:[\\/]video_ts)?[\\/]video_ts\.ifo)$&amp;lt;/code&amp;gt;&lt;br /&gt;
;S##E##\VIDEO_TS\VIDEO_TS.IFO&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;append&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;regexp&amp;gt;[Ss]([0-9]+)[ ._-]*[Ee]([0-9]+)([^\\/]*)(?:(?:[\\/]video_ts)?[\\/]video_ts\.ifo)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example:&#039;&#039;&#039; \Battlestar Galactica (2003)\The Mini-Series &#039;&#039;&#039;S00E01E02&#039;&#039;&#039;\VIDEO_TS\VIDEO_TS.IFO&lt;br /&gt;
:The VIDEO_TS folder is optional, e.g. &#039;&#039;&#039;S01E01&#039;&#039;&#039;\VIDEO_TS.IFO will also work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly for Bluray folder structures, you can replace the final &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;(?:(?:[\\/]bdmv)?[\\/]index\.bdmv)$&amp;lt;/code&amp;gt;&lt;br /&gt;
;&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;x##\BDMV\index.bdmv&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvshowmatching action=&amp;quot;append&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;regexp&amp;gt;[\\/\._ \[\(-]([0-9]+)x([0-9]+)([^\\/]*)(?:(?:[\\/]bdmv)?[\\/]index\.bdmv)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
 &amp;lt;/tvshowmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:With Bluray folders, you&#039;ll also run into trouble with the various mpls and m2ts files incorrectly matching other patterns, so you should also exclude all the other folders and files from being scanned:&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;video&amp;gt;&lt;br /&gt;
    &amp;lt;excludetvshowsfromscan action=&amp;quot;append&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;regexp&amp;gt;[\\/](auxdata|backup|clipinf|playlist|stream|certificate)[\\/]&amp;lt;/regexp&amp;gt;&lt;br /&gt;
      &amp;lt;regexp&amp;gt;movieobject\.bdmv&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;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, a tvmultipartmatching example.&lt;br /&gt;
;S##E##+##&lt;br /&gt;
:Multiple episode numbers, separated by a + sign&lt;br /&gt;
:{|&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tvmultipartmatching&amp;gt;^[-_EeXx+]+([0-9]+)&amp;lt;/tvmultipartmatching&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
:&#039;&#039;&#039;Example:&#039;&#039;&#039; : \Lost\Lost.&#039;&#039;&#039;S01E23+24&#039;&#039;&#039;.Exodus.mkv&lt;br /&gt;
:In this case we can simply add the + sign to the default symbols, thus preserving the defaults as well.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== The scraper picks the wrong TV show ===&lt;br /&gt;
The most common cause for this is that you haven&#039;t named the show&#039;s folder correctly. Check the site being scraped, and copy the title exactly as it is displayed, including anything in brackets.&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t solve the issue, or you are unable to change the folder name, you can force a match by adding a [[Import - Export Library#TV Shows 2|tvshow.nfo]] with the url of the show&#039;s page on the scraped site.&lt;br /&gt;
=== All files are added as a single TV show ===&lt;br /&gt;
This may happen if you&#039;ve set content on the wrong folder, (usually the one above the one containing your TV shows). The telltale sign will be the title of the show everything is added as: &amp;quot;Al &#039;&#039;&#039;TV&#039;&#039;&#039;&amp;quot;, &amp;quot;Genius &#039;&#039;&#039;Series&#039;&#039;&#039;&amp;quot;, etc. The title will be derived from the name of your top-level TV folder.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Videos                           &amp;lt;&amp;lt;Source folder, Content: TV Shows&amp;gt;&amp;gt;&lt;br /&gt;
    |----TV                      &amp;lt;&amp;lt;Scanned as &amp;quot;Al TV&amp;quot;&amp;gt;&amp;gt;&lt;br /&gt;
    |     |----TV Show 1         &amp;lt;&amp;lt;Ignored&amp;gt;&amp;gt;&lt;br /&gt;
    |     |       |--Files&lt;br /&gt;
    |     |----TV Show 2         &amp;lt;&amp;lt;Ignored&amp;gt;&amp;gt;&lt;br /&gt;
    |     |       |--Files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In these cases, you can either remove the source and re-add the TV shows folder as source, or change the content on the source to None, and then set the content on the correct folder (see examples [[#Complex|above]]).&lt;br /&gt;
=== Some files refuse to be added ===&lt;br /&gt;
The most obvious cause is that the files are not named correctly and don&#039;t match any of the patterns. In these cases you will need to rename the files, or add a custom tvshowmatching regexp to deal with them.&lt;br /&gt;
&lt;br /&gt;
If the files appear to be correctly named, they may instead be matching the &#039;&#039;wrong pattern&#039;&#039;. If you use custom tvshowmatching regexps, check carefully the order in which the regexps are being matched alongside the defaults. Also check the note in [[#Split-episode|split-episode]] above.&lt;br /&gt;
&lt;br /&gt;
Another possibility is that this is actually a case of the scraper picking the wrong TV show (the problem may be masked by the use of local artwork or lack of online artwork, although episode titles and plots should be a giveaway). In this situation even correctly named files will not get added if they lie outside the numbering of the incorrect show.&lt;br /&gt;
;Example&lt;br /&gt;
:The show [http://www.thetvdb.com/?tab=series&amp;amp;id=82607&amp;amp;lid=7 Castle] is a six episode documentary series about castles, not the [http://www.thetvdb.com/?tab=series&amp;amp;id=83462 multi-season 2009 crime drama]. Any file numbered s01e07 or higher will not be added if XBMC thinks the latter is the former.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
A fourth cause can be that you&#039;ve different season listings than the scraper you&#039;re using. E.g. your season one is S1E01-S1E20 while according to the scraper E17-20 belongs to season two. The scraper will then add E1-16 to season one, the rest won&#039;t get scraped.&amp;lt;br /&amp;gt;&lt;br /&gt;
To fix this you can:&lt;br /&gt;
* Use a different scraper. The TV addon [[Add-on:XEM | XEM]] allows you to choose use between four different sources.&lt;br /&gt;
* [[NFO files#Create an .NFO file .28recommended.29|Create NFO files]] for the TV show.&lt;br /&gt;
* If you still want to add the TV show with the scraper that has different listings than you, check the scraper site and rename/move your files according to its listings.&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Library]]&lt;br /&gt;
[[Category:XBMC Manual]]&lt;br /&gt;
{{frodo updated}}&lt;/div&gt;</summary>
		<author><name>Announ</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Advancedsettings.xml&amp;diff=64644</id>
		<title>Advancedsettings.xml</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Advancedsettings.xml&amp;diff=64644"/>
		<updated>2013-10-02T01:28:27Z</updated>

		<summary type="html">&lt;p&gt;Announ: /* &amp;lt;tvshowmatching&amp;gt; */ Clarification on case folding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[General topics]]|[[Settings]]}}&lt;br /&gt;
{{clean up}}&lt;br /&gt;
{{DISPLAYTITLE:advancedsettings.xml}}&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;&#039;&#039;&#039;advancedsettings.xml&#039;&#039;&#039;&amp;quot; file, which does not exist by default, may be created by a user in their &amp;quot;&#039;&#039;&#039;/[[userdata]]/&#039;&#039;&#039;&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
This file can contain additional settings and pre-defined values for the settings available in the GUI (thus removing them from the GUI settings screens).&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&#039;&#039;&#039;advancedsettings.xml&#039;&#039;&#039;&amp;quot; is  useful for advanced/expert users and for installers.&lt;br /&gt;
&lt;br /&gt;
{{note|&amp;lt;code&amp;gt;&#039;&#039;&#039;This file will not exist unless created by the end-user, meaning YOU!&#039;&#039;&#039;&amp;lt;/code&amp;gt;}}&lt;br /&gt;
The XBMC software will never write to this file, so any settings you define will not be overwritten by any XBMC GUI settings.  You can only edit this file manually on your computer, via a text-editor (like Notepad in Windows or a XML-editor).  All the settings available outside of the GUI are documented on this page.&lt;br /&gt;
&lt;br /&gt;
If you are running XBMC on a dedicated HTPC and can only access the HTPC over the network then use an application like WinSCP to gain remote access to the file system on the HTPC from another computer and edit this file. You can edit this file from within WinSCP via the right click menu options.&lt;br /&gt;
&lt;br /&gt;
{{note|&lt;br /&gt;
# - This file is &#039;&#039;&#039;C&#039;&#039;&#039;a&#039;&#039;&#039;S&#039;&#039;&#039;e &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;N&#039;&#039;&#039;s&#039;&#039;&#039;I&#039;&#039;&#039;t&#039;&#039;&#039;I&#039;&#039;&#039;v&#039;&#039;&#039;E&#039;&#039;&#039; and must contain the &amp;lt;advancedsettings&amp;gt; tag (see the layout section below), so make sure you use all lower-case tags or they will not be read properly by XBMC.&lt;br /&gt;
# - After you have edited this file it is advisable to reboot XBMC completely to ensure that new settings take effect properly.&lt;br /&gt;
# - For some Windows versions, XBMC 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;C:\Users\[username]\AppData\Roaming\XBMC\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=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&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 it&#039;s 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;
== How to include GUI settings ==&lt;br /&gt;
&lt;br /&gt;
You can also define the settings normally defined in the GUI in advancedsettings.xml.  Any GUI based settings defined in advancedsettings.xml will override the GUI values, and the settings will be removed completely from the GUI (ie only alterable by editing advancedsettings.xml).&lt;br /&gt;
&lt;br /&gt;
The easiest way to include a GUI setting is to first make sure it is set in the GUI to the value that you want, and then to 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 for the GUI (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=&amp;quot;xml&amp;quot; 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 GUI entry for the character set will then no longer appear, and XBMC will always use the Hebrew (Windows) character set.&lt;br /&gt;
&lt;br /&gt;
== List of available settings ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;loglevel&amp;gt; ===&lt;br /&gt;
{{see also|debug log}}&lt;br /&gt;
{{xml setting&lt;br /&gt;
 | tag name = loglevel&lt;br /&gt;
 | tag attribute = hide&lt;br /&gt;
 | tag attribute type = true_false&lt;br /&gt;
 | tag attribute values = &lt;br /&gt;
{{option values&lt;br /&gt;
 | value1= true | value1 description= Hides &amp;quot;enable debugging&amp;quot; guisetting.&lt;br /&gt;
 | value2= false | value2 description= &amp;quot;enable debugging&amp;quot; guisetting will switch between min(loglevel, 0) and max(loglevel, 2) for off and on respectively. &#039;&#039;&#039;(Default)&#039;&#039;&#039;&lt;br /&gt;
}}&lt;br /&gt;
 | tag attribute default values = true&lt;br /&gt;
 | option type = list&lt;br /&gt;
 | option values = &lt;br /&gt;
{{option values&lt;br /&gt;
 | value1= -1 | value1 description= No logging, suppresses all log output&lt;br /&gt;
 | value2= 0 | value2 description= Normal logging, only logging errors &#039;&#039;&#039;(Default)&#039;&#039;&#039;&lt;br /&gt;
 | value3= 1 | value3 description= Debug logging&lt;br /&gt;
 | value4= 2 | value4 description= Debug logging with freemem, fps and cpu usage shown on screen&lt;br /&gt;
 | value5= 3 | value5 description= Debug logging with freemem, fps and cpu usage and full smb logging&lt;br /&gt;
}}&lt;br /&gt;
 | default values = 0&lt;br /&gt;
 | example values = &lt;br /&gt;
 | platform = all&lt;br /&gt;
 | XBMC version = 8-12&lt;br /&gt;
 | description = &lt;br /&gt;
The logging level that XBMC will use to log errors and information. The &amp;quot;hide&amp;quot; attribute is optional.&lt;br /&gt;
 | example =&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel hide=&amp;quot;false&amp;quot;&amp;gt;2&amp;lt;/loglevel&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;packagefoldersize&amp;gt; ===&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.&lt;br /&gt;
 | example = Example: &amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&amp;lt;packagefoldersize&amp;gt;500&amp;lt;/packagefoldersize&amp;gt; &amp;lt;!-- this example would keep up to 500MB of add-on packages. --&amp;gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;skiploopfilter&amp;gt; ===&lt;br /&gt;
The amount of the loop filter to skip on h264 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 (default on ATV)&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;cddbaddress&amp;gt; ===&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: &amp;lt;tt&amp;gt;freedb.freedb.org&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;enableairtunesdebuglog&amp;gt; ===&lt;br /&gt;
This enables the debug output of libshairport which is used for the AirTunes feature. Defaults to off - because its spamming badly.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;enableairtunesdebuglog&amp;gt;1&amp;lt;/enableairtunesdebuglog&amp;gt;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;airtunesport&amp;gt; ===&lt;br /&gt;
This overwrites the defalt listening port of the AirTunes server (announced via zeroconf).&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;airplayport&amp;gt; ===&lt;br /&gt;
This overwrites the default listening port of the AirPlay server (announced via zeroconf).&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;detectasudf&amp;gt; ===&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;
=== &amp;lt;virtualshares&amp;gt; ===&lt;br /&gt;
Set to false to disable virtual shares like plugin, last.fm or shoutcast sources.&lt;br /&gt;
&lt;br /&gt;
Default: True&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;pictureextensions&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 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 .zip .cbr .rar .m3u&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;musicextensions&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 Music windows.&lt;br /&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 .mpa .wav .wma .ogg .mp3 .mp2 .m3u .mod .amf .669 .dmf .dsm .far .gdm &lt;br /&gt;
.imf .it .m15 .med .okt .s3m .stm .sfx .ult .uni .xm .sid .ac3 .dts .cue .aif .aiff .wpl .ape .mac .mpc &lt;br /&gt;
.mp+ .mpp .shn .zip .rar .wv .nsf .spc .gym .adplug .adx .dsp .adp .ymf .ast .afc .hps .xsp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;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;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;videoextensions&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 .3gp .nsv .ts .ty .strm .rm .rmvb .m3u .ifo .mov .qt .divx .xvid .bivx .vob .nrg .img&lt;br /&gt;
.iso .pva .wmv .asf .asx .ogm .m2v .avi .bin .dat .dvr-ms .mpg .mpeg .mp4 .mkv .avc .vp3 &lt;br /&gt;
.svq3 .nuv .viv .dv .fli .flv .rar .001 .wpl .zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&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;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;discstubextensions&amp;gt; ===&lt;br /&gt;
A list of additional file-extensions that will (&amp;lt;tt&amp;gt;&amp;lt;add&amp;gt;&amp;lt;/tt&amp;gt;) or will not (&amp;lt;tt&amp;gt;&amp;lt;remove&amp;gt;&amp;lt;/tt&amp;gt;) be treated as disc stubs.&lt;br /&gt;
&lt;br /&gt;
Default extensions for DISC STUBS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.disc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;discstubextensions&amp;gt;&lt;br /&gt;
  &amp;lt;add&amp;gt;.dvd|.blu&amp;lt;/add&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;.cd|.vhs&amp;lt;/remove&amp;gt;&lt;br /&gt;
&amp;lt;/discstubextensions&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;languagecodes&amp;gt; ===&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=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;code&amp;gt;&amp;lt;short&amp;gt;alt&amp;lt;/short&amp;gt;&amp;lt;long&amp;gt;Alternate&amp;lt;/long&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;sorttokens&amp;gt; ===&lt;br /&gt;
Allows you to specify additional tokens that will be ignored at the start of lines during sorting.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;samba&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;moviestacking&amp;gt; ===&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; &lt;br /&gt;
&lt;br /&gt;
As of XBMC v9.11, video stacking regular expressions &#039;&#039;&#039;must&#039;&#039;&#039; contain exactly four (4) capture expressions. Old ones and three capture expressions are dropped (see [[Log file|log]]). More information on how the algorithm works is available [[File Stacking#How does it work.3F|here]].&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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/d&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]|d)[ _.-]*[0-9]+)(.*?)(\.[^.]+)$&amp;lt;/regexp&amp;gt;&lt;br /&gt;
  &amp;lt;!-- &amp;lt;cd/dvd/part/pt/disk/disc/d&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]|d)[ _.-]*[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=&amp;quot;xml&amp;quot; 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=&amp;quot;xml&amp;quot; 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;
&lt;br /&gt;
=== &amp;lt;cleandatetime&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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-1][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;
=== &amp;lt;cleanstrings&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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|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|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;
=== &amp;lt;tvshowmatching&amp;gt; ===&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=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tvshowmatching&amp;gt;&lt;br /&gt;
  &amp;lt;regexp&amp;gt;[Ss]([0-9]+)[][ ._-]*[Ee]([0-9]+)([^\\/]*)$&amp;lt;/regexp&amp;gt;  &amp;lt;!-- foo.s01.e01, foo.s01_e01, S01E02 foo, S01 - E02 --&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;
:* Expressions are converted to lower case before being evaluated. &#039;&#039;(XBMC v13.0 alpha4 and earlier only)&#039;&#039;&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 [http://forum.xbmc.org/showthread.php?t=51614 forum thread] has a discussion of pre-made regex lists to match common names. These drastically improve XMBC&#039;s ability to match TV show names, at the risk of some 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;, 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)&#039;&#039;&lt;br /&gt;
: Use only one pair of parentheses&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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)&#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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;tvmultipartmatching&amp;gt; ===&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;
Defaults:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tvmultipartmatching&amp;gt;^[-_EeXx]+([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;
&lt;br /&gt;
=== &amp;lt;excludefromscan&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;excludefromlisting&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;excludetvshowsfromscan&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;pictureexcludes&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;pathsubstitution&amp;gt; ===&lt;br /&gt;
&#039;&#039;&#039;[[Path substitution]]s&#039;&#039;&#039; 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 XBMC 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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;forcedswaptime&amp;gt; ===&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;playlistasfolders&amp;gt; ===&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.&amp;lt;br /&amp;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.&amp;lt;br /&amp;gt;&lt;br /&gt;
:{{note|This setting will not affect smart playlists, they will always show as folders.}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;playlistretries&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;playlisttimeout&amp;gt; ===&lt;br /&gt;
The timeout, in seconds, before item failure.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;songinfoduration&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;remotedelay&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;remoterepeat&amp;gt; ===&lt;br /&gt;
This used to adjust the amount of time in milliseconds between repeated keystrokes. Used to prevent key-bounce, in other words prevents xbmc (lirc?) seeing one key press as multiple key presses with certain remotes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;remoterepeat&amp;gt;800&amp;lt;/remoterepeat&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;controllerdeadzone&amp;gt; ===&lt;br /&gt;
The controller deadzone is the region of movement around the center which is not recognized by the device. Because joysticks can have noise (report motion when still) and bias (report an offset when centered), spurious events can be reported even though the controller isn&#039;t being touched. If you notice these kinds of events, you most likely need to increase your controller&#039;s deadzone (both axes recommended). The values range from 0.0 (no deadzone, XBMC will see all input your controller is capable of registering) to 1.0 (XBMC will ignore all input inside of the device&#039;s physical limits).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;controllerdeadzone&amp;gt;0.2&amp;lt;/remoterepeat&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;thumbsize&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
This tag is replaced by &amp;lt;imageres&amp;gt; in Frodo.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;geometric mean&#039;&#039;&#039; of the image size i.e. The square root of the Width x Height :  GM = 2√ W × H&lt;br /&gt;
&lt;br /&gt;
There is a maximum value of 1024 enforced internally because anything larger is impractical and results in massive images that take up space and slow everything down for no gain. If you specify a value larger than 1024 it will be ignored and XBMC will use 1024.&lt;br /&gt;
&lt;br /&gt;
If the GM of your source image is LESS than the value specified in the &amp;lt;thumbsize&amp;gt; tag, the image will NOT be resized and will be imported as is.&lt;br /&gt;
&lt;br /&gt;
XBMC supports all sorts of different aspect ratios - compare banners with posters for example - and a single maximum width or height setting doesn&#039;t really make much sense so instead a single value is supplied which is the &#039;&#039;&#039;geometric mean&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
This typically gives a better result than specifying a maximum dimension for either axis as 512 (for example) would give quite small banner images because it would restrict the width to 512 (smaller than is shown in some skins) yet would give large album covers because they are square and would end up being 512 x 512 (larger than what is shown in most skins), but is probably about right for posters in most skins.&lt;br /&gt;
&lt;br /&gt;
To use an example, if you have a source image of 1000 x 1500 pixels, the geometric mean is:  2√1000 × 1500 = 1224.75 = 1225 rounded up.&lt;br /&gt;
&lt;br /&gt;
1225 is greater than 1024, so XBMC will scale the image down to a size of 836 x 1253. &lt;br /&gt;
&lt;br /&gt;
This is because :  2√ 836 x 1253 = 1023.478 = 1024 rounded up (maximum allowed GM)&lt;br /&gt;
&lt;br /&gt;
So in summary, if you want XBMC to resize all images to a size of 667 x 1000 (as a random example) you must calculate the GM of that as follows:&lt;br /&gt;
&lt;br /&gt;
2√ 667 × 1000 = 816.7 = 817 rounded up.&lt;br /&gt;
&lt;br /&gt;
817 is therefore the value you must set &amp;lt;thumbsize&amp;gt; to so that any image you supply that is LARGER than 667 x 1000 to begin with, will be scaled down to that size.&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;fanartheight&amp;gt; ===&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
This tag is replaced by &amp;lt;fanartres&amp;gt; in Frodo.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To specify the height value cached fanart should be resized to in pixels. The width is automatically calculated as being 16/9*height.&lt;br /&gt;
&lt;br /&gt;
Default: 1080&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;imageres&amp;gt; ===&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
This tag is new for Frodo, replacing &amp;lt;thumbsize&amp;gt;.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Specify the maximal resolution that art should be resized to in pixels. The width is automatically calculated as being 16/9*height.  The image&lt;br /&gt;
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&lt;br /&gt;
at size 450x720 using the default value of 720.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;fanartres&amp;gt; ===&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;This tag is new for Frodo, replacing &amp;lt;fanartheight&amp;gt;.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To specify the resolution that cached fanart should be resized to in pixels. The width is automatically calculated as being 16/9*height. Only images&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;musicthumbs&amp;gt; ===&lt;br /&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=&amp;quot;xml&amp;quot; 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;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;musicfilenamefilters&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;dvdthumbs&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;Frodo ignores this tag.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A list of additional files to try when searching for dvdrom thumbnail images.  (The default is folder.jpg which can be removed.)&lt;br /&gt;
&lt;br /&gt;
{{note|&lt;br /&gt;
* File names are case sensitive in XBMC and due to the fact that internally XBMC looks for &amp;quot;folder.jpg&amp;quot; using 4 different variants of that file name with different casing, you MUST specify all 4 variants of that file name in the &amp;lt;remove&amp;gt; tag to make XBMC ignore it completely. On a Windows system case sensitivity is irrelevant so if any one of the 4 variants is still being looked for by XBMC when it scans your folders, it will match &amp;quot;folder.jpg&amp;quot; regardless of the casing.&lt;br /&gt;
      &lt;br /&gt;
* This is not obvious and unless you know what the XBMC code is doing internally you wouldn&#039;t know this and wouldn&#039;t know what variants, specifically, you need to include in the &amp;lt;remove&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
* The example below shows you exactly what it should look like. &lt;br /&gt;
&lt;br /&gt;
* If you are working on Linux systems where case sensitivity IS an issue then obviously you should also make sure that you provide variants of any file names you include in the &amp;lt;add&amp;gt; tag that cover any possible differences in casing that the scanner may encounter.}}&lt;br /&gt;
      &lt;br /&gt;
e.g.. To make sure that it finds &amp;quot;cover.jpg&amp;quot; on a Linux file system where case sensitivity matters, you would probably want &lt;br /&gt;
to do this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;add&amp;gt; Cover.jpg|cover.jpg|Cover.JPG|cover.JPG &amp;lt;/add&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In a Windows environment this tends to not be an issue with regards the &amp;lt;add&amp;gt; tag because case is ignored but you STILL need&lt;br /&gt;
to provide all 4 variants of &amp;quot;folder.jpg&amp;quot; in the &amp;lt;remove&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
{{note| The order of the items that you include in the &amp;lt;tt&amp;gt;&amp;lt;add/&amp;gt;&amp;lt;/tt&amp;gt; element IS important. If you add both thumb.jpg and cover.jpg, and you have BOTH of those files in a folder that XBMC scans and imports&lt;br /&gt;
from, XBMC will use the FIRST matching file name it finds in the &amp;lt;tt&amp;gt;&amp;lt;add/&amp;gt;&amp;lt;/tt&amp;gt; element. So in the example below thumb.jpg would be used as the thumbnail and cover.jpg would be IGNORED.}}&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;dvdthumbs&amp;gt;&lt;br /&gt;
  &amp;lt;remove&amp;gt;folder.jpg|Folder.jpg|folder.JPG|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;/dvdthumbs&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;fanart&amp;gt; ===&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;Frodo ignores this tag for video. It&#039;s still used for music, however.&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
A list of additional files to try when searching for fanart images.  (The defaults are fanart.jpg and fanart.png which can be removed.)&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;masterlock&amp;gt; ===&lt;br /&gt;
If you enable any masterlock settings below, they will be removed from UI. Code needs to be MD5&#039;d, and you can use [http://pajhome.org.uk/crypt/md5/ this site] to hash it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;masterlock&amp;gt;       &lt;br /&gt;
   &amp;lt;startuplock&amp;gt;false&amp;lt;/startuplock&amp;gt;  &amp;lt;!-- true prompts user for code upon startup --&amp;gt;&lt;br /&gt;
   &amp;lt;automastermode&amp;gt;false&amp;lt;/automastermode&amp;gt;  &amp;lt;!-- automatically enters master mode if the master code is given --&amp;gt;&lt;br /&gt;
   &amp;lt;loginlock&amp;gt;true&amp;lt;/loginlock&amp;gt;  &amp;lt;!-- whether to use locks on login screen or not --&amp;gt;&lt;br /&gt;
   &amp;lt;!-- advancedsettings.xml ONLY: --&amp;gt;&lt;br /&gt;
   &amp;lt;maxretries&amp;gt;3&amp;lt;maxretries&amp;gt; &amp;lt;!-- enter the max number of retries to input code, 3 is default. --&amp;gt;&lt;br /&gt;
&amp;lt;/masterlock&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;audio&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;audio&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Amount of headroom XBMC 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 dvdplayer --&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;!-- 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;!-- Force a specific samplerate to be produced by paplayer to send to the audio hardware, i.e HDMI Audio is usually only capable of 48000. --&amp;gt;&lt;br /&gt;
  &amp;lt;resample&amp;gt;48000&amp;lt;/resample&amp;gt; &lt;br /&gt;
  &amp;lt;!-- Whether to use DRC on AC3 and DTS streams --&amp;gt;&lt;br /&gt;
  &amp;lt;applydrc&amp;gt;true&amp;lt;/applydrc&amp;gt; &lt;br /&gt;
  &amp;lt;!-- set to true to skip decoding of DTS in wav files when using dvdplayer (10.10 only) --&amp;gt;&lt;br /&gt;
  &amp;lt;dvdplayerignoredtsinwav&amp;gt;false&amp;lt;/dvdplayerignoredtsinwav&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;
The new [[AudioEngine]] introduced in Frodo includes support for the following advancedsettings:&lt;br /&gt;
{{frodo box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang = &amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;audio&amp;gt;&lt;br /&gt;
  &amp;lt;!-- force resampling of audio at a given frequency e.g. 48000 = 48khz --&amp;gt;&lt;br /&gt;
  &amp;lt;resample&amp;gt;0&amp;lt;/resample&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Windows-specific - will not use Wasapi API 0 = false, 1 = true --&amp;gt;&lt;br /&gt;
  &amp;lt;forceDirectSound&amp;gt;0&amp;lt;/forceDirectSound&amp;gt;&lt;br /&gt;
  &amp;lt;!-- forces playback of original format, will not down/upmix next song to match current, not compatible with cross-fading 0 = false, 1 = true --&amp;gt;&lt;br /&gt;
  &amp;lt;audiophile&amp;gt;0&amp;lt;/audiophile&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Windows-specific, buffer time in msec, hard minimum of 50msec --&amp;gt;&lt;br /&gt;
  &amp;lt;audiosinkbufferdurationmsec&amp;gt;50&amp;lt;/audiosinkbufferdurationmsec&amp;gt;&lt;br /&gt;
  &amp;lt;!-- allows 44100hz when trancoding for SPDIF devices 0=false, 1=true --&amp;gt;&lt;br /&gt;
  &amp;lt;allowtranscode44100&amp;gt;0&amp;lt;/allowtranscode44100&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Forces original AE behaviour where an audio signal is constantly streamed to the audio device, even if silent. &lt;br /&gt;
  If 1 or true, this prevents some receivers from losing the signal/source, and prevents sinks re-opening and possible receiver switching with each &lt;br /&gt;
  new stream after any silence. If 0 or false, enables Eden-style releasing of the audio device so external players, programs and the system can &lt;br /&gt;
  access the audio device, i.e. prevents XBMC from hogging the audio device. --&amp;gt;&lt;br /&gt;
  &amp;lt;streamsilence&amp;gt;0&amp;lt;/streamsilence&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;
=== &amp;lt;karaoke&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;karaoke&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Music-lyrics delay for CDG format lyrics in SECONDS. Floating number, may be negative. --&amp;gt;&lt;br /&gt;
  &amp;lt;syncdelaycdg&amp;gt;0.0&amp;lt;/syncdelaycdg&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Music-lyrics delay for LRC format lyrics in 1/10 seconds. Floating number, may be negative. --&amp;gt;&lt;br /&gt;
  &amp;lt;syncdelaylrc&amp;gt;0.0&amp;lt;/syncdelaylrc&amp;gt;&lt;br /&gt;
  &amp;lt;!-- If set to true, when the songs are added to the library, XBMC will automatically replace the song genre by &amp;quot;Karaoke&amp;quot;&lt;br /&gt;
    if the song has associated lyrics. Default is false. --&amp;gt;&lt;br /&gt;
  &amp;lt;alwaysreplacegenre&amp;gt;false&amp;lt;/alwaysreplacegenre&amp;gt;&lt;br /&gt;
  &amp;lt;!-- If set to true, when the music-lyrics delay was modified while playing using subtitle delay buttons, the delay value&lt;br /&gt;
    for this song will be stored, and restored when the song is played next time. Default is true. --&amp;gt;&lt;br /&gt;
  &amp;lt;storedelay&amp;gt;true&amp;lt;/storedelay&amp;gt;&lt;br /&gt;
  &amp;lt;!-- When karaoke songs are added to the library during scans, an autoincrement number is automatically assigned&lt;br /&gt;
 to each song, starting from the value specified below. Default starts from 1. --&amp;gt;&lt;br /&gt;
  &amp;lt;autoassignstartfrom&amp;gt;1&amp;lt;/autoassignstartfrom&amp;gt;&lt;br /&gt;
  &amp;lt;!-- If set to true (default), the background for CDG songs is always empty (plain color) no matter what setting is set in &lt;br /&gt;
    defaultbackground below. When setting this to false, then one can see through the background and see the video or&lt;br /&gt;
    visualization.--&amp;gt;&lt;br /&gt;
  &amp;lt;nocdgbackground&amp;gt;true&amp;lt;/nocdgbackground&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Sets default background mode. Type could be &amp;quot;none&amp;quot;, &amp;quot;vis&amp;quot; for visualisation, &amp;quot;image&amp;quot; or &amp;quot;video&amp;quot;.&lt;br /&gt;
    For image/video types the &amp;quot;path&amp;quot; parameter should specify the image or video file to play. --&amp;gt;&lt;br /&gt;
  &amp;lt;defaultbackground type=&amp;quot;video&amp;quot; path=&amp;quot;special://masterprofile/karaokevideobg.avi&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;!-- If non-zero, specifies the time in seconds left before the end of the current song when a window will pop up informing you&lt;br /&gt;
    about the next played song. The window does not pop up if there is no next song, or it is not a karaoke song --&amp;gt;&lt;br /&gt;
  &amp;lt;nextsongpopuptime&amp;gt;0.0&amp;lt;/nextsongpopuptime&amp;gt;&lt;br /&gt;
&amp;lt;/karaoke&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;video&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;subsdelayrange&amp;gt;10&amp;lt;/subsdelayrange&amp;gt;  &amp;lt;!-- Delay range for subtitles, in seconds. --&amp;gt;&lt;br /&gt;
  &amp;lt;audiodelayrange&amp;gt;10&amp;lt;/audiodelayrange&amp;gt;  &amp;lt;!-- Delay range for audio/video sync, in seconds. --&amp;gt;&lt;br /&gt;
  &amp;lt;smallstepbackseconds&amp;gt;7&amp;lt;/smallstepbackseconds&amp;gt;  &amp;lt;!-- Length of the small skip back (normally the BACK button) when playing a video --&amp;gt;&lt;br /&gt;
  &amp;lt;usetimeseeking&amp;gt;true&amp;lt;/usetimeseeking&amp;gt;  &amp;lt;!-- Whether to use time based or percentage based seeking. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekforward&amp;gt;30&amp;lt;/timeseekforward&amp;gt;  &amp;lt;!-- Time to seek forward in seconds when doing a short seek.  Defaults to 30. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekbackward&amp;gt;-30&amp;lt;/timeseekbackward&amp;gt;  &amp;lt;!-- Time to seek backward in seconds when doing a short seek.  Defaults to -30. --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekforwardbig&amp;gt;600&amp;lt;/timeseekforwardbig&amp;gt;  &amp;lt;!-- Time to seek forward in seconds when doing a long seek.  Defaults to 600 (10 minutes). --&amp;gt;&lt;br /&gt;
  &amp;lt;timeseekbackwardbig&amp;gt;-600&amp;lt;/timeseekbackwardbig&amp;gt;  &amp;lt;!-- Time to seek forward in seconds when doing a long seek.  Defaults to -600 (10 minutes). --&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekforward&amp;gt;2&amp;lt;/percentseekforward&amp;gt;  &amp;lt;!-- Amount to seek forward as a percentage, when doing a short seek.  Defaults to 2. --&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekbackward&amp;gt;-2&amp;lt;/percentseekbackward&amp;gt;  &amp;lt;!-- Amount to seek backward as a percentage, when doing a short seek.  Defaults to -2. --&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekforwardbig&amp;gt;10&amp;lt;/percentseekforwardbig&amp;gt;  &amp;lt;!-- Amount to seek forward as a percentage, when doing a long seek.  Defaults to 10. --&amp;gt;&lt;br /&gt;
  &amp;lt;percentseekbackwardbig&amp;gt;-10&amp;lt;/percentseekbackwardbig&amp;gt;  &amp;lt;!-- Amount to seek forward as a percentage, when doing a long seek.  Defaults to -10. --&amp;gt;&lt;br /&gt;
  &amp;lt;blackbarcolour&amp;gt;1&amp;lt;/blackbarcolour&amp;gt;  &amp;lt;!-- colour of the black bars (0-&amp;gt;255), (black-&amp;gt;white) on videos. --&amp;gt;&lt;br /&gt;
  &amp;lt;fullscreenonmoviestart&amp;gt;true&amp;lt;/fullscreenonmoviestart&amp;gt; &amp;lt;!-- Whether to go to fullscreen or not when starting a movie. Defaults to true. --&amp;gt;&lt;br /&gt;
  &amp;lt;defaultplayer&amp;gt;dvdplayer&amp;lt;/defaultplayer&amp;gt; &amp;lt;!-- Set the default video player: dvdplayer or extplayer. --&amp;gt;&lt;br /&gt;
  &amp;lt;excludefromscan&amp;gt; &amp;lt;!-- Regular expressions that if evaluated to true won&#039;t be added to library. --&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;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;playcountminimumpercent&amp;gt;90&amp;lt;/playcountminimumpercent&amp;gt; &amp;lt;!--Minimum percentage that has to be played before it is marked as watched. Set to 101 to never auto-mark items as watched --&amp;gt;&lt;br /&gt;
  &amp;lt;ignoresecondsatstart&amp;gt;180&amp;lt;/ignoresecondsatstart&amp;gt; &amp;lt;!-- Number of seconds to ignore at video start after which a resume point is created --&amp;gt;&lt;br /&gt;
  &amp;lt;ignorepercentatend&amp;gt;8&amp;lt;/ignorepercentatend&amp;gt; &lt;br /&gt;
  &amp;lt;!-- percentage of video to ignore at the end. If you stop watching the video here no resume point is created. The video is already marked as watched at 90%, see above --&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;vdpauscaling&amp;gt;true&amp;lt;/vdpauscaling&amp;gt;&lt;br /&gt;
  &amp;lt;!-- 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,&lt;br /&gt;
  this setting requires a vdpau feature set C gpu--&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;enablehighqualityhwscalers&amp;gt;true&amp;lt;/enablehighqualityhwscalers&amp;gt; &amp;lt;!-- allow turning on the spline36 and lanczos3 shader (for GL builds) --&amp;gt;&lt;br /&gt;
  &amp;lt;ppffmpegdeinterlacing&amp;gt;linblenddeint&amp;lt;/ppffmpegdeinterlacing&amp;gt; &amp;lt;!-- override the deinterlacing options passed to libpostproc --&amp;gt;&lt;br /&gt;
  &amp;lt;ppffmpegpostprocessing&amp;gt;ha:128:7,va,dr&amp;lt;/ppffmpegpostprocessing&amp;gt; &amp;lt;!-- override the post processing options passed to libpostproc when &#039;Video post-processing&#039; is activated in GUI Videos-Settings-Playback --&amp;gt;&lt;br /&gt;
  &amp;lt;allowmpeg4vdpau&amp;gt;true&amp;lt;/allowmpeg4vdpau&amp;gt; &amp;lt;!-- allows mpeg4 decoding with vdpau, currently broken --&amp;gt;&lt;br /&gt;
  &amp;lt;allowmpeg4vaapi&amp;gt;true&amp;lt;/allowmpeg4vaapi&amp;gt; &amp;lt;!-- allows mpeg4 decoding with vaapi, currently broken on Nvidia cards, not implemented on Intel --&amp;gt;&lt;br /&gt;
  &amp;lt;autoscalemaxfps&amp;gt;30&amp;lt;/autoscalemaxfps&amp;gt; &amp;lt;!-- when scaling method is set to auto, bilinear is chosen when the fps is higher than this limit, the default is 30 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Settings for when &amp;quot;Adjust refreshrate to match video fps&amp;quot; is enabled, available since r33806. --&amp;gt;&lt;br /&gt;
  &amp;lt;!-- NOT available in the Dharma release or any release before that --&amp;gt;&lt;br /&gt;
  &amp;lt;adjustrefreshrate&amp;gt; &lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- &amp;quot;Adjust refreshrate to match video fps&amp;quot; will try to select the best refreshrate for the video fps --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- but it doesn&#039;t always get it right, for example it might switch to an unsupported refreshrate. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- You can add overrides here to switch to a certain refreshrate based on video fps --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- It&#039;s possible to add as many overrides as you need. --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Overrides are processed in order, if the first one doesn&#039;t match the fps or no refreshrates match --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- that override, it will try the next one until no overrides are left --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;override&amp;gt;&lt;br /&gt;
      &amp;lt;fps&amp;gt;23.976&amp;lt;/fps&amp;gt;       &amp;lt;!-- if the fps is between 23.966 and 23.986 --&amp;gt;&lt;br /&gt;
      &amp;lt;refresh&amp;gt;60.0&amp;lt;/refresh&amp;gt; &amp;lt;!-- switch to the first found refreshrate that is between 59.99 and 60.01 --&amp;gt;&lt;br /&gt;
    &amp;lt;/override&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;override&amp;gt;&lt;br /&gt;
      &amp;lt;fpsmin&amp;gt;29.96&amp;lt;/fpsmin&amp;gt;        &amp;lt;!-- You can also specify the fps range yourself --&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; &amp;lt;!-- Same for the refreshrate --&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;
    &lt;br /&gt;
    &amp;lt;!-- It none of the overrides match, or none of the refreshrates match any of the fps matching overrides, --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- it will choose a fallback refreshrate. Fallbacks are process in order, if the first fallback doesn&#039;t match --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- any refreshrate, it will try the next one until no fallbacks are left --&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; &amp;lt;!-- switch to the first found refreshrate that is between 49.99 and 50.01. --&amp;gt;&lt;br /&gt;
    &amp;lt;/fallback&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- You can also specify the range for the fallback yourself --&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;
&lt;br /&gt;
    &amp;lt;!-- If none of the overrides match the video fps, or no refreshrates match any of the fps matching overrides, --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- and no fallbacks are specified or no refreshrates match any fallbacks, --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- it will automatically choose the best refreshrate (same as having no overrides and fallbacks). --&amp;gt;&lt;br /&gt;
  &amp;lt;/adjustrefreshrate&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;checkdxvacompatibility&amp;gt;value&amp;lt;/checkdxvacompatibility&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Advanced setting not present: let xbmc autodetect cards that support H264 profile &amp;gt; L4.1. Set value to false to enable DXVA no matter what.&lt;br /&gt;
  Set value to true if xbmc doesn&#039;t autodetect that the graphics card doesn&#039;t support &amp;gt; L4.1 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;useocclusionquery&amp;gt;-1&amp;lt;/useocclusionquery&amp;gt; &amp;lt;!--Use an occlusion query when capturing videoframes, -1 means auto detect, 0 means disabled, 1 means enabled, the default is -1.--&amp;gt;&lt;br /&gt;
  &amp;lt;fpsdetect&amp;gt;1&amp;lt;/fpsdetect&amp;gt; &amp;lt;!-- fps detection for video playback, 0 = trust codec fps, 1 = recalculate from video timestamps with uniform spacing, 2 = recalculate from video timestamps always --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Compensate display latency (video lag). Latency is given in msecs. --&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Requires XBMC 11.0 (Eden) or later. --&amp;gt;&lt;br /&gt;
  &amp;lt;latency&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Global default display latency --&amp;gt;&lt;br /&gt;
    &amp;lt;delay&amp;gt;0&amp;lt;/delay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
      Override latency for given display (not video) refresh rates.&lt;br /&gt;
      When XBMC is in windowed mode, override is ignored. Multiple&lt;br /&gt;
      overrides are allowed.&lt;br /&gt;
&lt;br /&gt;
      Syntax of an override entry:&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;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Example: display has 125 msec latency at 23-24 Hz --&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;
&lt;br /&gt;
    &amp;lt;!-- Example: display has 50 msec latency at 50 (+/-0.01) Hz --&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;
&lt;br /&gt;
  &amp;lt;/latency&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Gotham box|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Filename triggers for 3D (stereoscopic) mode. --&amp;gt;&lt;br /&gt;
    &amp;lt;stereoscopicflagssbs&amp;gt;3DSBS|3D.SBS|HSBS|H.SBS|H-SBS| SBS |FULL-SBS|FULL.SBS|FULLSBS|FSBS|HALF-SBS&amp;lt;/stereoscopicflagssbs&amp;gt;&lt;br /&gt;
    &amp;lt;stereoscopicflagstab&amp;gt;3DTAB|3D.TAB|HTAB|H.TAB|3DOU|3D.OU|3D.HOU| HOU | OU |HALF-TAB&amp;lt;/stereoscopicflagstab&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;musiclibrary&amp;gt; ===&lt;br /&gt;
Options specific to the Music Library&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;musiclibrary&amp;gt;&lt;br /&gt;
    &amp;lt;hideallitems&amp;gt;true&amp;lt;/hideallitems&amp;gt; &amp;lt;!-- removes the &amp;quot;*All&amp;quot; items from the music library --&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;backgroundupdate&amp;gt;true&amp;lt;/backgroundupdate&amp;gt; &amp;lt;!-- set to hide the music scanner dialog from the gui --&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;albumssortbyartistthenyear&amp;gt;true&amp;lt;/albumssortbyartistthenyear&amp;gt;    &amp;lt;!-- at an albums listing, when you sort by artist, secondary sort will be year. --&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;albumformatright&amp;gt;%A&amp;lt;/albumformatright&amp;gt;  &amp;lt;!-- album label template for right column, default is &amp;quot;%A&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* --&amp;gt;&lt;br /&gt;
  &amp;lt;/musiclibrary&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;videolibrary&amp;gt; ===&lt;br /&gt;
Options specific to the Video Library&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;videolibrary&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;backgroundupdate&amp;gt;true&amp;lt;/backgroundupdate&amp;gt; &amp;lt;!-- set to hide the video scanner dialog from the gui --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- NOTE: To get this working properly, you have to do a &#039;Clean Library&#039; in settings the first time after you enable the setting. --&amp;gt;&lt;br /&gt;
    &amp;lt;cleanonupdate&amp;gt;true&amp;lt;/cleanonupdate&amp;gt;  &amp;lt;!-- default set to false to prevent xbmc from removing items from the database while updating.  --&amp;gt;&lt;br /&gt;
    &amp;lt;hideallitems&amp;gt;true&amp;lt;/hideallitems&amp;gt;  &amp;lt;!-- removes the &amp;quot;*All&amp;quot; items from the video library --&amp;gt;&lt;br /&gt;
    &amp;lt;hideemptyseries&amp;gt;true&amp;lt;/hideemptyseries&amp;gt;  &amp;lt;!-- hide empty series in the video library --&amp;gt;&lt;br /&gt;
    &amp;lt;hiderecentlyaddeditems&amp;gt;true&amp;lt;/hiderecentlyaddeditems&amp;gt;  &amp;lt;!-- removes the &amp;quot;Recently added ...&amp;quot; items from the video library. --&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;true&amp;lt;/exportautothumbs&amp;gt;  &amp;lt;!-- export auto-generated thumbs. Defaults to false --&amp;gt;&lt;br /&gt;
    &amp;lt;importwatchedstate&amp;gt;true&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;true&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;mymovies&amp;gt;  &amp;lt;!-- Options specific to MyMovies XML file parsing --&amp;gt;&lt;br /&gt;
      &amp;lt;categoriestogenres&amp;gt;false&amp;lt;/categoriestogenres&amp;gt;  &amp;lt;!-- Add MyMovies Custom Categories to XBMC Genres (boolean, default is false) --&amp;gt;&lt;br /&gt;
    &amp;lt;/mymovies&amp;gt;&lt;br /&gt;
    &amp;lt;dateadded&amp;gt;2&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;
=== &amp;lt;videoscanner&amp;gt; ===&lt;br /&gt;
Options specific to the Video scanner&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;slideshow&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;network&amp;gt; ===&lt;br /&gt;
{{see also|HOW-TO:Modify the cache}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;5&amp;lt;/curllowspeedtime&amp;gt;  &amp;lt;!-- Time in seconds for libcurl to consider a connection lowspeed --&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;cachemembuffersize&amp;gt;5242880&amp;lt;/cachemembuffersize&amp;gt;  &amp;lt;!-- number of bytes used for buffering streams ahead in memory &lt;br /&gt;
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM&lt;br /&gt;
    When set to 0 the cache will be written to disk instead of RAM, as of v12 Frodo --&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Gotham box|1=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;alwaysforcebuffer&amp;gt;1&amp;lt;/alwaysforcebuffer&amp;gt;  &amp;lt;!-- enables cache for all streams with the exclusion of local DVD and local Blu-Ray. 0/off is default. --&amp;gt;&lt;br /&gt;
  &amp;lt;readbufferfactor&amp;gt;4.0&amp;lt;/readbufferfactor&amp;gt; &amp;lt;!-- this factor determines the max readrate in terms of readbufferfactor * 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 1.0. --&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/network&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;tuxbox&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tuxbox&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;audiochannelselection&amp;quot;; default is &#039;false&#039;, &#039;true&#039; will popup the audio channel selection if&lt;br /&gt;
          there is more then one audio stream !--&amp;gt;&lt;br /&gt;
    &amp;lt;audiochannelselection&amp;gt;false&amp;lt;/audiochannelselection&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;submenuselection&amp;quot;; default is &#039;false&#039;, &#039;true&#039; will popup the Submenu selection !--&amp;gt;&lt;br /&gt;
    &amp;lt;submenuselection&amp;gt;false&amp;lt;/submenuselection&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;defaultrootmenu&amp;quot;; MODE: 0 = TV (Default), 1 = Radio, 2 = Data, 3 = Movies, 4 = Root !--&amp;gt;&lt;br /&gt;
    &amp;lt;defaultrootmenu&amp;gt;0&amp;lt;/defaultrootmenu&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;defaultsubmenu&amp;quot;; 1=Services  2=Satellites 3=Providers 4=Bouquets (default) !--&amp;gt;&lt;br /&gt;
    &amp;lt;defaultsubmenu&amp;gt;4&amp;lt;/defaultsubmenu&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;pictureicon&amp;quot;; default is &#039;true&#039;, will use the Picture Icons from folder /UserData/PictureIcon/ !--&amp;gt;&lt;br /&gt;
    &amp;lt;pictureicon&amp;gt;true&amp;lt;/pictureicon&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;epgrequesttime&amp;quot;; default is &#039;10&#039;, 0-3600, defines the time in seconds between epg queries, some tuxbox&lt;br /&gt;
          devices need longer to response (Minimum: 1, Maximum: 3600) !--&amp;gt;&lt;br /&gt;
    &amp;lt;epgrequesttime&amp;gt;10&amp;lt;/epgrequesttime&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;quot;zapwaittime&amp;quot;; default is &#039;0&#039; (0 = OFF), defines the time in seconds to wait for a valid PMT after the&lt;br /&gt;
          zaping was send (Minimum: 0, Maximum: 120) !--&amp;gt;&lt;br /&gt;
    &amp;lt;zapwaittime&amp;gt;0&amp;lt;/zapwaittime&amp;gt;  &lt;br /&gt;
&amp;lt;/tuxbox&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;ftpshowcache&amp;gt; ===&lt;br /&gt;
default is false, if set to true, shows cache (X Y Z) partitions in the root directory listing&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;screensaver&amp;gt; ===&lt;br /&gt;
To avoid potential worries of plasma screen burn-in, you can set the Dim screensaver fade level to 0% here or in the Settings.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;screensaver&amp;gt;&lt;br /&gt;
  &amp;lt;dimlevel&amp;gt;0&amp;lt;/dimlevel&amp;gt;  &amp;lt;!-- This will remove the Fade Level control from the settings screen altogether --&amp;gt;&lt;br /&gt;
&amp;lt;/screensaver&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;hosts&amp;gt; ===&lt;br /&gt;
Static dns entries which take precedence over your dns server.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;fullscreen&amp;gt; ===&lt;br /&gt;
Starts XBMC in full screen (check resolutions!).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;splash&amp;gt; ===&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=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;splash&amp;gt;false&amp;lt;/splash&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;cputempcommand&amp;gt; ===&lt;br /&gt;
Provide a shell command XBMC 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=&amp;quot;xml&amp;quot; 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=&amp;quot;xml&amp;quot; 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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;gputempcommand&amp;gt; ===&lt;br /&gt;
Provide a shell command XBMC 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=&amp;quot;xml&amp;quot; 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=&amp;quot;xml&amp;quot; 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=&amp;quot;xml&amp;quot; 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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;glrectanglehack&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;alwaysontop&amp;gt; ===&lt;br /&gt;
Added in XBMC v9.11 (&#039;&#039;&#039;win32 only&#039;&#039;&#039;). Keeps XBMC always on top when windowed.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
Alternate code.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;videoscreen&amp;gt;&lt;br /&gt;
        &amp;lt;fakefullscreen&amp;gt;false&amp;lt;/fakefullscreen&amp;gt;&lt;br /&gt;
    &amp;lt;/videoscreen&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;externalplayer&amp;gt; ===&lt;br /&gt;
See the relevant [[External players]].&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;bginfoloadermaxthreads&amp;gt; ===&lt;br /&gt;
Control the number of threads in the background info loader thread pool (thumb generator, flagging, etc).  Useful for tuning platforms that are low on CPU, like Intel Atom based systems.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;bginfoloadermaxthreads&amp;gt;5&amp;lt;/bginfoloadermaxthreads&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;edl&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;myth&amp;gt; ===&lt;br /&gt;
Not seeing all the recordings you expected in the Movies folder? If so, it&#039;s very likely that the electronic program guide (EPG) used by MythTV doesn&#039;t accurately distinguish between TV Shows and Movies all the time. The following setting allows the length of the recording to also be used to determine if a recording is a Movie.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;myth&amp;gt;&lt;br /&gt;
   &amp;lt;!-- Recordings longer than this will be added to the Movies folder (minutes). 0 = off --&amp;gt;&lt;br /&gt;
  &amp;lt;movielength&amp;gt;0&amp;lt;/movielength&amp;gt;&lt;br /&gt;
&amp;lt;/myth&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;measurerefreshrate&amp;gt; ===&lt;br /&gt;
When using &amp;quot;Sync playback to display&amp;quot; on Windows, the detected refreshrate might be wrong.&lt;br /&gt;
When enabling measurerefreshrate, the refreshrate is measured instead, which makes it more accurate.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;measurerefreshrate&amp;gt;true&amp;lt;/measurerefreshrate&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;trailermatching&amp;gt; ===&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=&amp;quot;xml&amp;quot; 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;
:{{note|&#039;&#039;This Option requires SVN Version r26733 or a current GIT version.&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;musicdatabase&amp;gt;/&amp;lt;videodatabase&amp;gt; ===&lt;br /&gt;
{{see also|HOW-TO:Sync multiple libraries}}&lt;br /&gt;
Allows advanced customization of the default database settings for both music and video.&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 XBMC&#039;s path.  sqlite3 contains no filesystem abstraction, so this will plain break on any non-local (as far as XBMC is concerned) paths.  Use this for mysql only.&#039;&#039;&#039;}}&lt;br /&gt;
&#039;&#039;&#039;type&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Can be either &amp;quot;sqlite3&amp;quot; or &amp;quot;mysql&amp;quot; (default: sqlite3)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;host&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
sqlite3: defines the relative path to the database file (eg. /usr/local/xbmc/databases).&lt;br /&gt;
&lt;br /&gt;
mysql: defines the host of the mysql socket (eg. localhost, 192.168.0.1, etc)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;port&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
sqlite3: silently ignored&lt;br /&gt;
&lt;br /&gt;
mysql: defines the port of the mysql socket (default: 3306)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;name&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;Not needed by default, and some users report issues when defining the this tag. When not used &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;
&lt;br /&gt;
mysql: defines the name of the database to use&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
sqlite3: silently ignored&lt;br /&gt;
&lt;br /&gt;
mysql: defines the user with privileged access to the database&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pass&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
sqlite3: silently ignored&lt;br /&gt;
&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;
&#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 videodatabase and musicdatabase tags are interchangeable here.&#039;&#039;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;xbmc_video&amp;lt;/name&amp;gt;&lt;br /&gt;
  &amp;lt;user&amp;gt;xbmc&amp;lt;/user&amp;gt;&lt;br /&gt;
  &amp;lt;pass&amp;gt;xbmc&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 videodatabase and musicdatabase tags are interchangeable here.&#039;&#039;}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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/xbmc/databases&amp;lt;/host&amp;gt;&lt;br /&gt;
  &amp;lt;name&amp;gt;xbmc_music&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;/musicdatabase&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note| &lt;br /&gt;
* &#039;&#039; This Option requires SVN Version r28117 or current GIT revision.&#039;&#039;&lt;br /&gt;
* &#039;&#039; If you use MySQL for the music database, but are finding that it slows down your music library significantly, execute the following query to create an index on the song table.  This will significantly speed up queries using the songview views looking up by artist:&#039;&#039;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE INDEX ixSongArtist&lt;br /&gt;
    ON song(idArtist, idAlbum)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;window&amp;gt; ===&lt;br /&gt;
This allows you to manually set the default size of XBMC&#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=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;window&amp;gt;&amp;lt;width&amp;gt;WIDTH&amp;lt;/width&amp;gt;&amp;lt;height&amp;gt;HEIGHT&amp;lt;/height&amp;gt;&amp;lt;/window&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;useddsfanart&amp;gt; ===&lt;br /&gt;
This settings allows XBMC to use your GPU rendering fanart and some other images. This will make loading images considerably faster, especially on systems with slower processors (e.g. atom based systems). Do not use this option on ARM based systems (Apple TV2/iOS/RPi/many Android systems) as it is likely to degrade performance because DDS images are not supported.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;useddsfanart&amp;gt;true&amp;lt;/useddsfanart&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;allowd3d9ex&amp;gt; ===&lt;br /&gt;
Applies only to Windows Vista and up. Values: true/false. Allows xbmc to use Direct3D 9Ex, which is a bit more stable and robust than Direct3D 9.&lt;br /&gt;
&lt;br /&gt;
Default:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;allowd3d9ex&amp;gt;true&amp;lt;/allowd3d9ex&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;restrictcapsmask&amp;gt; ===&lt;br /&gt;
Windows only. A bitmask to prevent xbmc 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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;forced3d9ex&amp;gt; ===&lt;br /&gt;
Windows only: XBMC attempts to detect drivers released for a version earlier than Vista, to avoid using advanced features which are often not emulated correctly. The detection may be incorrect and this setting allows forcing the using of D3D9Ex.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;forced3d9ex&amp;gt;false&amp;lt;/forced3d9ex&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;jsonrpc&amp;gt; ===&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 XBMC 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 XBMC 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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;subsdelayrange&amp;gt; ===&lt;br /&gt;
to set subtitle delay slider to more than 10 seconds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;video&amp;gt;&lt;br /&gt;
  &amp;lt;subsdelayrange&amp;gt;30&amp;lt;/subsdelayrange&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;enablemultimediakeys&amp;gt; ===&lt;br /&gt;
This setting only has any effect on Windows versions of XBMC, 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. XBMC 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=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;algorithmdirtyregions&amp;gt; ===&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, big speed gains can be seen. Because all GPUs work differently, only Mode 3, combined with nofliptimeout=0, is guaranteed to be safe for everyone, but current timing issues with nofliptimeout keep this from being the default.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&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;
|}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;visualizedirtyregions&amp;gt; ===&lt;br /&gt;
Enable dirty-region visualization. Paints a rectangle over marked controls.&lt;br /&gt;
* true: on &lt;br /&gt;
* false: off (default)&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;
=== &amp;lt;nofliptimeout&amp;gt; ===&lt;br /&gt;
Specifies the timeout in milliseconds after which XBMC will not flip the graphics buffers anymore when nothing has been rendered, this lowers both CPU and GPU usage.&lt;br /&gt;
* -1: disabled &lt;br /&gt;
* 0 or higher: timeout in milliseconds (0 is default)&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gui&amp;gt;    &lt;br /&gt;
  &amp;lt;nofliptimeout&amp;gt;1000&amp;lt;/nofliptimeout&amp;gt;&lt;br /&gt;
&amp;lt;/gui&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;showexitbutton&amp;gt; ===&lt;br /&gt;
Setting to hide the exit button, useful for people running appliance based setup&#039;s 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=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;showexitbutton&amp;gt;false&amp;lt;/showexitbutton&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;pvr&amp;gt; ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; 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;!-- Ccorrect 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;showepginfoonselect&amp;gt;true&amp;lt;/showepginfoonselect&amp;gt;  &amp;lt;!--  When selecting an EPG fileitem, show the EPG info dialog if this setting is true. Start playback on the selected channel if false. --&amp;gt;&lt;br /&gt;
  &amp;lt;minvideocachelevel&amp;gt;5&amp;lt;/minvideocachelevel&amp;gt; &amp;lt;!-- Cache up to this level in the video buffer buffer before resuming playback if the buffers run dry. --&amp;gt;&lt;br /&gt;
  &amp;lt;maxvideocachelevel&amp;gt;10&amp;lt;/maxvideocachelevel&amp;gt; &amp;lt;!-- Cache up to this level in the audio buffer before resuming playback if the buffers run dry. --&amp;gt;&lt;br /&gt;
  &amp;lt;cacheindvdplayer&amp;gt;true&amp;lt;/cacheindvdplayer&amp;gt; &amp;lt;!-- Cache PVR stream in DVDPlayer. --&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;
[[Category:Settings]]&lt;br /&gt;
[[Category:XBMC Manual]]&lt;br /&gt;
[[Category:Advanced topics]]&lt;/div&gt;</summary>
		<author><name>Announ</name></author>
	</entry>
</feed>