XBMC Advanced Settings (advancedsettings.xml)

The XBMC advanced settings file is not created by default. You must create the file manually with the name “advancedsettings” and save it as a .xml file in the following location: C:\Users\[YourUsername]\AppData\Roaming\XBMC\userdata\advancedsettings.xml

The two settings that I edited are loglevel and tvshowmatching. Loglevel was edited to help with debugging issues and tvshowingmatching was added because the default regex entries weren’t picking up all of my anime. Here are the contents of my advancedsettings.xml with comments added:

<advancedsettings>

<!-- hide="false" Displays the "Enable Debugging" setting in the GUI -->
<!-- 1 sets the loglevel to debug logging where the default (0) only logs errors -->
<loglevel hide="false">1</loglevel>

<!-- adds 3 new Regular Expressions (Regex) into XBMC to use when scanning in media -->
<!-- action="append" inserts the additional regex entries after the defaults -->
<tvshowmatching action="append">
	<regexp>[\._ \-][Ss]([0-9]+)[\.\-]?[Ee]([0-9]+)([^\\/]*)</regexp>
	<regexp>[\._ \-]\[?([0-9]+)x([0-9]+)\]?([^\\/]*)</regexp>
	<regexp>[\._ \-]([0-9]{2,3})()([\._\ \-][^\\/]*)</regexp>
</tvshowmatching>

</advancedsettings>

An entry that I found useful in the past but am not currently using is cleanonupdate; which as the name suggests, cleans the database when updating the library. By default this option is set to false.

<cleanonupdate>true</cleanonupdate>

Go to the XBMC advancedsettings.xml Wiki to read more about a plethora of additional settings that can be configured.