• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 15
Release Embuary Helper Script
#31
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!
If I have helped you or increased your knowledge, please click the 'thumbs up' button to give thanks :)
Reply
#32
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
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#33
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
Reply
#34
The same yes, but a lot faster because it does not cache anything and does not call themoviedb etc.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#35
(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!
Reply
#36
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
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#37
Updated krypton + leia version are on my repo. Lets force users to be beta testers before it will hit the Kodi repo.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#38
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?
Reply
#39
Works as intended. It jumps to the first or last page (depending on the sort direction)
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#40
(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
Reply
#41
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.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#42
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.
Reply
#43
I hate the bitten Apple so much. There's nothin I can do. It's the PIL module on the device that is buggy.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#44
@horstepipe 
Can you please try this one?
https://github.com/sualfred/script.embua...3475b86fa6

It should mute the error.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#45
(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?
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 15

Logout Mark Read Team Forum Stats Members Help
Embuary Helper Script3