Solved How to getSelectedPosition() but not absolute ?
#1
ListItems have getSelectedPosition() that returns item index (absolute position) and one can use SetFocus(id, position, absolute)
How to obtain selected item visable postiion that is int index of visable items so one can pass it to SetFocus(id, position) ?
Reply
#2
there isn't a python function to retrieve the relative position afaik.
perhaps you can use the skinning infolabel instead ?
python:
xbmc.getInfoLabel('Container(id).Position')
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
#3
(2018-09-05, 09:03)ronie Wrote: there isn't a python function to retrieve the relative position afaik.
perhaps you can use the skinning infolabel instead ?
python:
xbmc.getInfoLabel('Container(id).Position')
 Yes, this solved the issue ! Thanks a lot
Reply

Logout Mark Read Team Forum Stats Members Help
How to getSelectedPosition() but not absolute ?0