Kodi Community Forum

Full Version: Problem displaying Container Position
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to display the current focused position of a list, but i cant seem to get it to work.

In the focusedlayout part of the list i have:

<label>$INFO[Container.Position] - $INFO[ListItem.Artist] blah blah blah...

But it's not working

Thanks
Did you try putting the container id in? e.g.
Code:
$INFO[Container(50).Position]

Even if this works, I'm not really sure why you would want to do it as the numbers for each item would change as you scroll through the list. The position is relative to the actual visible list, not the number of items it contains. For example, a list that shows 6 items at once will always have position "0" for the top item and position "5" for the bottom regardless how many items are in the list.
afaik you can only use ListItem.* infolabels inside a list.
Thanks for the replys.

@jurialmunkey. It's to display recently added Music Singles.

Is there anyway to display the list position ?

Normally I've used <property name=" blah... in the items

But im loading a smart playlist directly as the contents, so can't do property name.

Thanks