v18 library updates - partial by source / remote / skip none reachable device
#1
Hi,

I have 2 devices each defined as their own video sources in Kodi 18.
However, one device is not running 24/7, so when I start a library update, it takes forever because it waits for the timeout per file. In the debug log this is 3.1 seconds per file. Since the library is larger this takes a long time.
Why doesn't Kodi notice that the IP of the device is unreachable and skips all files to this source/device without a new request?

I am looking for a simple way to update only the source of the active device directly.

You can do a remotely library update see here https://kodi.wiki/view/HOW-TO:Remotely_update_library .
But this is only a library update over all sources. Can this be done via the API also for source A or source B?

Any other suggestions?
Reply
#2
(2022-06-22, 18:06)mstep Wrote: Why doesn't Kodi notice that the IP of the device is unreachable and skips all files to this source/device without a new request?

It's not about IP addresses, but it's about the file protocol you use.

You can try to add the following to your advancedsettings.xml file:
<samba>
<clienttimeout>5</clienttimeout> <!-- timeout (in seconds) -->
</samba>
or
<network>
<curlclienttimeout>10</curlclienttimeout> <!-- Timeout in seconds for libcurl (http/ftp) connections -->
<nfstimeout>5</nfstimeout> <!-- Added in v19- Timeout in seconds for NFS access, 0 = wait forever (previous behaviour) default is 5s -->
</network>
Got a Kodi problem? Provide a full Debug log (wiki) | Usefull pages: First time user (wiki) | Troubleshooting (wiki) | Free content (wiki) | Forum rules (wiki) | VPN policy (wiki)
Reply



Logout Mark Read Team Forum Stats Members Help
library updates - partial by source / remote / skip none reachable device0
This forum uses Lukasz Tkacz MyBB addons.