2019-07-19, 18:13
This code compares the cast with a resource addon and shows them in a multiimage.
Code working but...
How can i achieve that if a cast actor who has no image would be skipped?
Now i have gaps in sideshow when there is no image in resource addon.
I want only show when images there.
Please, i'm really not a xml skilled member and my native language is not english. If you have any advice maybe so thats also understandable for noobs
I just want to give my ARTWORK PROJECT more usability for general audience in skins -> kodi.tv thread
___
This is my code:
Code working but...
How can i achieve that if a cast actor who has no image would be skipped?
Now i have gaps in sideshow when there is no image in resource addon.
I want only show when images there.
Please, i'm really not a xml skilled member and my native language is not english. If you have any advice maybe so thats also understandable for noobs
I just want to give my ARTWORK PROJECT more usability for general audience in skins -> kodi.tv thread
___
This is my code:
Code:
<control type="group">
<control type="list" id="324">
<left>-3000</left>
<top>-3000</top>
<height>1</height>
<width>1</width>
<autoscroll>true</autoscroll>
<scrolltime>5000</scrolltime>
<itemlayout/>
<focusedlayout/>
<content>
<item>
<label>$INFO[Window(home).Property(cast.0)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.0))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.1)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.1))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.2)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.2))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.3)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.3))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.4)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.4))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.5)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.5))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.6)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.6))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.7)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.7))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.8)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.8))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.9)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.9))</visible>
</item>
<item>
<label>$INFO[Window(home).Property(cast.10)]</label>
<onclick>noop</onclick>
<visible>!String.IsEmpty(Window(home).Property(cast.10))</visible>
</item>
</content>
</control>
<!-- Fake multiimage control -->
<control type="image">
<left>1083</left>
<top>123</top>
<width>397</width>
<height>573</height>
<aspectratio align="center" aligny="bottom">keep</aspectratio>
<texture background="true">$INFO[Container(324).ListItem.Label,resource://resource.images.actorart/,.png]</texture>
<fadetime>1000</fadetime>
</control>
<control type="textbox">
<font>Font_plot4</font>
<align>center</align>
<left>1080</left>
<top>657</top>
<width>397</width>
<height>40</height>
<label>$INFO[Container(324).ListItem.Label]</label>
</control>
</control>