Solved how to exectue a favorite that is a script
#1
While I am aware how to execute favorites that are type "window" or "media", im not sure how to apply this to type "script"

Say a favorite listing is returned as:

{
"path": "script.audio.xxx",
"title": "xxx",
"type": "script"
}

exactly how do i go about executing this?

GUI.ActivateWindow as used with window types didnt work, makes sense as not listed as a window but rather a script...
So i dont know how this should be done any advice?

fwiw this particular item is returned with GetAddons
{
"addonid": "script.audio.xxx",
"type": "xbmc.python.script"
}

but im not sure i can make this association as im trying just to read kodi favorites and execute each as is...

Make sense?
Reply
#2
seems i could just use the ExecuteAddon method... what do ya know...
Reply

Logout Mark Read Team Forum Stats Members Help
how to exectue a favorite that is a script0