• 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 76
Release TV Show Next Aired (Script) Addon, now w/TheTVDB data
(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...-363005121
Reply
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<--
Reply
(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
Reply
(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
Reply
(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
Reply
Country.db from 6.0.15 when it did work properly
Reply
(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
Romanes eunt domus
Reply
(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.
Reply
@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.
Romanes eunt domus
Reply
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...ead#unread 

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

Anyone?
Romanes eunt domus
Reply
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.
Reply
Just curious - are there any pre 1970 shows still airing?
Reply
Not that i know of. TVDB shows original air dates anyway
Reply
(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
Reply
oops the episode info bit is wrong, sorry
Reply
  • 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 76

Logout Mark Read Team Forum Stats Members Help
TV Show Next Aired (Script) Addon, now w/TheTVDB data8
This forum uses Lukasz Tkacz MyBB addons.