2013-09-06, 22:13
Call Advanced Launcher via JSON
To launch Advanced Launcher :
To open a category directory :
To launch a stand-alone launcher or open a file launcher directory
To launch a file launcher item
Where CATEGORY_ID, LAUNCHER_ID, ITEM_ID are respectively the category, launcher and item ID. These is ID can be found into xbmc/userdata/favourites.xml file or xbmc/userdata/addon_data/plugin.program.advanced.launcher/launchers.xml file.
It could also be possible to use this command with the item search engine feature : http://www.gwenael.org/forum/viewtopic.p...2128#p2128
So basically Advanced Launcher is able to start any application on your HTPC system. Advanced Launcher could be called by external remote control using JSON... So... any applications on your system could be called by external remote control through Advanced Launcher!!!!
Source : http://www.gwenael.org/forum/viewtopic.p...2375#p2375
To launch Advanced Launcher :
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc
To open a category directory :
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher?CATEGORY_ID" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc
To launch a stand-alone launcher or open a file launcher directory
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher?CATEGORY_ID/LAUNCHER_ID" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc
To launch a file launcher item
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher?CATEGORY_ID/LAUNCHER_ID/ITEM_ID" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc
Where CATEGORY_ID, LAUNCHER_ID, ITEM_ID are respectively the category, launcher and item ID. These is ID can be found into xbmc/userdata/favourites.xml file or xbmc/userdata/addon_data/plugin.program.advanced.launcher/launchers.xml file.
It could also be possible to use this command with the item search engine feature : http://www.gwenael.org/forum/viewtopic.p...2128#p2128
So basically Advanced Launcher is able to start any application on your HTPC system. Advanced Launcher could be called by external remote control using JSON... So... any applications on your system could be called by external remote control through Advanced Launcher!!!!
Source : http://www.gwenael.org/forum/viewtopic.p...2375#p2375