Location of file to adhere to cache
#1
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.
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Reply
#2
anyone?
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Reply
#3
Its a fork of plex - you might get an answer on the plex Forum from plex developers maybe?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
(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.
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Reply
#5
(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.
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Reply
#6
Its not a setting from kodi. We have no smart cache afaik
Buffermode and readfactor are described in the kodi.wiki
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#7
(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.
Frodo Win 8 Pro x64
Fractal Design Node 605 (looks amazing)
i5 3570K, Asus P8Z77V LK
2x80GB Intel 320 SSD, 4TB NAS
GTX 670x2 SLI, 16GB GSkill Ares
Onkyo RC360 with Paradigm piece-by-piece 5.1 build
Nyxboard and AHK full controlled via XBox Controller
Reply
#8
https://github.com/xbmc/xbmc/blob/master...s.cpp#L806

Grep for thos variables and try to follow the code flow
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Location of file to adhere to cache0