2020-06-02, 17:10
(2020-06-02, 09:19)peque Wrote:(2020-06-02, 05:05)Milhouse Wrote:(2020-06-01, 23:27)peque Wrote: Hi all,
I've done a clean install of Kodi, restoring all my userdata config BUT textures13.db and /Thumbnails directory, as they're not backed up to save time/space, and as they should be recreate with no problem.
Now I want to recreate all my artwork by doing "texturecache.py C". The thing is that fanart.tv is just letting me download a few images, and after that I get 503 errors. If I stop script and restart it again, I can download a few more... and so.
Is there any way to "slow down" download process so fanart.tv doesn't temporarily "ban" me? I've already set up only one thread for that site, so I don't know what more I can do.
Thanks a lot.
Unfortunately not - this is another of the problems when using remote content.
This is why fanart.tv requests keeps returning 503 error every now and then:
https://twitter.com/fanartdottv/status/1...6035563520
The question is: could the script be modified somehow to respect this max speed of 3 requests a second? I assumed that 1 thread max could slow down the process... but I see it's not the case. Could it just add a config option to limit requests at 1/second for example?
I see it was an error to delete all my thumbnails...
I'll have a think, but yes a 1/second limit option seems like the quickest fix. Since every artwork hosting web site is likely to impose different rate limiting rules the ideal would be for the script to be configured with those rules but that isn't likely to happen (at least, I have no intention of implementing that) as it would become a maintenance chore (as rules change etc.). Hopefully the fanart rate limit is only temporary as I imagine that's going to screw up Kodi as well.