2011-04-20, 16:09
How do I add items to the list in program page from python? I've written my own plugin to populate the screen with items and the titles all show up in the list but when I click on them nothing happen.
Example of actions (url) for my items:
ActivateWindow(10024,"plugin://plugin.video.youtube/")
RunScript("script.forum.browser")
I've also tried to send the actions as an argument back to my script and launch them with the xbmc.executebuiltin command, but no succes, no error, nothing happens and I know from debugging that it runs the function/command.
Ex, this is the commands executed.
xbmc.executebuiltin('XBMC.ActivateWindow(10024,"plugin://plugin.video.youtube/")')
xbmc.executebuiltin('XBMC.RunScript("script.forum.browser")')
Anone? After several hours trying to find a solution I'm not far from giving up this idea about writing my own plugins for xbmc
Example of actions (url) for my items:
ActivateWindow(10024,"plugin://plugin.video.youtube/")
RunScript("script.forum.browser")
I've also tried to send the actions as an argument back to my script and launch them with the xbmc.executebuiltin command, but no succes, no error, nothing happens and I know from debugging that it runs the function/command.
Ex, this is the commands executed.
xbmc.executebuiltin('XBMC.ActivateWindow(10024,"plugin://plugin.video.youtube/")')
xbmc.executebuiltin('XBMC.RunScript("script.forum.browser")')
Anone? After several hours trying to find a solution I'm not far from giving up this idea about writing my own plugins for xbmc