Kodi Community Forum
Release TV Show Next Aired (Script) Addon, now w/TheTVDB data - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release TV Show Next Aired (Script) Addon, now w/TheTVDB data (/showthread.php?tid=186090)



RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - skippr - 2022-12-20

@melons2 Don't forget to give mr.igor a thumbs up ;-) He surely earned some reputation on this one!


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - melons2 - 2022-12-20

Absolutely!


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - rafikW - 2022-12-27

(2022-05-03, 17:52)rafikW Wrote:
(2022-05-03, 06:36)melons2 Wrote: I am in the United States of A. central time zone.

Mine doesn't work either........
I get nothing.
I switched back to script.module.thetvdb-1.0.29 and it works
What was the sequence of your installations?
My initial state was:
Next Aired version 8.0.2
TVDB module 1.0.29

Then I have performed upgrades in the following order:
TVDB module 1.029 --> 1.0.32
Next Aired version 8.0.2 --> 8.0.3

and it doesn't work.
BTW. I'm running CoreELEC not LiberELEC.

Then I have restored system which contain Next Aired version 8.0.2 and TVDB module 1.0.29.
Now when I'm trying to upgrade only Next Aired to 8.0.3 it fails with error:

xml:
ERROR <general>: CAddonInstallJob[script.tv.show.next.aired]: The dependency on script.module.thetvdb version 1.0.32 could not be satisfied.

so my guessing is that 8.0.3 require The TVDB module version 1.0.32.

I think I will stay with
Next Aired version 8.0.2
TVDB module 1.0.29

as only this combination works for me.

... yeahhh... it used to work up now
Next Aired version 8.0.2
TVDB module 1.0.29

but today:
2022-12-27 21:59:40.741 T:5692  WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> 'str' object has no attribute 'get'
2022-12-27 21:59:40.742 T:5692     INFO <general>: script.module.thetvdb --> Exited

Upgraded TVDB module from 1.0.29 to 1.0.31 and... it also doesn't work:
2022-12-27 21:43:40.977 T:5149     INFO <general>: initializing python engine.
2022-12-27 21:43:41.521 T:5149     INFO <general>: script.module.thetvdb --> Initialized
2022-12-27 21:43:42.985 T:5149  WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> local variable 'local' referenced before assignment
2022-12-27 21:43:42.994 T:5149     INFO <general>: script.module.thetvdb --> Exited
2022-12-27 21:43:42.994 T:5149     INFO <general>: CPythonInvoker(17, /storage/.kodi/addons/script.tv.show.next.aired/default.py): script successfully run
2022-12-27 21:43:43.418 T:5149     INFO <general>: Python interpreter stopped

BTW. @mr.igor why you are writing about script.module.thetvdb versions 1.31 and 1.32 while it is 1.0.31 and 1.0.32. Please be accurate.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - skippr - 2022-12-30

@Gade I assume that the current Rapier skin uses trakt.tv data for TV shows airing today. Since trakt.tv crashed a few weeks ago, they still might have problems, because some currently airing shows are not displayed.

Meanwhile, when browsing inside Embuary Info, I find data from tmdb tv shows, where these shows are included. 

Do you know a way that Rapier can parse the tmdb data from Embuary Info instead?


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - melons2 - 2022-12-31

Mine has quit working also..............

TV Show Next Aired will appear but now without any shows in the calendar.
I have tried both, re-downloading show info and doing a reset from within TV Show Next Aired's settings.

I have tried every version of TV Show Next Aired and every version of thetvdb.
Only TV Show Next Aired 8.02 AND thetvdb 1.0.29 will appear on screen but again NOW empty no data.....a couple of days ago it did have shows filling in the calendar!

Any new ideas?


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - rafikW - 2022-12-31

(2022-12-31, 21:38)melons2 Wrote: Mine has quit working also..............

TV Show Next Aired will appear but now without any shows in the calendar.
I have tried both, re-downloading show info and doing a reset from within TV Show Next Aired's settings.

I have tried every version of TV Show Next Aired and every version of thetvdb.
Only TV Show Next Aired 8.02 AND thetvdb 1.0.29 will appear on screen but again NOW empty no data.....a couple of days ago it did have shows filling in the calendar!

Any new ideas?

I have checked also if thetvdb 1.0.31 would fix the issue but no avail.
On my device (Odroid-N2 with CoreELEC with Kodi 19.5) TV Show Next Aired 8.02 with thetvdb 1.0.29 doesn't open at all. I tried to clear data in TV Show Next Aired settings but the same. Nothing.
This is only what happen when I'm launching it:
2022-12-31 16:22:29.824 T:11682    INFO <general>: script.module.thetvdb --> Initialized
2022-12-31 16:22:32.434 T:11682 WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> 'str' object has no attribute 'get'
2022-12-31 16:22:32.436 T:11682    INFO <general>: script.module.thetvdb --> Exited

