Posts: 446
Joined: Dec 2009
Reputation:
2
Does this parameter work on WAN sources mounted as local folders via nfs, smb etc...? i.e. everything coming through the NIC? Or just on streams - youtube, live TV etc?
And is the 5MB max hard-coded? Is it possible to increase this in some file and recompile?
Posts: 31,445
Joined: Jan 2011
it will work on anything. it can be increased via
advancedsettings.xml (wiki)
Posts: 206
Joined: Jul 2009
Reputation:
0
So I guess basically it doesn't work for files in library at all, just for files played through addons?
Just one thought here. I don't know much about the inner workings of xbmc, but has xbmc got any clue about whether the movie files being local or networked? I mean, it sees a file in a directory. In my case it's a nfs mounted directory, but for xbmc it's just a file in a path. Just thinking maybe xbmc only use this buffer mechanism for files it actually KNOWS to be remote?
Ned got any new input on the issue?
/Daniel
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
There is a PR for some fixes in the cache handling but it doesnt look like its going to get done anytime soon.
https://github.com/xbmc/xbmc/pull/1388
Also FYI it says in advancedsettings.xml page
http://wiki.xbmc.org/index.php?title=Adv...network.3E
<cachemembuffersize>5242880</cachemembuffersize> <!-- number of bytes used for
buffering streams ahead in memory
I bolded the obvious setting comment there.
uNi
Posts: 31,445
Joined: Jan 2011
Setting to 0 will enable writing the cache to disk.
Posts: 31,445
Joined: Jan 2011
I believe there is another pull request that will go in once v12 is released that will allow local shares to be cached, and thus (if I understand correctly) also be written to disk with this 0 option.