Kodi Community Forum

Full Version: Location of file to adhere to cache
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using OpenPHT which is a fork of Kodi. There as an issue where it will only will take 100MB of lookahead cache regardless of what is set in the advancedsettings.xml AND whatever is set in the GUI interface.

How does this relate to Kodi?:

I have some development experience and downloaded the OpenPHT .git. What file in the Kodi build deals with setting the caching. Perhaps I can fix it myself by finding that file(s).

Thanks,
JOe K.
anyone?
Its a fork of plex - you might get an answer on the plex Forum from plex developers maybe?
(2017-05-23, 23:04)Memphiz Wrote: [ -> ]Its a fork of plex - you might get an answer on the plex Forum from plex developers maybe?

I posted it. I'll see if 1.8 is a fork of 16 or 17.
(2017-05-23, 23:04)Memphiz Wrote: [ -> ]Its a fork of plex - you might get an answer on the plex Forum from plex developers maybe?

I posted it. I'll see if 1.8 is a fork of 16 or 17.

I actually have some settings that work but I haven't been able to find the key one in Kodi

SmartCacheUpperLimit 21000000
BufferMode 1
CurlClientTimeout 30
ReadBufferFactor 40

There's no documentation for SmartCacheUpperLimit anywhere.
Its not a setting from kodi. We have no smart cache afaik
Buffermode and readfactor are described in the kodi.wiki
(2017-05-31, 00:08)Memphiz Wrote: [ -> ]Its not a setting from kodi. We have no smart cache afaik
Buffermode and readfactor are described in the kodi.wiki

Yeah, it's really odd. It also doesn't go in the network tag nor the cache tag. I tried the membuffersize and memorysize tags with no luck.

So to bring this back to Kodi: Any idea what file I could find this in Kodi. Where are the advanced settings looked at? Where is memorysize looked at? From there I can explore and see if I can fix this on the fork.
https://github.com/xbmc/xbmc/blob/master...s.cpp#L806

Grep for thos variables and try to follow the code flow