2018-08-01, 14:29
(2018-07-30, 05:00)iorifly Wrote: Hello everyone!
This addon is fantastic !!! Congratulations. It works great for my ubiquiti UVC camera
Now I have a doubt. When I call the preview through this code. It exits the movie screen and goes to the addon screen and displays the preview. It would be much better if only the preview is shown. How can I improve?
curl -i -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"wait":false,"addonid":"plugin.video.surveillanceroom","params":{"action":"show_preview","camera_number":"1","id":"1"}},"id":2}' http://192.168.1.163:8080/jsonrpc
One possible solution. I'll test.
http://192.168.1.163:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "GUI.SetFullscreen", "params": { "fullscreen": "toggle" }, "id": "1"}