[RELEASE] Texture Cache Maintenance utility
(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. Smile

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. Sad   

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... Sad 
Ok. I know nothing about python, but I managed to find the place to add a "time.sleep(1)" and thus control download speed... BUT, I've tested some sleep values, and all of them end with a "ban" from fanart.tv. If I cancel script execution and restart it, it works again for some downloads, so I assume I should find a way to close and open the thread every few seconds... or... uglyer but also possible, I should find a way to automate that script "cancel/restart"...
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
RE: [RELEASE] Texture Cache Maintenance utility - by peque - 2020-06-02, 12:10
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17