(2019-07-21, 18:31)sualfred Wrote: That's because I store all folder content into a list of files that are available. If %label%.jpg is found in list of files -> add it to list.
As I said, works on Leia on my main rig. It can also be device related.
Ah i understand so a list with a few thousand resources it a bit too much *gg*
I know this addon solution isn't perfect for showing director thumbs, but i saw no other way.
Hope it another solution will implemented in kodi core like actor thumbs in future.
____
So i have now to choose the script onload solution.
working perfect in dialogvideoinfo
working also in views, but there is a little problem:
____
already tried using onnext onprevious and instead window(home) tried window(viewxmlid), but think am on the wrong way.
____
Code:
<control type="group">
<control type="list" id="456">
<left>-3000</left>
<top>-3000</top>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>10000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>
<item>
<label>$INFO[Window(home).Property(director.0)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.0))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.1)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.1))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.2)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.2))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.3)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.3))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.4)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.4))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.5)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.5))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.6)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.6))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.7)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.7))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.8)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.8))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.9)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.9))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(director.10)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(director.10))</visible>
</item>
</content>
</control>
<control type="image">
<left>1083</left>
<top>123</top>
<width>500</width>
<height>500</height>
<aspectratio align="center" aligny="bottom">keep</aspectratio>
<texture background="true">$INFO[Container(456).ListItem.Label,resource://resource.images.moviedirectorthumbs/,.jpg]</texture>
<fadetime>1000</fadetime>
</control>
</control>
____
Please forgive me my noobness, it's all mainly for the kodi community go make my artwork projects more usability in skins.