<advancedsettings>
  <videodatabase>
    <type>mysql</type>
    <host>192.168.10.10</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
  </videodatabase> 
  <musicdatabase>
    <type>mysql</type>
    <host>192.168.10.10</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
  </musicdatabase>
  <videolibrary>
    <cleanonupdate>true</cleanonupdate> <!-- Also clean library during library update -->
    <importwatchedstate>true</importwatchedstate>
    <hideallitems>true</hideallitems> <!-- removes the "*All" items from the video library -->
    <hideemptyseries>true</hideemptyseries>  <!-- hide empty series in the video library -->
    <importresumepoint>true</importresumepoint>
    <recentlyaddeditems>50</recentlyaddeditems> <!-- number of recently added items. Defaults to 25 -->
  </videolibrary>
  <videoscanner>
	<ignoreerrors>true</ignoreerrors> <!-- Silently ignore errors while scanning videos. -->
  </videoscanner>
  <loglevel hide="true">-1</loglevel> <!-- Disables logging -->
  <network>
      <cachemembuffersize>52428800</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory 
	   Kodi will not buffer ahead more than this. WARNING: for the bytes set here, Kodi will consume 3x the amount of RAM
	   When set to 0 the cache will be written to disk instead of RAM, as of v12 Frodo. Default is 20971520 bytes or 20 MB-->
	  <buffermode>1</buffermode>  <!-- Choose what to buffer:
		0) Buffer all internet filesystems (like "2" but additionally also ftp, webdav, etc.) (default)
		1) Buffer all filesystems (including local)
		2) Only buffer true internet filesystems (streams) (http, etc.)
		3) No buffer -->
	  <readbufferfactor>2.0</readbufferfactor> <!-- this factor determines the max readrate in terms of readbufferfactor * avg bitrate of a video file. 
		This can help on bad connections to keep the cache filled. It will also greatly speed up buffering. Default value 1.0. -->
</network>
</advancedsettings>