Kodi Community Forum

Full Version: Can we show ID of currently focused item?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way for XBMC to return info (ID) about currently focussed item? was thinking about mapping it to a key, as debugging="true" gets in the way sometimes.
Is System.CurrentControl what you want?
Doesn't System.CurrentControl do that? But that could also be the control's label value, I'm not sure.
System.CurrentControl returns the label, not the id. To get the id of the current focused label, you have to write a small python script. But I don't know if you can map a script to a button.
Yup, Black is right, System.CurrentControl returns the label.

I thought it would be convenient to get ID when needed, just like we show DebugGrid from time to time, not always. With debugging=true one need to restart XBMC.