2022-07-11, 00:40
Hello @Angelinas.
I did some tests with "script.module.thetvdb" today.
Versions 30,31 and 32 cause errors in connection with "script.skin.helper.widgets".
So it is not possible to update to the newest version.
Version 29 works without errors.
I have tested with:
Here are the errors.
Version 30:
Version 31:
Version 32:
I did some tests with "script.module.thetvdb" today.
Versions 30,31 and 32 cause errors in connection with "script.skin.helper.widgets".
So it is not possible to update to the newest version.
Version 29 works without errors.
I have tested with:
Code:
plugin://script.skin.helper.widgets/?action=nextaired&mediatype=episodes&reload=$INFO[Window(Home).Property(widgetreload-episodes)]
Version 30:
Code:
2022-07-10 23:28:15.899 T:15580 WARNING <general>: script.skin.helper.widgets --> Exception details: Type: UnboundLocalError Value: local variable 'local' referenced before assignment Traceback: Traceback (most recent call last):
File "C:\TEST-KODI19\portable_data\addons\script.skin.helper.widgets\resources\lib\main.py", line 177, in show_widget_listing
all_items = getattr(media_class, action)()
File "C:\TEST-KODI19\portable_data\addons\script.skin.helper.widgets\resources\lib\episodes.py", line 246, in nextaired
episodes = self.metadatautils.thetvdb.get_kodi_unaired_episodes(True, False, tvshows_ids)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 452, in get_kodi_unaired_episodes
kodi_series = self.get_kodishows(True)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 386, in get_kodishows
tvdb_details = self._parse_kodi_show(kodi_serie)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 630, in _parse_kodi_show
tvdb_details = self.get_series(kodi_details["imdbnumber"])
File "C:\TEST-KODI19\portable_data\addons\script.module.simplecache\lib\simplecache.py", line 304, in decorated
result = func(*args, **kwargs)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 181, in get_series
return self._map_series_data(seriesinfo)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 573, in _map_series_data
local_airday, local_airday_short, airday_int = self._get_local_weekday(local.format('dddd'))
UnboundLocalError: local variable 'local' referenced before assignment
2022-07-10 23:28:15.924 T:15580 INFO <general>: script.module.thetvdb --> Exited
2022-07-10 23:28:15.924 T:15580 INFO <general>: script.module.metadatautils --> Exited
Version 31:
Code:
2022-07-10 23:15:00.133 T:5900 WARNING <general>: script.skin.helper.widgets --> Exception details: Type: UnboundLocalError Value: local variable 'local' referenced before assignment Traceback: Traceback (most recent call last):
File "C:\TEST-KODI19\portable_data\addons\script.skin.helper.widgets\resources\lib\main.py", line 177, in show_widget_listing
all_items = getattr(media_class, action)()
File "C:\TEST-KODI19\portable_data\addons\script.skin.helper.widgets\resources\lib\episodes.py", line 246, in nextaired
episodes = self.metadatautils.thetvdb.get_kodi_unaired_episodes(True, False, tvshows_ids)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 452, in get_kodi_unaired_episodes
kodi_series = self.get_kodishows(True)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 386, in get_kodishows
tvdb_details = self._parse_kodi_show(kodi_serie)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 630, in _parse_kodi_show
tvdb_details = self.get_series(kodi_details["imdbnumber"])
File "C:\TEST-KODI19\portable_data\addons\script.module.simplecache\lib\simplecache.py", line 304, in decorated
result = func(*args, **kwargs)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 181, in get_series
return self._map_series_data(seriesinfo)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 573, in _map_series_data
local_airday, local_airday_short, airday_int = self._get_local_weekday(local.format('dddd'))
UnboundLocalError: local variable 'local' referenced before assignment
2022-07-10 23:15:00.156 T:16892 WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> local variable 'local' referenced before assignment
2022-07-10 23:15:00.157 T:16892 INFO <general>: script.module.thetvdb --> Exited
Code:
2022-07-10 22:38:12.348 T:14396 INFO <general>: script.module.metadatautils --> Initialized
2022-07-10 22:38:12.357 T:14396 INFO <general>: script.module.thetvdb --> Initialized
2022-07-10 22:38:12.673 T:14396 WARNING <general>: script.skin.helper.widgets --> Exception details: Type: TypeError Value: string indices must be integers Traceback: Traceback (most recent call last):
File "C:\TEST-KODI19\portable_data\addons\script.skin.helper.widgets\resources\lib\main.py", line 177, in show_widget_listing
all_items = getattr(media_class, action)()
File "C:\TEST-KODI19\portable_data\addons\script.skin.helper.widgets\resources\lib\episodes.py", line 246, in nextaired
episodes = self.metadatautils.thetvdb.get_kodi_unaired_episodes(True, False, tvshows_ids)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 436, in get_kodi_unaired_episodes
kodi_series = self.get_kodishows(True)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 370, in get_kodishows
tvdb_details = self._parse_kodi_show(kodi_serie)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 626, in _parse_kodi_show
tvdb_details = self.get_series(kodi_details["imdbnumber"])
File "C:\TEST-KODI19\portable_data\addons\script.module.simplecache\lib\simplecache.py", line 304, in decorated
result = func(*args, **kwargs)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 165, in get_series
return self._map_series_data(seriesinfo)
File "C:\TEST-KODI19\portable_data\addons\script.module.thetvdb\lib\thetvdb.py", line 555, in _map_series_data
result["cast.%s.tvdbname" % count] = item["name"]
TypeError: string indices must be integers