2020-01-10, 21:22
(2020-01-10, 21:09)pulsar124 Wrote: Thanks. I was looking into core Kodi code, found these potentially interesting lines (inside xbmc/addons/kodi-addon-dev-kit/include/kodi/Filesystem.h):There are no programmatic ways of which I am aware to change Kodi's caching. My best bet is that you'd have to change a flag somewhere in the source code and compile a custom version from scratch.
typedef enum OpenFileFlags
{
...
/// use cache to access this file
READ_CACHED = 0x04,
/// open without caching. regardless to file type
READ_NO_CACHE = 0x08,
...
}
Probably totally irrelevant. Or perhaps this is something an addon can use to disable caching?
BTW, Here's every JSON call you can make to Kodi:
https://kodi.wiki/view/JSON-RPC_API/v9
And every Python call you can make:
https://codedocs.xyz/xbmc/xbmc/group__python.html