python - Controlling Kodi from Browser
问题描述
I am currently building a media website using node js.
I would like to be able to control Kodi, which is installed of the server computer, remotely from the website browser.
How would I go about doing this? My first idea was
to simply see if I could somehow pipe the entire Kodi GUI into the browser such that the full program stays on the server
and just the GUI is piped to the browser, sending commands back to the server;
however, I could find little documentation on how to do that.
Second, I thought of making a script (eg Python) that would be able to control Kodi and just interface node js
with the Python script, but again,
I could find little documentation on that.
Any help would be much appreciated.
Thank You!
解决方案
你不能去设置->服务->控制,然后是“通过http远程控制”设置吗?我用它从我的浏览器登录到我的本地 IP 例如 192.168.1.150:8080 (您可以在此页面上设置端口),我可以从那里做任何事情
推荐阅读
- c# - WPF 程序拒绝 DllImport
- javascript - Show submenu on different div on hover
- angular - PDF 未在 Ionic 3 中呈现
- javascript - 检查画布表格中的单元格颜色
- vb.net - VB.NET AddHandler 用于以编程方式创建的对象
- c# - 如何在c#中调用图像变量到另一个调用
- ssl - 用于加密的端口列表
- javascript - 使用 gatsby-plugin-netlify 从 Netlify 重定向到自定义域?
- amazon-ec2 - 在 aws EC2 linux ami 上集群 ejabberd
- gluon - 无法构建 iOS 应用程序 (StackOverflowError)