@
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)...
- Shows 'ended' but have correct 'AIRS' data on TVDB (these shows work with the backend):
- Shows 'ended' and do NOT have any 'AIRS' data on TVDB (these shows break the backend):
- 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