Solved How to skip empty items in a list
#11
Du stehst aufm Schlauch.

Try this:
Download my helper from github.

Use this content path in your fake multiimage control where you are gonna display the images
xml:
plugin://script.embuary.helper/?info=getresourceimages&addon=resource.images.actorart&id=200&reload=$INFO[Container(200).NumItems]

addon = the resource addon you want to use
id = the id of the container which the content is based on (for example a regular cast container)
reload = required to reload the container if the cast container refreshes

What does this thing do:
1. First it's going to fetch all available resource images of the targeted resource addon.
2. It crawls all available labels from the source container with id 200 (example "Paul Walker", "Eva Mendes", "Axel Schweiss", "...").
3. If "Paul Walker" is available as "Paul Walker.png" it will add it as item to the container. If not it will be skipped.

The result should look like this
Image

Edit:
It's quick'n'dirty. So I'm just guessing it should work fine.
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


Messages In This Thread
RE: How to skip empty items in a list - by sualfred - 2019-07-19, 21:08
Logout Mark Read Team Forum Stats Members Help
How to skip empty items in a list1