Solved How to skip empty items in a list
#16
Ups, forgot to change this line for Krypton. Try again
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
#17
(2019-07-19, 21:52)sualfred Wrote: Ups, forgot to change this line for Krypton. Try again
nice, install is fine! Now i need to find out how to use the code.
I hope with this option i can also show a textbox label switching with the images like the other previous solutions.
Reply
#18
That's all you need (example):

xml:


<control type="list" id="123">
<height>100</height>
<width>100</width>
<autoscroll>true</autoscroll>
<scrolltime>5000</scrolltime>
<itemlayout/>
<focusedlayout height="100" width="100">
<control type="image">
<texture>$INFO[ListItem.Icon]</texture>
</control>
</focusedcontrol>
<content>plugin://script.embuary.helper/?info=getresourceimages&addon=resource.images.actorart&string='$ESCINFO[ListItem.Cast]'</content>
</control>

Or example 2:
xml:


<control type="list" id="123">
<left>3000</left>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>5000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>plugin://script.embuary.helper/?info=getresourceimages&addon=resource.images.actorart&string='$ESCINFO[ListItem.Cast]'</content>
</control>

<!-- Fake multiimage control -->
<control type="image">
<width>300</width>
<height>300</height>
<aspectratio>keep</aspectratio>
<texture background="true">$INFO[Container(123).ListItem.Icon]</texture>
</control>

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
#19
(2019-07-19, 22:09)sualfred Wrote: That's all you need (example):

oh maaaaan, it's really working!!!  Cool first time i ever see it's functional as intended!
That's really the last, really the last: Is there any chance to switch also textlabels "synchron" with it?
Countryname, Actressname, Directorname...Huh

EDIT: Thaaaaaaaaanks!!!!!

@manfeed @latts9923 @Captain_Pike its working!!!
Reply
#20
Update from github again and use:

ListItem.Label 

or with the example 2 from above:

Container(123).ListItem.Label

Edit:
ListItem.Label = Paul Walker
ListItem.Icon = resource://resource.images.actorart/Paul Walker.png
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
#21
(2019-07-19, 22:23)sualfred Wrote: Update from github again and use:
It's perfect man! It's perfect! Now i can accomplish my artwork projects! Great thanks!
I will test the function extensively and push to it's limits!
I will test everything after the series whether resource and label matching works also there same fine as with cast (director, studio, genre, country....)

Really Great! A lot to do now in the skin!
Reply
#22
Just 16 lines of Python code to make you happy. Have fun Wink

@manfeed 

fyi, you can get rid of your skin hacks.

https://github.com/sualfred/script.embua...-by-string
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
#23
(2019-07-19, 22:40)sualfred Wrote: fyi, you can get rid of your skin hacks.
FYI, the third solution described here "skin hack" is crashing every textures/images on all my systems and their skins.
But now a much elegant solution is here  Smile
Will test out a lot and report when i mention something!
Reply
#24
oh man, it's also working with standard String.IsEmpty in visible tags, i can use fallback stuff - nice!
only workaround to find how to animate label textbox change.
Reply
#25
(2019-07-19, 22:40)sualfred Wrote: Just 16 lines of Python code to make you happy. Have fun Wink

@manfeed 

fyi, you can get rid of your skin hacks.

https://github.com/sualfred/script.embua...-by-string
Thanks! I'll try it, since it seems a much better option... Nod

Thanks also for all the new options in Embuary Helper... much appreciated!
If I have helped you or increased your knowledge, please click the 'thumbs up' button to give thanks :)
Reply

Logout Mark Read Team Forum Stats Members Help
How to skip empty items in a list1