~/.kodi/temp cache files filling disk

It actually shouldn’t. This is an oversight. I think the problem is we currently buffer local and network streams. Try creating an advancedsettings.xml (nano ~/.kodi/userdata/advancedsettings.xml) and adding:

<?xml version="1.0" encoding="UTF-8"?>
<advancedsettings>
    <cache>
       <memorysize>0</memorysize>
       <buffermode>2</buffermode>
    </cache>
    <imageres>540</imageres>
    <fanartres>720</fanartres>
    <splash>false</splash>
    <handlemounting>0</handlemounting>
    <samba>
       <clienttimeout>30</clienttimeout>
    </samba>
    <gui>
       <algorithmdirtyregions>2</algorithmdirtyregions>
    </gui>
</advancedsettings>

Because if anything goes wrong or you reinstall OSMC, you could lose your data unless you remember where it’s stored