I think it might be because some API changes on The TVDB side :-(


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - melons2 - 2023-01-01

(2022-12-31, 22:04)rafikW Wrote:
(2022-12-31, 21:38)melons2 Wrote: Mine has quit working also..............

TV Show Next Aired will appear but now without any shows in the calendar.
I have tried both, re-downloading show info and doing a reset from within TV Show Next Aired's settings.

I have tried every version of TV Show Next Aired and every version of thetvdb.
Only TV Show Next Aired 8.02 AND thetvdb 1.0.29 will appear on screen but again NOW empty no data.....a couple of days ago it did have shows filling in the calendar!

Any new ideas?

I have checked also if thetvdb 1.0.31 would fix the issue but no avail.
On my device (Odroid-N2 with CoreELEC with Kodi 19.5) TV Show Next Aired 8.02 with thetvdb 1.0.29 doesn't open at all. I tried to clear data in TV Show Next Aired settings but the same. Nothing.
This is only what happen when I'm launching it:
2022-12-31 16:22:29.824 T:11682    INFO <general>: script.module.thetvdb --> Initialized
2022-12-31 16:22:32.434 T:11682 WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> 'str' object has no attribute 'get'
2022-12-31 16:22:32.436 T:11682    INFO <general>: script.module.thetvdb --> Exited

I think it might be because some API changes on The TVDB side :-(
"Angelinas Wrote: 
Api for tvdb is down.
Tvdb api have some issues with data and link in Json. Need to create bug report at https://github.com/thetvdb/v4-api/issues
i create some new code for tvdb module but that can't fix all issues. Data and link repeat more than one time, sometimes doesn't show at all. Need to wait tvdb to fix api.

Thanks for the update. If I understand there is nothing wrong with my Kodi install, API for tvdb is down and we need to wait until it is fixed."


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - mr.igor - 2023-01-05

@melons2 @rafikW 

Same problems here but I suspect it is because TheTVdb has turned off the legacy (v2) interface.  They have been putting up notifications about this for over a year.

Needs to be compliant with V4

I don't think there is a quick fix

8-<


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - mr.igor - 2023-01-05

@rafikW re: versions

My bad, you are absolutely right.  Cheers!


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - rafikW - 2023-01-05

so, in short: probably this is the end of "TV Show Next Aired" Kodi's add-on.
Sad.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - mr.igor - 2023-01-05

FYI re V4

https://kodi.tv/article/thetvdb/

The API works fine as the official Kodi V4 scraper from TheTVdb is functional.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Angelinas - 2023-01-05

(2023-01-05, 21:38)rafikW Wrote: so, in short: probably this is the end of "TV Show Next Aired" Kodi's add-on.
Sad.
Continue.....

With this changes, tvdb module will work....all version from script.module.thetvdb-1.0.29 - script.module.thetvdb-1.0.33
https://github.com/kodi-community-addons/script.module.thetvdb/commit/f70303e2aa00a8f1cf312076a71c346c080f9a62

Image

Image


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - mr.igor - 2023-01-05

@Angelinas 

Did a clean install of NA 8.0.3 and TVdb API 1.0.33 (uninstalled via Kodi settings, then checked filesystem that they were deleted.  Installed from zips just downloaded from github)

errors with:

2023-01-05 14:10:47.813 T:1023 WARNING <general>: script.tv.show.next.aired --> Exception in resources.lib.main_module ! --> Failed to match 'YYYY-MM-DD h:mm A ZZZ' when parsing ' 9:00 PM America/New_York'.


1.0.32 & 1.0.33 have never worked for me, only 1.0.31

I also don't see how "TheTVdb API V2" for Next Aired will work given what we know about the shutdown of the old API.  The addon has a legacy key, not a new V4 key, at least as far as I can tell.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - gemini88 - 2023-01-06

Yh it doesn't work at all @Angelinas not at this moment tried every combination + the fix from the link still nothing i guess this is it unless there's an added option to put your api v4 key which I have within the add-on settings and an update


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Angelinas - 2023-01-06

Problem was empty resultat in showdetails if use diferent scraper
example for tvshow 'Willow' scraped with TMDB ID tt7587890
 
Code:
{'id': 0, 'seriesId': '', 'seriesName': None, 'aliases': None, 'season': '', 'poster': '', 'banner': '', 'fanart': '', 'status': '', 'firstAired': '', 'network': '', 'networkId': '', 'runtime': '', 'language': '', 'genre': None, 'overview': None, 'lastUpdated': 0, 'airsDayOfWeek': '', 'airsTime': '', 'rating': None, 'imdbId': '', 'zap2itId': '', 'added': '', 'addedBy': None, 'siteRating': 0, 'siteRatingCount': 0, 'slug': ''}
example for tvshow 'Willow' scraped with TVDB ID 350665
 
Code:
{'id': 393192, 'seriesId': '', 'seriesName': 'Willow', 'aliases': [], 'season': '1', 'poster': 'v4/series/393192/posters/635f066b524a0.jpg', 'banner': 'v4/series/393192/banners/635f03845afe4.jpg', 'fanart': 'v4/series/393192/backgrounds/635f019530f0b.jpg', 'status': 'Continuing', 'firstAired': '2022-11-30', 'network': 'Disney+', 'networkId': '1306', 'runtime': '45', 'language': 'en', 'genre': ['Action', 'Adventure', 'Fantasy'], 'overview': 'Willow, the legendary sorcerer, returns in a new series set many years after the events of the original film. Willow leads a group of misfit heroes on a dangerous rescue mission through a world beyond their wildest imaginations.', 'lastUpdated': 1672945558, 'airsDayOfWeek': 'Wednesday', 'airsTime': '3:00 AM', 'rating': 'TV-14', 'imdbId': 'tt10278918', 'zap2itId': '', 'added': '2020-12-10 11:39:48', 'addedBy': 2306662, 'siteRating': 0, 'siteRatingCount': 0, 'slug': 'willow'}
Now I add condition to ignore empty showdetails in script.module.thetvdb v1.0.34
try
https://github.com/kodi-community-addons/script.module.thetvdb/archive/refs/heads/master.zip