2012-07-03, 10:30
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
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