Getting the current selection
#2
ControlList.getSelectedItem() will only return items that are created from python. So it will return empty for content generated by xbmc.
If You use master You could use xbmc.getInfoLabel() and "ListItem.DbID", "ListItem.DbType" infolabels and then fetch additional info via json. Alternatively You could use other existing ListItem properties (see list here http://wiki.xbmc.org/index.php?title=InfoLabels) if they supply enough info for You
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply


Messages In This Thread
Getting the current selection - by jhsrennie - 2012-07-02, 16:53
RE: Getting the current selection - by pieh - 2012-07-03, 10:30
RE: Getting the current selection - by ronie - 2012-09-21, 20:17
RE: Getting the current selection - by ronie - 2012-09-21, 23:19
RE: Getting the current selection - by Popeye - 2012-11-27, 23:10
RE: Getting the current selection - by belese - 2013-10-10, 16:04
RE: Getting the current selection - by tim619 - 2015-11-07, 02:18
RE: Getting the current selection - by Torben - 2016-04-02, 15:14
Logout Mark Read Team Forum Stats Members Help
Getting the current selection0