title: Controlling Kodi from Browser
body: <p>I am currently building a media website using node js. <br>I would like to be able to control <strong>Kodi</strong>, which is installed of the server computer, remotely from the website browser.<br>How would I go about doing this? My first idea was </p>
  
  <ul>
  <li><p>to simply see if I could somehow pipe the entire Kodi GUI into the
  browser such that the full program stays on the server</p></li>
  <li><p>and just the GUI is piped to the browser, sending commands back to
  the server;</p></li>
  </ul>
  
  <p>however, I could find little documentation on how to do that.</p>
  
  <p>Second, I thought of making a script (eg Python) that would be able to control <strong>Kodi</strong> and just interface node <code>js</code> with the Python script, but again, </p>
  
  <p>I could find little documentation on that.</p>
  
  <p><br> Any help would be much appreciated. 
  Thank You!</p>