2016-08-22, 04:43
(2016-07-31, 21:34)Smoofus Wrote:(2016-07-30, 02:52)joshhartley Wrote:Quote:Unfortunately I do not see any repsonses to questions that people ask. Today I managed to call the pluging in Kodi using JSON.
Just to help maybe other people around. 192.168.1.1 is the Kodi machine that responds to these requests.
(source: https://github.com/maikito26/plugin.vide...llanceroom)
Showing a single preview window
- XBMC.RunPlugin(plugin://plugin.video.surveillanceroom?action=show_preview&camera_number=1)
http://192.168.1.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"show_preview","camera_number":"1","id":"1"}},"id":2}
This brings up the preview which is great! But it also brings up the context menu with it which is a pain in the @$$ if you are trying to watch a movie.
Anyway to stop this happening?
I'm also searching for a workaround to suppress the context menu when triggering the preview from the api. It's soooo close to being amazing but this one issue kinda spoils it.
I too am in search of a workaround for suppressing the context menu, Anyone find a solution for this issue by chance?