2016-12-16, 07:35
(2016-11-29, 01:47)PGL2016 Wrote: Did anyone find a solution for NOT showing the menu in the background while using: 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} ??
It took a while but I found a solution. You can force Kodi back into Full Screen mode right after invoking the preview by using the following command:
http://192.168.1.9:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "GUI.SetFullscreen", "params": { "fullscreen": "toggle" }, "id": "1"}
So if you are watching a movie while the preview is called, the addon context menu is removed.