Problem displaying Container Position
#1
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
Reply
#2
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.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#3
afaik you can only use ListItem.* infolabels inside a list.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
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
Reply

Logout Mark Read Team Forum Stats Members Help
Problem displaying Container Position0