2013-02-13, 23:50
Good news, my Context Item Addon PR is now nearly ready, so I tried it on your Cinema Experience script and it was very easy to get to work
just add:
to your addon.xml and:
to your strings.xml and you're ready to go
One minor bug thought, if you choose "Enjoy the Cinema Experience" via Context menu and navigate up or down quickly, it plays the wrong Movie at the end In order to fix that, just check if "sys.item" is set (will be set when starting via context menu) and use that info. Couldn't find where the magic happens, so I leave that up to you
just add:
Code:
<extension point="xbmc.context" label="32931" library="addon.py" visible="Container.Content(movies)"> </extension>
Code:
<!-- Context Menu label -->
<string id="32931">Enjoy the Cinema Experience</string>
One minor bug thought, if you choose "Enjoy the Cinema Experience" via Context menu and navigate up or down quickly, it plays the wrong Movie at the end In order to fix that, just check if "sys.item" is set (will be set when starting via context menu) and use that info. Couldn't find where the magic happens, so I leave that up to you