• 1
  • 24
  • 25
  • 26
  • 27
  • 28(current)
Release script.embuary.helper - a skin helper service / widgets alternative
delete
Reply
I am looking for a way to create a continue watching widget similar to plex continue watching. Plex combined continue watching with next up. Is there no way this can be done with Embuary?
Reply
@sualfred

I asked this same question in skin thread for AH2

When creating widgets using Embuary Helper addon do you know what the text string is to change the widget label so it's not "Suggestions based on watched movie" but instead how it appears in Embuary Helper addon "Because you watched <insert name of movie>"
Reply
I am having an issue that is small but it's bugging me. When using the next up widget for TV shows in Nexus, for some reason the hdr type media flag does not display. All other media flags display. I did not have this issue in Matrix.
Reply
I'm presuming since nobody else has said anything here that this is a particular Python error in pil, but I suspect that it might also be quicker/better troubleshot here, too?
The 'continue watching' bit of the script isn't currently working for me, and log shows the following python complaints:
bash:
2023-03-31 09:56:27.160 T:4296    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'ImportError'>
                                                   Error Contents: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
                                                   Traceback (most recent call last):
                                                     File "/home/james/.kodi/addons/script.embuary.helper/service.py", line 6, in <module>
                                                       from resources.lib.service_monitor import *
                                                     File "/home/james/.kodi/addons/script.embuary.helper/resources/lib/service_monitor.py", line 12, in <module>
                                                       from resources.lib.utils import split
                                                     File "/home/james/.kodi/addons/script.embuary.helper/resources/lib/utils.py", line 20, in <module>
                                                       from resources.lib.image import *
                                                     File "/home/james/.kodi/addons/script.embuary.helper/resources/lib/image.py", line 12, in <module>
                                                       from PIL import ImageFilter,Image,ImageOps,ImageEnhance
                                                     File "/usr/lib/python3/dist-packages/PIL/Image.py", line 103, in <module>
                                                       from . import _imaging as core
                                                   ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
                                                   -->End of Python script error report<--
Reply
(2023-03-31, 13:16)TheJezstarr Wrote: I'm presuming since nobody else has said anything here that this is a particular Python error in pil, but I suspect that it might also be quicker/better troubleshot here, too?
The 'continue watching' bit of the script isn't currently working for me, and log shows the following python complaints:
bash:
2023-03-31 09:56:27.160 T:4296    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'ImportError'>
                                                   Error Contents: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
                                                   Traceback (most recent call last):
                                                     File "/home/james/.kodi/addons/script.embuary.helper/service.py", line 6, in <module>
                                                       from resources.lib.service_monitor import *
                                                     File "/home/james/.kodi/addons/script.embuary.helper/resources/lib/service_monitor.py", line 12, in <module>
                                                       from resources.lib.utils import split
                                                     File "/home/james/.kodi/addons/script.embuary.helper/resources/lib/utils.py", line 20, in <module>
                                                       from resources.lib.image import *
                                                     File "/home/james/.kodi/addons/script.embuary.helper/resources/lib/image.py", line 12, in <module>
                                                       from PIL import ImageFilter,Image,ImageOps,ImageEnhance
                                                     File "/usr/lib/python3/dist-packages/PIL/Image.py", line 103, in <module>
                                                       from . import _imaging as core
                                                   ImportError: cannot import name '_imaging' from 'PIL' (/usr/lib/python3/dist-packages/PIL/__init__.py)
                                                   -->End of Python script error report<--

I would just switch to skin helper service widgets if I were you. This addon appears to have been abandoned.
Reply
Just FYI
with some NIX (eg Libreelec 12 beta) system "Pillow" is update to 10.0.0

So this addon need to be update because some "Constants" are removed with Pillow 10.0.0
source : https://pillow.readthedocs.io/en/stable/...#constants

This fix some issue in some case :

search and replace "Image.ANTIALIAS" by "Image.LANCZOS" in
...\addons\script.embuary.helper\resources\lib\image.py

This seems too simple but this works well for me.
If this can help someone...
Reply
  • 1
  • 24
  • 25
  • 26
  • 27
  • 28(current)

Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3