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 - Hitcher - 2020-03-25

(2020-03-25, 09:52)Marklar Wrote: It's 6.0.15, will latest version be pushed out from repo?
Just waiting for a response in the PR.

https://github.com/XBMC-Addons/script.tv.show.next.aired/pull/3#pullrequestreview-363005121


TV Show Next Aired (Script) Addon, now w/TheTVDB data - Marklar - 2020-03-27

6.0.17 crashes when it reaches "Star Trek" This is the error log

2020-03-27 09:03:59.850 T:25764 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #77526 - Star Trek
2020-03-27 09:03:59.944 T:25764 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: (22, 'Invalid argument')
Traceback (most recent call last):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\service.py", line 6, in <module>
NextAired()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 178, in __init__
self.do_background_updating()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 298, in do_background_updating
if self.update_data(update_every):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 588, in update_data
tid = self.check_show_info(tvdb, tid, current_show, prior_data)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 992, in check_show_info
dt = dt.astimezone(tz.tzlocal())
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
return f(self, dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
dt_wall = self._fromutc(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
dtoff = dt.utcoffset()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
if self._isdst(dt):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 291, in _isdst
dstval = self._naive_is_dst(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
ValueError: (22, 'Invalid argument')
-->End of Python script error report<--


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-03-27

(2020-03-27, 04:35)Marklar Wrote: 6.0.17 crashes when it reaches "Star Trek" This is the error log

2020-03-27 09:03:59.850 T:25764 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #77526 - Star Trek
2020-03-27 09:03:59.944 T:25764 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: (22, 'Invalid argument')
Traceback (most recent call last):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\service.py", line 6, in <module>
NextAired()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 178, in __init__
self.do_background_updating()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 298, in do_background_updating
if self.update_data(update_every):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 588, in update_data
tid = self.check_show_info(tvdb, tid, current_show, prior_data)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 992, in check_show_info
dt = dt.astimezone(tz.tzlocal())
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
return f(self, dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
dt_wall = self._fromutc(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
dtoff = dt.utcoffset()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
if self._isdst(dt):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 291, in _isdst
dstval = self._naive_is_dst(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
ValueError: (22, 'Invalid argument')
-->End of Python script error report<--

apparently it does not recognise pre 1970's, thats why i stuck with 6.0.15 it scans but does not update


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

(2020-03-27, 15:23)Danp Wrote:
(2020-03-27, 04:35)Marklar Wrote: 6.0.17 crashes when it reaches "Star Trek" This is the error log

2020-03-27 09:03:59.850 T:25764 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #77526 - Star Trek
2020-03-27 09:03:59.944 T:25764 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: (22, 'Invalid argument')
Traceback (most recent call last):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\service.py", line 6, in <module>
NextAired()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 178, in __init__
self.do_background_updating()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 298, in do_background_updating
if self.update_data(update_every):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 588, in update_data
tid = self.check_show_info(tvdb, tid, current_show, prior_data)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 992, in check_show_info
dt = dt.astimezone(tz.tzlocal())
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
return f(self, dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
dt_wall = self._fromutc(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
dtoff = dt.utcoffset()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
if self._isdst(dt):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 291, in _isdst
dstval = self._naive_is_dst(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
ValueError: (22, 'Invalid argument')
-->End of Python script error report<--

apparently it does not recognise pre 1970's, thats why i stuck with 6.0.15 it scans but does not update
6.0.15 doesn't crash but I get no results in the guide at all


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-03-27

(2020-03-27, 15:25)Marklar Wrote:
(2020-03-27, 15:23)Danp Wrote:
(2020-03-27, 04:35)Marklar Wrote: 6.0.17 crashes when it reaches "Star Trek" This is the error log

2020-03-27 09:03:59.850 T:25764 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #77526 - Star Trek
2020-03-27 09:03:59.944 T:25764 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: (22, 'Invalid argument')
Traceback (most recent call last):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\service.py", line 6, in <module>
NextAired()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 178, in __init__
self.do_background_updating()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 298, in do_background_updating
if self.update_data(update_every):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 588, in update_data
tid = self.check_show_info(tvdb, tid, current_show, prior_data)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 992, in check_show_info
dt = dt.astimezone(tz.tzlocal())
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
return f(self, dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
dt_wall = self._fromutc(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
dtoff = dt.utcoffset()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
if self._isdst(dt):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 291, in _isdst
dstval = self._naive_is_dst(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
ValueError: (22, 'Invalid argument')
-->End of Python script error report<--

apparently it does not recognise pre 1970's, thats why i stuck with 6.0.15 it scans but does not update 
6.0.15 doesn't crash but I get no results in the guide at all 

try putting the country.db in the nextaired appdata folder, not sure about the no results, maybe someone else can help, bit of a noob me

country.db  https://ufile.io/7oaz4tjn


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-03-27

Country.db from 6.0.15 when it did work properly


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - skippr - 2020-03-28

(2020-03-27, 15:23)Danp Wrote:
(2020-03-27, 04:35)Marklar Wrote: 6.0.17 crashes when it reaches "Star Trek" This is the error log

2020-03-27 09:03:59.850 T:25764 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #77526 - Star Trek
2020-03-27 09:03:59.944 T:25764 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: (22, 'Invalid argument')
Traceback (most recent call last):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\service.py", line 6, in <module>
NextAired()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 178, in __init__
self.do_background_updating()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 298, in do_background_updating
if self.update_data(update_every):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 588, in update_data
tid = self.check_show_info(tvdb, tid, current_show, prior_data)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 992, in check_show_info
dt = dt.astimezone(tz.tzlocal())
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 144, in fromutc
return f(self, dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 258, in fromutc
dt_wall = self._fromutc(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\_common.py", line 222, in _fromutc
dtoff = dt.utcoffset()
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 222, in utcoffset
if self._isdst(dt):
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 291, in _isdst
dstval = self._naive_is_dst(dt)
File "C:\Users\user111\AppData\Roaming\Kodi\addons\script.module.dateutil\lib\dateutil\tz\tz.py", line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
ValueError: (22, 'Invalid argument')
-->End of Python script error report<--

apparently it does not recognise pre 1970's, thats why i stuck with 6.0.15 it scans but does not update 
Suddenly I get this error too, concerning a show very much post 1970... A few days ago it was all still working, I am absolutely clueless


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Marklar - 2020-03-28

(2020-03-27, 15:47)Danp Wrote: Country.db from 6.0.15 when it did work properly
Seems to have worked. Getting update failed but I can see results of upcoming shows in guide.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - skippr - 2020-03-29

@thezoggy I understood that the addon gets the clear logo artwork directly from fanart.tv.

Does it get the air dates from thetvdb.com? Because then I would assume that my current problems are related to tvdb issues.

I tried to omit the single tv show which causes the addon to crash, by entering the tvdb id in settings, but this does not seem to have any effect.


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

One problem is pretty consistent for a week now or so:

I try to scrape airdates for tv shows. When trying to update the information some shows (and sometimes all shows) show an  

ERROR: script.tv.show.next.aired: ### ERROR returned by get_show_and_episodes(): ('The read operation timed out',) 

tvdb.com would like to help https://forums.thetvdb.com/viewtopic.php?f=118&t=63550&e=1&view=unread#unread 

But I am totally unable to answer the question which api call the add-on makes... 

Anyone?


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-04-08

For me both versions are broken.

6.0.15 scans all shows including pre 1970's, but does not update.  (i just delete nextaired.db every Sunday)

6.0.17 scans all shows except pre 1970's, and does update.

So anyone who has no pre 1970's shows are ok.


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - Hitcher - 2020-04-08

Just curious - are there any pre 1970 shows still airing?


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-04-08

Not that i know of. TVDB shows original air dates anyway


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-04-08

(2020-04-08, 20:03)Danp Wrote: Not that i know of. TVDB shows original air dates anyway

6.0.15 pulls in episode info


RE: TV Show Next Aired (Script) Addon, now w/TheTVDB data - User 448461 - 2020-04-08

oops the episode info bit is wrong, sorry


This forum uses Lukasz Tkacz MyBB addons.