phil65/script.extendedinfo

TV Shows scraped by the TMDB TV Show scraper throw an error

Opened this issue · 0 comments

This error is present with OpenInfo Version 6.2.4 running in Kodi 18.8 (Windows & LibreELEC)
All TV Shows scraped with the TMDB TV Show scraper throw an index error:

2020-09-26 20:18:52.643 T:2064 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\KodiPortable18\Kodi\portable_data\addons\script.extendedinfo\script.py", line 32, in
Main()
File "C:\KodiPortable18\Kodi\portable_data\addons\script.extendedinfo\script.py", line 11, in init
process.start_info_actions(self.infos, self.params)
File "C:\KodiPortable18\Kodi\portable_data\addons\script.extendedinfo\resources\lib\process.py", line 172, in start_info_actions
wm.open_tvshow_info(tmdb_id=params.get('id'), tvdb_id=params.get('tvdb_id'), dbid=params.get('dbid'), imdb_id=params.get('imdb_id'), name=params.get('name'))
File "C:\KodiPortable18\Kodi\portable_data\addons\script.extendedinfo\resources\lib\WindowManager.py", line 65, in open_tvshow_info
tmdb_id = get_show_tmdb_id(tvdb_id)
File "C:\KodiPortable18\Kodi\portable_data\addons\script.extendedinfo\resources\lib\TheMovieDB.py", line 403, in get_show_tmdb_id
return response['tv_results'][0]['id']
IndexError: list index out of range
-->End of Python script error report<--

All TV Shows scraped with the TVDB TV Show scraper display the extended info screen correctly.