Win How do i know cache has been increased?
#16
(2012-07-02, 12:32)tank_top Wrote:
Code:
<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
<gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
</gui>
<network>
  <autodetectpingtime>30</autodetectpingtime>  <!-- Length in seconds between pinging the network to detect new devices -->
  <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
  <curllowspeedtime>5</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed -->
  <httpproxyusername></httpproxyusername>  <!-- username for Basic Proxy Authentication -->
  <httpproxypassword></httpproxypassword>  <!-- password for Basic Proxy Authentication -->
  <cachemembuffersize> 10485760</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
</advancedsettings>

(2012-07-02, 19:50)koomak Wrote: Thanks tank-top for reply;
I changed as u posted
tries the same stream as u can see in my pastebin log
but same story after buffering about 15 MB this time start running and buffer again

I don't know how picky the XML reader for advancedsettings.xml is, but try removing the space before the buffer size declaration. Like so:

Code:
<advancedsettings>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
<gui>    
   <algorithmdirtyregions>1</algorithmdirtyregions>
   <nofliptimeout>1000</nofliptimeout>
</gui>
<network>
  <autodetectpingtime>30</autodetectpingtime>  <!-- Length in seconds between pinging the network to detect new devices -->
  <curlclienttimeout>10</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
  <curllowspeedtime>5</curllowspeedtime>  <!-- Time in seconds for libcurl to consider a connection lowspeed -->
  <httpproxyusername></httpproxyusername>  <!-- username for Basic Proxy Authentication -->
  <httpproxypassword></httpproxypassword>  <!-- password for Basic Proxy Authentication -->
  <cachemembuffersize>10485760</cachemembuffersize>  <!-- number of bytes used for buffering streams ahead in memory
    XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM -->
</network>
</advancedsettings>
Reply
#17
I tested without and without the leading space on he buffer amount and it appeared to not matter.
Reply
#18
For me it seemed that for smb shares the xml file did not affect the actual cache size but using ftp or webdav the cache size was affected.
Reply
#19
Im not sure why were recommending such a low (10meg??) cache to resolve this issue. I tried it myself at 10megs and it seemed to buffer less then when I didn't have anything in advancedsettings.xml. My system has 4 gigs installed ram with 3gigs available in windows so I decided to do a 512meg buffer which when set is actually 512x3=1.5gigs total xbmc buffer leaving 1.5 free for windows. Finally resolved the cache is full message on slow streams. Here is my xml file.

<advancedsettings>
<network>
<cachemembuffersize>536870912</cachemembuffersize>
</network>
</advancedsettings>
Reply

Logout Mark Read Team Forum Stats Members Help
How do i know cache has been increased?1