2015-10-17, 09:23
Hopefully this is the correct forum.
If I send multiple sequential API requests to scrape new content metadata there is a race condition whereby Kodi will return "OK" to every request but only actually scrape when the scraper is idle. This results in only a random selection of content being scraped.
Obviously I just need to delay sequential scrapes until the scraper is clear but I cannot find it documented anywhere the correct method to do this is.
Can anyone point me in the right direction?
If I send multiple sequential API requests to scrape new content metadata there is a race condition whereby Kodi will return "OK" to every request but only actually scrape when the scraper is idle. This results in only a random selection of content being scraped.
Obviously I just need to delay sequential scrapes until the scraper is clear but I cannot find it documented anywhere the correct method to do this is.
Can anyone point me in the right direction?