Kodi Community Forum

Full Version: Change Viewmode by jsonrpc post?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

At first: Sorry i'm not a perfect english speaker, but i hope you can understand me. Smile

i have an raspberry pi, with raspbmc, and i will controll it, with my own software.
i won't use existing software, because i want to integrate it in my existing home control.

i plan to controll it by http-posts.
for example:
Play/Pause:
http://192.168.178.65:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Player.PlayPause","params":{"playerid":1},"id":1}

Everything works perfect, but how can i switch between the different view modes by an http command?
Normal, Zoom, Stretch 4:3, Wide Zoom, Stretch 16:9, Original Size, Custom....

Can you tell me an http post which can change the view mode? :-)

Thank you very much.
Regards
Stefan
Hello,

I find a solution :-)

http://192.168.178.65:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"aspectratio"},"id":1}

Regards Stefan