Kodi advanced settings stored in
advancedsettings.xml can be used to tweak various settings that cannot be edited through the GUI. Advanced settings, as the name suggests, are “advanced” and hence most users do not have to set them. Some examples of Kodi or XBMC advancedsettings.xml include MySQL library, episode naming patterns, special behaviors, and more. We have shown how to install XBMC or Kodi on Ubuntu, Windows, and Amazon FireTV. We have even shown how to install OpenELEC on Raspberry Pi, which is one the Kodi media center OS options. Now let us see how to take your Kodi entertainment center to the next level by tweaking some of the Kodi advanced settings. [Read: Raspberry Pi vs Amazon Fire TV for Kodi media center]
Why do I need to set Kodi Advanced Settings?
There are multiple reasons to to have advanced settings XML file for XBMC or Kodi. Below are the reasons why I use it:
- Disable logging
- Tweak for low power devices
- Move library to MySQL
- Set Kodi or XBMC cache settings
- Tweaking video library scanning and operation
- Personalize playback controls
Kodi advancedsettings.xml Location
XBMC or Kodi advancedsettings.xml file location depends on the operating system. The screenshot below shows the folders in which advanced settings XML file is saved. Note that advancedsettings.xml file does not exist by default. It has to be created by the user in the
Now let us look at the five groups of Kodi advanced settings I always have in my Kodi installations. Note that the content between
advancedsettings.xml or left (it’s your choice). For further explanation on what a specific advanced setting does, refer to the advancedsettings.xml Wiki entry.
1. General Settings
-1 <!-- Disables logging --> 95 0 <!-- For low CPU device use 16 or higher --> true
Just a general group of settings disable logs, set minimum percent for play count, etc.
skiploopfilter is a setting that enables skipping unwanted frames and improves performance in low resource devices. [Read: 10 of the Best XBMC Addons in 2014]
2. MySQL Library Settings
I have 4 Kodi installations in my home that share the same video library. To storing the video library on MySQL server allows me to sync library status, watched status, etc. between all the devices. I can pause on one Kodi box and resume on another.
mysql 192.168.1.100 <!-- IP Address of MySQL Server --> 3306 xbmc <!-- MySQL Username --> xbmc <!-- MySQL Password -->
You can do the same thing if you share a MySQL Music library. [Read: How to Listen to Google Music on XBMC?]
3. Streaming Optimizations
This is one of my favorite Kodi advanced settings for streaming content stored on network storage. I have written in detail about how to fix Kodi buffering issues. And these settings allow me to do just that.
1 <!-- Default is 1 --> 52428800 <!-- Default is 20971520 bytes or 20 MB --> 2.0 <!-- Default is 1.0 -->
Note that you may have to tweak the settings to fit your needs and hardware capabilities. [Read: 8 Raspberry Pi OpenELEC tweaks to do after installation]
4. Video Library Tweaks
I like to clean video library during update, import watched status from
.nfo files while importing Kodi library from previous exports, hide All Items from video library, and hide empty TV series. The settings below do just that.
true <!-- Also clean library during library update --> true true <!-- removes the "*All" items from the video library --> true <!-- hide empty series in the video library --> true <!-- Silently ignore errors while scanning videos. -->
ignoreerrors setting ignores any errors encountered during video library scanning. Set to true to silently ignore errors while scanning videos. This prevents the error dialogue box, so you don’t have to keep hitting “yes” to keep scanning.
5. Playback Tweaks
And setting for Kodi advancedsettings.xml file is to tweak controls during video playback. During playback when you hit the left or right direction on remote or keyboard, the video skips a few seconds forward or backward (sort of quick rewind). The default skip length is 30s. I like it a bit shorter. That is what the
timeseekbackward settings do. [Read: 15 XBMC keyboard shortcuts you should know]
<video width="300" height="150"> <timeseekforward>15</timeseekforward> <!-- Skip back time 15 s --> <timeseekbackward>-15</timeseekbackward> <!-- Skip forward time 15 s --> <subsdelayrange>240</subsdelayrange> <!-- Subtitle offset adjustment range --> </video>
And finally, the
subsdelayrange sets the maximum offset limit for subtitles that are out of sync with the audio. If you have a subtitle file that is very out of sync with audio having a larger number here can help. [Read: A simple yet awesome IR Raspberry Pi remote control for $5]
Review my advancedsettings.xml gist repository to take full look at my Kodi advanced settings. Note that all these settings must be enclosed within
advancedsettings tags. Copy these advanced settings XBMC or Kodi tweaks to a file and save it as
advancedsettings.xml in Kodi’s
userdata folder. Restart your media center for the Kodi advanced settings to take effect and enjoy the new tweaks it brings in.