FTP Timed out - advancedsettings.xml file present!
#1
Hi everyone!

I got my local FTP server timed out (trying to load a directory with over 8500 items).

I have a advancedsettings.xml with settings into it but it seem to be not recognized.

Code:


<advancedsettings>
<network>
  <curlclienttimeout>86400</curlclienttimeout>  <!-- Timeout in seconds for libcurl (http/ftp) connections -->
</network>

<cache>
  <memorysize>0</memorysize>  <!-- number of bytes used for buffering streams in memory
    When set to 0 the cache will be written to disk instead of RAM -->
  <buffermode>3</buffermode>  <!-- Choose what to buffer:
     0) Buffer all internet filesystems (like "2" but additionally also ftp, webdav, etc.) (default)
     1) Buffer all filesystems (including local)
     2) Only buffer true internet filesystems (streams) (http, etc.)
     3) No buffer -->
  <readfactor>4.0</readfactor> <!-- this factor determines the max readrate in terms of readfactor * avg bitrate of a video file.
This can help on bad connections to keep the cache filled. It will also greatly speed up buffering. Default value 4.0. -->
</cache>
</advancedsettings>


How to get rid of the time out? 86400 seconds its a entire day, Kodi attempt to load it for about only 15 seconds.

Thanks,

Guillaume
Reply
#2
can have some help please?
Reply
#3
Code:
xbmc/settings/AdvancedSettings.cpp:    XMLUtils::GetInt(pElement, "curlclienttimeout", m_curlconnecttimeout, 1, 1000);

Timeout is between 1 second and 1000 seconds, post your Debug Log, please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
Please look at the last line, I've just trying to list the directory.

https://paste.kodi.tv/akilerufax.kodi

Thanks,

Guillaume
Reply
#5
1.) Starting Kodi from Debian (17.6 Debian package version: 2:17.6+dfsg1-1ubuntu1)
this build is unsupported here, please try with our PPAs (see my signature)
2.) not a Debug Log
Reply

Logout Mark Read Team Forum Stats Members Help
FTP Timed out - advancedsettings.xml file present!0