2019-11-22, 12:32
(2019-11-21, 15:10)utiac Wrote:Applied the above temporary fix which works fine for Kodi 18.5 Leia with Rapier skin and tv,show,next aired 6.0.15(2019-11-21, 13:29)alphaomega16 Wrote: Keep getting this message
ERROR returned by get_show_and_episodes(): "There is no item named 'en.xml' in the archive" in the log after checking when getting fetch failure.
I installed latest build as after moving a tv show from one hard drive to another it wouldnt find it anymore and still wont but i am running the new one in portable mode but next aired works fine on my very old build and that seems to pick it up fine but old one still cannot find "House" the doctor show.
Changes to thetvdb.com API have caused this. Instead of building a zip file containing en.xml, banners.xml and actors.xml, the zip file contains en.zip.xml, banners.xml and actors.xml. A simple but (I susoect temporary) fix if you are using version 6.0.15 is to edit kodi/addons/script.tv.show.next.aired/resources/lib/thetvdbapi.py and replace the single instance of:
zip_name = '%s.xml' % self.language
with:
zip_name = '%s.zip.xml' % self.language
It updates and scrapes my whole library which is huge.... EXCEPT,,, when the following show is part of that library
Baby (2018) thetvdb # 351911
then tv,show,next aired crashes with the following error code
2019-11-22 09:50:01.688 T:14076 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #351911 - Baby
2019-11-22 09:50:02.782 T:14076 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'year'
Traceback (most recent call last):
File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 1553, in <module>
NextAired()
File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 172, in __init__
self.show_gui()
File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 1270, in show_gui
self.update_data(update_after)
File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 599, in update_data
tid = self.check_show_info(tvdb, tid, current_show, prior_data)
File "C:\Users\Brian\AppData\Roaming\Kodi\addons\script.tv.show.next.aired\default.py", line 962, in check_show_info
current_show['Premiered'] = first_aired.year
AttributeError: 'NoneType' object has no attribute 'year'
-->End of Python script error report<--
if I remove the show all is well.
All my media follows the same exact naming conventions.
Any ideas? Could the information for this show at thetvdb cause this?