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 - sualfred - 2020-11-19

That's not caused by this script. You ran out of memory for whatever reasons.


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

(2020-11-19, 19:04)sualfred Wrote: That's not caused by this script. You ran out of memory for whatever reasons.

Ok, when I disable the New movies coming soon & Now playing in theaters widgets in Embuary it goes away.


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

Try to delete the simplecache.db in \userdata\addon_data\script.module.simplecache
Maybe it is corrupted somehow


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

(2020-11-19, 19:42)sualfred Wrote: Try to delete the simplecache.db in \userdata\addon_data\script.module.simplecache
Maybe it is corrupted somehow
I stopped Kodi, removed simplecache.db, started Kodi, enabled the 2 disabled widgets.
Stopped a playback after ~5 minutes and it occured again, New movies coming soon widget is no longer displayed on the Home screen.
https://paste.kodi.tv/huveqabihe.kodi


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

Can you please provide a full log?
This is not caused by my script. Your memory is somehow full and this is causing the exception.

Edit:
Please also provide your simplecache.db just to be sure. Just upload it to a hoster by your choice.


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

(2020-11-19, 20:03)sualfred Wrote: Can you please provide a full log?
This is not caused by my script. Your memory is somehow full and this is causing the exception.

Edit:
Please also provide your simplecache.db just to be sure. Just upload it to a hoster by your choice.
Full log here
https://paste.kodi.tv/pozirelaro


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

The simplecache.db please. Wanna check if I can reproduce it here with your cached data. But to be honest, I have no idea. I'm not familiar with CE anyway.


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

(2020-11-19, 22:10)sualfred Wrote: The simplecache.db please. Wanna check if I can reproduce it here with your cached data. But to be honest, I have no idea. I'm not familiar with CE anyway.

Thanks for taking the time, here a link to the file. Can't PM yet.
http://filesharing24.com/d/FeX


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

How big is your library?


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

(2020-11-20, 07:06)sualfred Wrote: How big is your library?
It's fairly large, +30k episodes


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

I'm fetching all movies + tvshows (no episodes) with some required data to compare them against the TMDB data and if the item is available in your database. Once this is fetched, it is cached to avoid speed penalties for further requests. It seems that CE or the N2 has problems with this huge amount of your end. 

I cannot reproduce it with your data on my Windows dev machine. I'll think about a solution, but cannot promise anything. Maybe everything gets solved once you are on Matrix (Python3).

Edit:
In the meantime you can disable caching in the script.embuary.info settings. But this will increase loading times.


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

@DiscoDuck 

I have an idea. I will create a custom version of script.module.simplecache and script.embuary.info on this weekend. But you have to be the crash test dummy, because I cannot reproduce it. I'll ping you once I'm done.


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

(2020-11-20, 09:03)sualfred Wrote: @DiscoDuck 

I have an idea. I will create a custom version of script.module.simplecache and script.embuary.info on this weekend. But you have to be the crash test dummy, because I cannot reproduce it. I'll ping you once I'm done.
Happy to test it out.
Disabled the info script caching as you advised, tbh can't say I experience any speed penalty - it seems to be working fine (after 10 minutes of testing...)
If needed, my setup is:
N2+ CE and Embuary. Emby 4.1.22 in Native mode to my Emby server


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

@DiscoDuck 
Please replace script.module.simplecache with this test version https://github.com/sualfred/script.module.simplecache and delete your simplecache.db again. 

This version forces a JSON loads/dumps for the DB. I wonder if this kills your Memory Error exception. Report back.

Edit:
Don't forget to enable caching again.


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

(2020-11-21, 09:23)sualfred Wrote: @DiscoDuck 
Please replace script.module.simplecache with this test version https://github.com/sualfred/script.module.simplecache and delete your simplecache.db again. 

This version forces a JSON loads/dumps for the DB. I wonder if this kills your Memory Error exception. Report back.

Edit:
Don't forget to enable caching again.
CE is still on Kodi 18.9 so it throws a dependency error for python3.