Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Kodi (Xbmc) - Improve Fast-forward Preview

I downloaded and installed Kodi yesterday and was pleased with how polished and well it also works on both android (Nexus 10) and my Ubuntu desktop.

However, if one fast-forwards for more than a few seconds, one may notice that the preview becomes "jerky", and one cannot accurately decide when to stop. This is probably because Kodi defaults to a very small cache size for tiny computers.

Running the following command in Linux will:

  • cache in RAM rather than disk.
  • increase the cache size to 50 MiB
  • increase network utilization/speed for downloading content into the cache.
echo "<advancedsettings>
  <network>
    <buffermode>1</buffermode>
    <cachemembuffersize>52428800</cachemembuffersize>
    <readbufferfactor>10</readbufferfactor>
  </network>
</advancedsettings>" | tee $HOME/.kodi/userdata/advancedsettings.xml

Warning: Xbmc will actually use 3 times the cache size in RAM, so don't increase the number to something extremely large.

Windows and Other Users

User's who aren't using linux just need to create the text file called advancedsettings.xml with the following content:

<advancedsettings>
  <network>
    <buffermode>1</buffermode>
    <cachemembuffersize>52428800</cachemembuffersize>
    <readbufferfactor>10</readbufferfactor>
  </network>
</advancedsettings>

And place it in the relevant directory.

  • Android - Android/data/org.xbmc.kodi/files/.kodi/userdata/
  • iOS - /private/var/mobile/Library/Preferences/kodi/userdata/
  • Mac OS X - /Users/<your_user_name>/Library/Application Support/kodi/userdata/
  • OpenELEC - /storage/.kodi/userdata/
  • Windows - %APPDATA%\kodi\userdata

References

Last updated: 28th July 2023
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch