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 - susobaco - 2023-03-09

The link does not work, please, could you provide one? thanks


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - susobaco - 2023-03-09

(2023-01-26, 20:37)rafi1 Wrote:
Quote: 
->   https://iwf1.com/kodi/script.tv.show.next.aired

The link does not work, please, could you provide one? thanks


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

@Angelinas for some reason particular shows don't come up in tvshow next aired for example "the neighborhood" but all the other shows in my library do can't figure out why only that show doesn't have any next aired info and the others do


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

Probably you scan that tvshow with TMDB scraper...and id is from TMDB
Need to rescrape with TVDB to change his id to tvdb id

Image


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

In my case for The Mandalorian season 3 there are no next airing dates presented.
All other series are successfully "detected"
I have only one scraper for TV series: TMDb TV Shows


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - perspicacia - 2023-03-26

I have recently updated to Kodi Matrix on my Minix U9, but I keep getting a TV Show Next Aired error (see log).

Can anyone help identify the problem and maybe suggest a fix?

Here is the kodi.log uwicudawur.kodi (paste)


TV Show Next Aired (Script) Addon, now w/TheTVDB data - DarrenHill - 2023-03-26

@perspicacia - you should know the forum rules (wiki) by now about support for devices containing banned addons (wiki) and repos, namely that there isn't any...

The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - perspicacia - 2023-03-27

(2023-03-26, 22:47)DarrenHill Wrote: @perspicacia - you should know the forum rules (wiki) by now about support for devices containing banned addons (wiki) and repos, namely that there isn't any...

The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.
Sorry about that. Never had problem before, so made me go and check and I found a couple of repos I did not recognise. Anyway nixed them. 

Regarding the issue don't worry, decided to buy a new box and do fresh install with CoreELEC


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Estevez99 - 2023-03-30

@Angelinas
I have recently returned to the TV Next Aired addon after buying a new mini-PC for use as a Kodi HTPC. I have managed to get the addon working with the recent info on this thread about the addon and thetvdb version to use (running a clean Kodi 19.5.) So first off, thank you so much for keeping this addon going and supporting the community as it is a great (and invaluable) addition to Kodi!

The TV guide page is working really nicely (though I cannot use the 'Yesterday' function as this results in a blank TV guide).

However, I have a problem whilst viewing my TV shows when running the backend script in MyVideoNav.xml (viewing my TV library in any view mode.) As I skip through my TV shows, I will arrive at a show which is currently airing and the next aired pop-up graphic/info will appear. So far, so good. Eventually though, I will arrive at a show which will result in the next aired addon exiting - no verbose error, it just stops showing any next aired info. The only way to get the info to show again is to exit and then re-enter the TV view (which triggers the addon script again via MyVideoNav.)

This has been an issue as long as I can remember, so I decided to do a bit of testing by identifying several example 'bad' shows which repeatedly cause this issue. **For background, I scrape all of my TV shows in Ember MM (inc. full tvdb/imdb ID entries) and add my TV library using 'Local Information Only' in Kodi. I'd also like to point out that this has taken me a long time to test and dig down into what might be the cause - I'm no coder, so my experience is based on trial and error and comparing results.

I checked the debug log when I skipped onto a 'bad' show - the addon exits in the main module due to the 'airdate' (the only relevant output is: Exception in resources.lib.main_module ! --> 'airdate')

So the first conclusion assumption I arrived at is that all 'bad' shows that cause this issue have all 'ended' on the TVDB and have no airdate. Therefore, I played around in my local tvshow.nfos, removing the 'status' entry, changing IDs, etc, etc and tried altering/removing/substituting almost everything in a few examples. All of this tweaking made no difference when removing/cleaning/re-adding the problem shows to my library. BUT! I think that tinkering helped narrow down the possible reasons why...

This led me to check some of the problem TV shows on the TVDB website itself, I noticed that even though most of these shows have indeed ended, some of them still work with the addon, because they have a valid 'AIRS' entry (this contains a day and time the show usually airs). It seems that any show that does not have a valid 'AIRS' entry on the TVDB will kill the addon backend when viewed/accessed.

Here are a few example shows (tested in my setup)...    
  • There are other cases which can also break the addon - because the show has an odd 'AIRS' entry. This is likely due to bad/unexpected data...

In summary, if you can spare the time, do you think you could look into how the airdate is being handled in the addon to cater for these issues?? It would be nice if the addon could ignore the empty/bad 'AIRS' entries - this would also mean shows/placeholders without TVDB IDs would not break the addon.
Any help/fixes would be appreciated!

Thanks,
Estevez99


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

(2023-03-30, 05:19)Estevez99 Wrote: I checked the debug log when I skipped onto a 'bad' show - the addon exits in the main module due to the 'airdate' (the only relevant output is: Exception in resources.lib.main_module ! --> 'airdate')
I reproduce this isue...it will be fixed on github..
(2023-03-24, 20:19)rafikW Wrote: In my case for The Mandalorian season 3 there are no next airing dates presented.
All other series are successfully "detected"
I have only one scraper for TV series: TMDb TV Shows
I was try to use TMDB for tvshow "the mandalorian"
And have almost all wrong info
Image

TMDB ID 82856  https://www.themoviedb.org/tv/82856-the-mandalorian
TVDB ID  82856 https://thetvdb.com/series/ninja-nonsense
with cleanning simplecache.db. and rescrape with tvdb (new) have total different info,
Image


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

(2023-04-01, 15:07)Angelinas Wrote: I was try to use TMDB for tvshow "the mandalorian"
And have almost all wrong info

