Solved Is there a way to show different images in an <itemlayout...> list?
#1
I ask if it exists an infolabel or something similar that can show the position number in an itemlayout, different from $INFO[Container(id).Position] that only shows the number of the item currently in focus.

This is to allow having different images in a list (itemlayout) so that you can create the Netflix effect of the top of the moment lists.
or even not so clean methods, somehow did anyone manage to show different images in an <itemlayout> list?

Image

Can the numbers next to the movies be made somehow?

Something like:

xml:
<itemlayout...>
.
.
<control type="image">
    <left>200</left>
    <top>0</top>
    <width>250</width>
    <height>300</height>
    <texture>number/$INFO[ListItem.Position].png</texture>
    <visible>String.IsEqual(ListItem.Position,1)</visible>
</control>
.
</itemlayout...>


Any help is greatly appreciated. 
   Imgur: La magia di Internet
If i helped you, you can thank me with a thumbs up 👍 below, thanks 🙏.
Kodi stable release | Skin Estuary (by phil65)
I like editing skins ❤
Reply
#2
Code:
ListItem.CurrentItem

Code:
<control type="image">
  <left>200</left>
  <top>0</top>
  <width>250</width>
  <height>300</height>
  <texture>$INFO[ListItem.CurrentItem,number/,.png]</texture>
</control>
Reply
#3
(2024-12-03, 18:19)roidy Wrote:
Code:
ListItem.CurrentItem

Thank you so much, you managed to get where even Chat gpt couldn't help me, by inventing infolabels like this: $INFO[ListItem.Position]
I couldn't figure it out by myself and honestly I thought it couldn't be done.

I searched a lot in the forum and in the wiki, but no post helped me.
Before asking for help I always search a lot and make many attempts, but sometimes I get lost even for small things.
I hope this thread will be helpful to someone.


Thanks so much @roidy. +1


Cheers
If i helped you, you can thank me with a thumbs up 👍 below, thanks 🙏.
Kodi stable release | Skin Estuary (by phil65)
I like editing skins ❤
Reply

Logout Mark Read Team Forum Stats Members Help
Is there a way to show different images in an <itemlayout...> list?0