Kodi Community Forum

Full Version: Embuary Helper Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Thanks! It seems to work very well...

Let me say that I deeply admire your work, both in this script and in Embuary skin... Nod  Your code is top quality! You offer options not yet seen in any other skin... Keep up your good work!

Thanks indeed!
Thanks.

I'll  push it to my repo this weekend. And after some more tests with changes I'll submit it to the Kodi repo.

@"chrissix" 
I've backported everything to Krypton, too. Both versions will have the same features now. So you can use the same skin hack. I was sick of the cherry picking Wink
Thanks for this script.

Is the cast function similar to that of skin helper in showing a row of images of actors?

Found skin helper too slow loading the cast.

Will try this. Cheers
The same yes, but a lot faster because it does not cache anything and does not call themoviedb etc.
(2019-07-12, 12:31)sualfred Wrote: [ -> ]@chrissix 
I've backported everything to Krypton, too. Both versions will have the same features now. So you can use the same skin hack. I was sick of the cherry picking Wink
A big thank you @sualfred ! I hope if you come up with any improvements or changes that would be also backported to Krypton.
I tried the version of yesterday with cherrypicking, installation and first function test was successful.

If I understand correctly, then your "skin hack" solution presented today can be used exactly the same, but is a little resource-saving than previous solution yesterday?
So in the current EmbuaryHelper version, are both variants possible ("skin hack" today, cherrypicking yesterday) or just the newly introduced one of today and have kicked cherrypicking out?


I hope the function is as far possible in Krypton as in Leia.

Unfortunately, I have problems porting codes to Krypton using EmbuaryHelper written by @manfeed.
This is not due to EmbuaryHelper problem (all logs are clean) more to Krypton itself. The codes are so nested that Krypton have problems to handle that.

I know you might ask why I still use krypton ... quite simply: never change a very good running system.
There are many people who only participate in every second product or version cycle (for example, i only use straight numbered iphone versions and odd numbered kodi versions)
___
Long talk short, i'm pretty sure a lot of skinner will benefit from this and also use this! Over the years i saw several requests of reading out single data of combined InfoLabels, I'm really wondering why nothing was released over the last years.
Very good, now i can enable scrape with multiple studios again cause the studio logos resource addon will then also work, and also playing a lot around with the other avaiable resource addons making working with multiimage (genre, country, director, actor...)

Please stay tuned for your good work - really a benefit and much appreciated!
cherry picking = a wording for github when you pick a commit from one branch and apply it to another one without merging other commits

All three ways are still possible.
-> RunScript to split a value to a property of your choice (manually approach)
-> Focus monitor for the focused item (only in media windows)
-> Skin hack with the getdbid content path -> works everywhere were you can provide a dbtype and dbid and is faster than the focus monitor
Updated krypton + leia version are on my repo. Lets force users to be beta testers before it will hit the Kodi repo.
Using the jump to letter, it seems pressing # doesn't move to the beginning of list. Just stayes on current letter.

Is this the same on your end?
Works as intended. It jumps to the first or last page (depending on the sort direction)
(2019-07-12, 19:17)sualfred Wrote: [ -> ]Works as intended. It jumps to the first or last page (depending on the sort direction)

Is there any way to jump to titles beginning with numbers?

Eg.
127 Hours
2001 space oddity
Avatar
Anchorman

On my system # doesn't move anywhere in the list for some reason.

Having the # jump to the top of list would be ideal.

Cast displays much quicker many thanks for that. Smile
Numbers are always at the beginning. 
The jumptoletter container should only be displayed on containers where it's supposed to work. This has to be done by skin.
Try Embuary and you will see it will work.
Hey Fred,
recent version of Embuary Helper doesn't work on Kodi Krypton on TVOS (don't see the error on Windows). Unfortunately you can't disable debug logging here, so I'll show you a snippet first.

xml:
23:54:25.332 T:6133673984   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: dlopen(/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so, 2): no suitable image found.  Did find:
                                                /var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so: file system sandbox blocked mmap() of '/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so'
                                            Traceback (most recent call last):
                                              File "/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/addons/script.embuary.helper/service.py", line 10, in <module>
                                                from resources.lib.utils import split
                                              File "/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/addons/script.embuary.helper/resources/lib/utils.py", line 23, in <module>
                                                from resources.lib.image import *
                                              File "/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/addons/script.embuary.helper/resources/lib/image.py", line 11, in <module>
                                                from PIL import ImageFilter,Image,ImageOps
                                              File "build/bdist.macosx-10.4-x86_64/egg/PIL/Image.py", line 66, in <module>
                                              File "build/bdist.macosx-10.4-x86_64/egg/PIL/_imaging.py", line 7, in <module>
                                              File "build/bdist.macosx-10.4-x86_64/egg/PIL/_imaging.py", line 6, in __bootstrap__
                                            ImportError: dlopen(/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so, 2): no suitable image found.  Did find:
                                                /var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so: file system sandbox blocked mmap() of '/var/mobile/Containers/Data/Application/C8464086-40C6-451B-B5CC-4ECAEAE5538F/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so'
                                            -->End of Python script error report<--


Hope you have any idea about that. I reverted to Embuary Helper V1.0.6c, everything is fine there.
I hate the bitten Apple so much. There's nothin I can do. It's the PIL module on the device that is buggy.
@horstepipe 
Can you please try this one?
https://github.com/sualfred/script.embua...3475b86fa6

It should mute the error.
(2019-07-13, 07:51)sualfred Wrote: [ -> ]@horstepipe 
Can you please try this one?
https://github.com/sualfred/script.embua...3475b86fa6

It should mute the error.

Thank you very much, fixed!
If you don't mind, some questions:
So does this fix disable some feature relying on the PIL module?
Is this module directly shipped by TVOS?
I saw this error on some other addons, too (extendedinfo script if I remember correctly). Can this fix be adopted to other addons?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15