I have looked and I also have the wrong data, 
"script.module.thetvdb" uses the "uniqueid" it should use column C10 from the video database where all id's are stored.
Then the correct result should also appear when using TMDB.

Example: "The Mandalorian":

Image

Image


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Estevez99 - 2023-04-03

Tested the latest (8.0.4) from github and the backend works as expected. Thanks for the quick fix @Angelinas!

However, in this new update the TV Guide does not work on both my Kodi HTPC (addon exits on: Exception in resources.lib.main_module ! --> cannot import name 'Actor' from 'xbmc' (unknown location). I'm not sure whether this is a new issue for everyone or because I'm running a slightly older setup (Windows 10 / Kodi 19.5).

So I rolled back to 8.0.3 and applied your fix by simply commenting out these 3 lines in main_module.py. Now both the TV Guide and the backend work.


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

xml:
2023-04-04 10:08:43.460 T:19464    info <general>: script.tv.show.next.aired --> TV Show - Next Aired version 8.0.3 stopped
2023-04-04 10:08:44.019 T:20386    info <general>: CAddonMgr::FindAddon: script.tv.show.next.aired v8.0.4 installed
2023-04-04 10:08:44.618 T:20539    info <general>: script.tv.show.next.aired --> TV Show - Next Aired version 8.0.4 started
2023-04-04 10:08:45.404 T:20547    info <general>: script.module.thetvdb --> Initialized
2023-04-04 10:08:45.421 T:20547    info <general>: script.tv.show.next.aired --> Updating TheTVDB info for all continuing Kodi tv shows...
2023-04-04 10:08:47.390 T:20547    info <general>: script.tv.show.next.aired --> Retrieving next airing episodes for all continuing Kodi tv shows...
2023-04-04 10:08:51.908 T:20547    info <general>: script.tv.show.next.aired --> Update complete
2023-04-04 10:08:51.910 T:20547    info <general>: script.module.thetvdb --> Exited
2023-04-04 10:09:00.340 T:20640    info <general>: script.module.thetvdb --> Initialized
2023-04-04 10:09:02.911 T:4398     info <general>: Loading skin file: /storage/.kodi/addons/script.tv.show.next.aired/resources/skins/Default/1080i/script-NextAired-TVGuide3.xml, load type: LOAD_ON_GUI_INIT
2023-04-04 10:09:03.079 T:20640   error <general>: EXCEPTION: The parameter "genre" must be either a Tuple or a List.
2023-04-04 10:09:03.095 T:20640   error <general>: EXCEPTION: The parameter "directors" must be either a Tuple or a List.
2023-04-04 10:09:03.095 T:20640   error <general>: EXCEPTION: The parameter "studios" must be either a Tuple or a List.
2023-04-04 10:09:03.096 T:20640   error <general>: EXCEPTION: The parameter "writers" must be either a Tuple or a List.
2023-04-04 10:09:03.129 T:20640   error <general>: EXCEPTION: The parameter "genre" must be either a Tuple or a List.
2023-04-04 10:09:03.130 T:20640   error <general>: EXCEPTION: The parameter "directors" must be either a Tuple or a List.
2023-04-04 10:09:03.130 T:20640   error <general>: EXCEPTION: The parameter "studios" must be either a Tuple or a List.
2023-04-04 10:09:03.130 T:20640   error <general>: EXCEPTION: The parameter "writers" must be either a Tuple or a List.
2023-04-04 10:09:03.132 T:20640   error <general>: EXCEPTION: The parameter "genre" must be either a Tuple or a List.
2023-04-04 10:09:03.132 T:20640   error <general>: EXCEPTION: The parameter "directors" must be either a Tuple or a List.
2023-04-04 10:09:03.132 T:20640   error <general>: EXCEPTION: The parameter "studios" must be either a Tuple or a List.
2023-04-04 10:09:03.132 T:20640   error <general>: EXCEPTION: The parameter "writers" must be either a Tuple or a List.
2023-04-04 10:09:03.162 T:20640   error <general>: EXCEPTION: The parameter "genre" must be either a Tuple or a List.
2023-04-04 10:09:03.163 T:20640   error <general>: EXCEPTION: The parameter "directors" must be either a Tuple or a List.
2023-04-04 10:09:03.163 T:20640   error <general>: EXCEPTION: The parameter "studios" must be either a Tuple or a List.
2023-04-04 10:09:03.163 T:20640   error <general>: EXCEPTION: The parameter "writers" must be either a Tuple or a List.
2023-04-04 10:09:24.186 T:20640    info <general>: script.module.thetvdb --> Exited
Update from 8.0.3 to 8.0.4
Seems to be working but these lines:
EXCEPTION: The parameter "xxxxxxxxxxxxx" must be either a Tuple or a List.
are the new ones.

And still The Mandalorian series is not "detected"


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

(2023-04-03, 22:42)Estevez99 Wrote: Tested the latest (8.0.4) from github and the backend works as expected. Thanks for the quick fix @Angelinas!

However, in this new update the TV Guide does not work on both my Kodi HTPC (addon exits on: Exception in resources.lib.main_module ! --> cannot import name 'Actor' from 'xbmc' (unknown location). I'm not sure whether this is a new issue for everyone or because I'm running a slightly older setup (Windows 10 / Kodi 19.5).

So I rolled back to 8.0.3 and applied your fix by simply commenting out these 3 lines in main_module.py. Now both the TV Guide and the backend work.
..and still if I check "include Yesterday" it doesn't work even after this change


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

AAngelinas - forgive me for beating a dead horse, was there ever a fix for this to work with MQ 9 on Nexus or Omega?


This forum uses Lukasz Tkacz MyBB addons.