2015-01-25, 01:19
Open up an addon from another addon..
I would like to launch another add-on like Youtube from my add-on...
How is this done?
I would like to launch another add-on like Youtube from my add-on...
How is this done?
(2015-01-25, 01:19)aarronlee Wrote: Open up an addon from another addon..
I would like to launch another add-on like Youtube from my add-on...
How is this done?
RunScript(script[,args]*)
def xbmc.executebuiltin ( function )
executebuiltin(function)--Execute a built in XBMC function.
function : string - builtin function to execute.
List of functions - http://wiki.xbmc.org/?title=List_of_Built_In_Functions
example:
- xbmc.executebuiltin('XBMC.RunXBE(c:\avalaunch.xbe)')
xbmc.executebuiltin('XBMC.RunScript('ADDON_PATH + '/default.py)')
xbmc.executebuiltin('XBMC.RunAddon(plugin.video.youtube)')
xbmc.executebuiltin('PlayMedia(plugin://plugin.video.youtube/?action=play_video&videoid=SOME_VIDEO_ID)')
xbmc.executebuiltin('RunPlugin(plugin://plugin.video.youtube/THE_REST_OF_THE_URL)')
xbmc.executebuiltin('RunAddon(plugin.video.youtube)')