Kodi Community Forum
JSON-RPC API Play a movie on external display - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: JSON-RPC API Play a movie on external display (/showthread.php?tid=340200)



JSON-RPC API Play a movie on external display - tony762 - 2019-02-03

Hello,
    is there a way to play a movie on external display?
With:
Code:
{"jsonrpc":"2.0","method": "Player.Open", "params": {"item":{"file":"/home/video/movie.mkv"}},"id":1}
i can play a movie on internal monitor, but I can't find a way to tell kodi to open movie on external display.   
Code:
{"jsonrpc":"2.0","method": "Player.GetPlayers","id":1}
give me a name of display but if i send it with first command, move will play on internal display.