Location of file to adhere to cache - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: VideoPlayer Development (https://forum.kodi.tv/forumdisplay.php?fid=240) +---- Thread: Location of file to adhere to cache (/showthread.php?tid=314806) |
Location of file to adhere to cache - tjcinnamon - 2017-05-22 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. RE: Location of file to adhere to cache - tjcinnamon - 2017-05-23 anyone? RE: Location of file to adhere to cache - Memphiz - 2017-05-23 Its a fork of plex - you might get an answer on the plex Forum from plex developers maybe? RE: Location of file to adhere to cache - tjcinnamon - 2017-05-30 (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. RE: Location of file to adhere to cache - tjcinnamon - 2017-05-30 (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. Location of file to adhere to cache - Memphiz - 2017-05-31 Its not a setting from kodi. We have no smart cache afaik Buffermode and readfactor are described in the kodi.wiki RE: Location of file to adhere to cache - tjcinnamon - 2017-05-31 (2017-05-31, 00:08)Memphiz Wrote: Its not a setting from kodi. We have no smart cache afaik 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. Location of file to adhere to cache - Memphiz - 2017-06-01 https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp#L806 Grep for thos variables and try to follow the code flow |