Controlling video settings via JSON-RPC
#1
Hello,

I am trying to automatically shift the image down to put the black bars into the masked area of my screen. I thought I could do it with the JSON-RPC interface but it seems this function is not implemented.

I played around some with the JSON-RPC interface but could not get the video functions like "Zoom" to work for video, it seems it is not supported:
{"jsonrpc":"2.0","method":"Player.Zoom","params":{"playerid":1,"zoom":2},"id":1}
Result:
{"error":{"code":-32100,"message":"Failed to execute method."},"id":1,"jsonrpc":"2.0"}

{"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["canzoom","canmove"]},"id":1}
Result:
{"id":1,"jsonrpc":"2.0","result":{"canmove":false,"canzoom":false}}

For the "Vertical shift" setting I cannot find any corresponding method in the API documentation.

--> Have I missed some function or is this not implemented yet?
--> Does anyone have any idea how to get this to work? My next step would be trying to build my own addon.

Thank you very much for any input.
Reply
#2
Any news about this? I'd like to control pixel ratio and enable non-linear stretch with a macro. Are there json-rpc functions for this or is sending keystrokes the only option?
Reply
#3
Incoming 15477 (PR)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
Thank you so much for your work Memphiz and DaveTBlake. I really appreciate your effort and I'm looking forward to 18.1/18.2!
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Controlling video settings via JSON-RPC00