2017-10-19, 17:04
I've checked other addons for Kodi, two things:
1. socket.setdefaulttimeout(60) - this can help when IMDB is chocked (I think that default is 10 seconds only)
2. API key for TheTVDB - this is key for app, not for user - in other addons (like tv.show.next.aired) key is one and put inside code
------
ad.1
I put this line in imdb_scraper.py, but this not resolving problem with timeout (another test gives timeout on 15% of library parsing)
1. socket.setdefaulttimeout(60) - this can help when IMDB is chocked (I think that default is 10 seconds only)
2. API key for TheTVDB - this is key for app, not for user - in other addons (like tv.show.next.aired) key is one and put inside code
------
ad.1
I put this line in imdb_scraper.py, but this not resolving problem with timeout (another test gives timeout on 15% of library parsing)