Kodi Community Forum
Release script.embuary.info - get TMDb data - the little ExtendedInfo brother - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release script.embuary.info - get TMDb data - the little ExtendedInfo brother (/showthread.php?tid=346034)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - Mr. V - 2020-07-16

(2020-07-15, 07:45)sualfred Wrote: Sure, can you raise a issue on github please? I currently have zero time for anything on the PC (I have moved and still a ton to do). Otherwise there is a high chance that I'll miss it.

Edit:
I just will add a property with the clean plot for you. Otherwise there is a high chance that people don't get the airing date/time in other skins.

Thankyou @sualfred

Added issue to git.
https://github.com/sualfred/script.embuary.info/issues/64


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - manfeed - 2020-08-16

Hi @sualfred I have decided to switch from extendedinfo script to this one in the new version of Aeon Tajo for Matrix. It works great!

Thanks for your efforts in this tool, much appreciated.


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - manfeed - 2020-09-11

I'm getting an error message in Matrix very often and Kodi closes. The log reads...

xml:
2020-09-11 22:32:27.449 T:6756    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'bytes' object has no attribute 'tzinfo'
                                                   Traceback (most recent call last):
                                                     File "C:\Matrix2\portable_data\addons\script.embuary.info\plugin.py", line 5, in <module>
                                                       from resources.lib.widgets import *
                                                     File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\widgets.py", line 11, in <module>
                                                       from resources.lib.helper import *
                                                     File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\helper.py", line 15, in <module>
                                                       import arrow
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\__init__.py", line 3, in <module>
                                                       from .api import get, now, utcnow
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\api.py", line 10, in <module>
                                                       from arrow.factory import ArrowFactory
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\factory.py", line 19, in <module>
                                                       from arrow.arrow import Arrow
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 1395, in <module>
                                                       Arrow.min = Arrow.fromdatetime(datetime.min)
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 217, in fromdatetime
                                                       if dt.tzinfo is None:
                                                   AttributeError: 'bytes' object has no attribute 'tzinfo'
                                                   -->End of Python script error report<--

Kodi is sitting idle in the home menu and the widgets are not even active. Thanks!


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - sualfred - 2020-09-19

@manfeed 

It's a known and hard bug to reproduce for the guys on our end which are possible able to solve it. It has something to do with exception namings but without being able to reproduce it 100% it's just guessing. Not everyone is facing it.

Can you try this?

Change this line of the script.module.urllib3 script
https://github.com/xbmc/repo-scripts/blob/matrix/script.module.urllib3/lib/urllib3/response.py#L55

from
Code:
except zlib.error:
to
Code:
except:



RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - manfeed - 2020-09-19

Thanks, I will try it and report back.


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - manfeed - 2020-09-19

Bad news... after the change the bug keeps appearing:

xml:

2020-09-19 17:40:03.241 T:12752   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'datetime.timedelta' object has no attribute 'tzinfo'
                                                   Traceback (most recent call last):
                                                     File "C:\Matrix2\portable_data\addons\script.embuary.info\plugin.py", line 5, in <module>
                                                       from resources.lib.widgets import *
                                                     File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\widgets.py", line 11, in <module>
                                                       from resources.lib.helper import *
                                                     File "C:\Matrix2\portable_data\addons\script.embuary.info\resources\lib\helper.py", line 15, in <module>
                                                       import arrow
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\__init__.py", line 3, in <module>
                                                       from .api import get, now, utcnow
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\api.py", line 10, in <module>
                                                       from arrow.factory import ArrowFactory
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\factory.py", line 19, in <module>
                                                       from arrow.arrow import Arrow
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 1396, in <module>
                                                       Arrow.max = Arrow.fromdatetime(datetime.max)
                                                     File "C:\Matrix2\portable_data\addons\script.module.arrow\lib\arrow\arrow.py", line 217, in fromdatetime
                                                       if dt.tzinfo is None:
                                                   AttributeError: 'datetime.timedelta' object has no attribute 'tzinfo'
                                                   -->End of Python script error report<--



RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - sualfred - 2020-09-19

Strange, all my problems were solved after changing that line. Anyway, it's not something I can fix in my script. It's a Kodi thing atm.


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - roidy - 2020-09-19

@sualfred If you get time please have a look at this:- https://github.com/sualfred/script.embuary.info/pull/62

It fixes a bug I introduced with my last pull.


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - manfeed - 2020-09-19

(2020-09-19, 17:48)sualfred Wrote: Strange, all my problems were solved after changing that line. Anyway, it's not something I can fix in my script. It's a Kodi thing atm.

Ok, thanks for looking at it anyway... I must say it's not happening all the time, today it only appeared once in a couple of hours coding and reloading my skin...


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - beatmasterrs - 2020-09-20

Hi,

is it possible to add custom onclick-actions? "Dialog.Close(all,force)" - especially in the youtube list "10054" wouldt be nice. So you could close all open dialogs like "DialoVideoInfo.xml", when playing a video.

Maybe it's not working just for me, when i add a onclick-action, i dont know.  Huh


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - sualfred - 2020-10-28

TVDB is now charging money for their API. Because of this I switched to TMDB for episode data of the Next Aired feature. Sadly the TMDB isn't as rich as TVDB so we have to expect less results. Sorry mates, but I don't wanna deal with their decision.


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - shedrock - 2020-11-14

@sualfred - I just started receiving an error this morning when I boot up my LE box.

Full log here: https://paste.kodi.tv/etaxoyedel.kodi

Thank you,

Shedrock


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - imarco - 2020-11-14

Same error too (memory leaks)


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - sualfred - 2020-11-14

Oops. 

Fixed on GitHub. PR is on the way to the repo.


RE: script.embuary.info - get TMDb data - the little ExtendedInfo brother - DiscoDuck - 2020-11-19

I get an similar error to what's posted above, using CE on a N2+.
epajesoqar.kodi (paste)