(2023-01-07, 19:44)mr.igor Wrote: @rafikW
The screen and the error are what you get if the week is configured to start on Monday.
Change the Next Aired settings to start the week on "Today"
Something is happening...
When I changed setting as you suggested and selected the option "**Reset all data** and update the TV information now" the following window appeared:
"Please wait while we refresh all data in the cache, this can take a while..."
so I'm waiting already 5 minutes... progress bar is not moving forward :-(
but in the log there are the following entries:
html:
2023-01-07 18:55:16.360 T:9229 INFO <general>: script.module.thetvdb --> Exception in get_series_data_tz {'id': 411061, 'seriesId': '', 'seriesName': 'A Thousand Fangs', 'aliases': ['A Thousand Fangs (2021)'], 'season': '1', 'poster': 'v4/series/411061/posters/61843b7c8e573.jpg', 'banner': '', 'fanart': '', 'status': 'Continuing', 'firstAired': '2021-10-28', 'network': 'HBO Max', 'networkId': '1334', 'runtime': '46', 'language': 'en', 'genre': ['Action', 'Adventure', 'Drama', 'Horror', 'Mystery', 'Thriller', 'War'], 'overview': 'The story of an elite commando on a mission, deep in the jungle, trying to find and destroy a powerful and mysterious leader.\r\n\r\n', 'lastUpdated': 1642164035, 'airsDayOfWeek': 'Thursday', 'airsTime': '3:00 AM', 'rating': None, 'imdbId': 'tt9701670', 'zap2itId': '', 'added': '2021-10-07 05:05:51', 'addedBy': 2346196, 'siteRating': 0, 'siteRatingCount': 0, 'slug': 'mil-colmillos'}-->
2023-01-07 18:55:36.523 T:9229 ERROR <general>: script.module.thetvdb --> Exception in get_data --> ReadTimeout(ReadTimeoutError("HTTPSConnectionPool(host='api.thetvdb.com', port=443): Read timed out. (read timeout=20)"))
2023-01-07 18:56:10.851 T:9229 ERROR <general>: script.module.thetvdb --> Exception in get_data --> SSLError(MaxRetryError("HTTPSConnectionPool(host='api.thetvdb.com', port=443): Max retries exceeded with url: /series/386630/images/query?keyType=poster (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))"))
2023-01-07 18:57:37.755 T:9229 INFO <general>: script.tv.show.next.aired --> Retrieving next airing episodes for all continuing Kodi tv shows...
so I'm pretty sure in couple of minutes it should be completed...
[EDIT] It works! Guys, you are the best!
Let me write down short information for other people who would like to use TV Show Next Aired Addon
1. Install TV Show Next Aired (Script) Addon version 8.0.3. I have had installed it from Marcelveldt BETA repository:
https://github.com/kodi-community-addons...arcelveldt
2. Install latest The TVDB API V2 version 1.0.34 from github:
https://github.com/kodi-community-addons...le.thetvdb
3. Open using Notepad++
/storage/.kodi/addons/script.module.thetvdb/libthetvdb.py and add the following lines:
python:
self._log_msg("Exception in get_series_data_tz %s--> " % (showdetails))
result = {}
just after the line 532 so it looks like this:
python:
def _map_series_data(self, showdetails):
self._log_msg("Exception in get_series_data_tz %s--> " % (showdetails))
result = {}
'''maps the tvdb data to more kodi compatible format'''
remember to not use TAB but spaces at the beginning of lines number 533 and 534
4. Open TV Show Next Aired Addon's settings and change the first option
"Start the TV Guide week based on Today instead of Monday" so it is set
and change "Number of next-aired days to include in the TV Guide from default 15 days to 13 - then you have all 13 days on one screen without a need to scroll down.
5. Run the last action in the settings: "**Reset all data** and update the TV information now" and be patient. Depending on number of series in your library it might takes number of minutes until it is completed.
In case you would get nothing navigate to Kodi.log and find which series cause issue. In my case it was:
html:
2023-01-07 15:36:46.421 T:32500 INFO <general>: script.module.thetvdb --> Exception in get_series_data_tz {'id': 257579, 'seriesId': '', 'seriesName': 'Magia Wielkiego Blekitu', 'aliases': [], 'season': '1', 'poster': 'posters/257579-1.jpg', 'banner': 'graphical/257579-g.jpg', 'fanart': '', 'status': 'Ended', 'firstAired': '', 'network': '', 'networkId': '', 'runtime': '1', 'language': 'en', 'genre': ['Documentary', 'Mini-Series'], 'overview': None, 'lastUpdated': 1617375008, 'airsDayOfWeek': '', 'airsTime': '', 'rating': None, 'imdbId': '', 'zap2itId': '', 'added': '2012-03-27 02:38:23', 'addedBy': 61565, 'siteRating': 9, 'siteRatingCount': 60, 'slug': 'magia-wielkiego-blekitu'}-->
2023-01-07 15:36:46.421 T:32500 WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> local variable 'local' referenced before assignment 2023-01-07 15:36:46.432 T:32500 INFO <general>: script.module.thetvdb --> Exited
Just remove this series from your library, run "clean library" action in Media-Library and repeat action 5.
Good luck.