Kodi Community Forum

Full Version: How to change the zero cache location kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I watch a lot of live online streams using kodi running on raspbian (raspberry pi 2B)
I had changed advacnedsettings.xml to cache 50mb in RAM which seemed to make a noticeable difference. However as my internet is slow i wanted more cache, however i didn't want to use zero cache option to reduce the lifespan of my SD card.
Therefore I used a USB here is how I did it and the issues I ran into.

1.) pick the fastest usb you can (make sure its cheap as its lifespan will be reduced using zero cache from what i understand)
1.5) you may need to format the usb stick first (its easy just google)
2.) find usb stick name using

sudo fdisk -l

it will look something like /dev/sda2 (this is what is was in my case)
3.) edit /etc/fstab to mount the usb stick automatically add this line to the bottom of the file.

/dev/sda2 /home/pi/USB vfat rw,exec,user,auto,dev,suid,async,umask=000 0 0

The first thing is the name found in the previous step, the second part is the mount point of the usb, the third part is the usb format leave the rest the same!!!!!!!!!

Next you need to change ~/.kodi/userdata/advancedsettings.xml to this:

<?xml version="1.0" encoding="utf-8"?>

Now just reboot and you're all done!
Sorry i don't know how to use the code segment things I'm new to forums. If someone wants to edit this to make it looks nice please do.
Thread moved to OS independent