Getting the current selection
#6
(2012-09-21, 16:31)jhsrennie Wrote: I found the following works:

Code:
import xbmc

path = xbmc.getInfoLabel('ListItem.FileNameAndPath')
xbmc.executebuiltin('Notification(Item, ' + path + ', 2)')

JR

That works to get the path so thanks for that. To take it a step further, is there a way to do something similar where I can get the ListItem object itself so I can then manipulate it?
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 LehighBri - 2012-09-21, 17:21
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
This forum uses Lukasz Tkacz MyBB addons.