2013-12-12, 07:06
I want to make an addon that allows me to select a video and perform an operation on it before watching (if I choose this option from the context menu). Is it possible? How would I go about it?
listitem.addContextMenuItems([('Label', 'XBMC.RunScript(blah)'])
<control type="button" id="1001">
<onclick>RunScript(script.name, dosomething)</onclick>
<label lang="en">Do something</label>
<visible>System.HasAddon(script.name)</visible>
</control>