Build a webinterface
#4
(2021-04-23, 09:38)Roman_V_M Wrote: Since Python has plenty of tools for building web apps it's totally possible and I have some experience with it. First, you need a Python application server (a WSGI server). For simple scenarios Python's built-in wsgiref server will be enough. You need to make sure that your server correctly shuts down when Kodi exits. Second, you need a web application framework. There are plenty of them in Python but, again, for simple scenarios bottle is quite good and it is included in the Kodi addon repo as a library addon. One of advantages of bottle that it is self-contained and does not have any dependencies except for Python standard library. Here is an example of a simple Python web application based on bottle that can be implemented as a Kodi service addon: https://gist.github.com/romanvm/e1be0503...d1befbb020

Hi Roman_V_M, thanks for your Feedback. I will check out „bottle“.
Quick questions because I couldn‘t find this in Google. How should I start? I have already a „Addon“, can I expand the Addon.xml with an extension point?
Do I have to install bottle in Kodi as an extra plugin?

Thank you!
Reply


Messages In This Thread
Build a webinterface - by M4tRiX - 2021-04-22, 14:57
RE: Build a webinferface - by pkscout - 2021-04-22, 18:29
RE: Build a webinferface - by Roman_V_M - 2021-04-23, 09:38
RE: Build a webinferface - by M4tRiX - 2021-04-24, 09:13
RE: Build a webinferface - by Sidewinder_2011 - 2021-04-24, 09:17
RE: Build a webinferface - by enen92 - 2021-04-24, 10:29
RE: Build a webinterface - by Roman_V_M - 2021-04-25, 08:13
RE: Build a webinterface - by M4tRiX - 2021-04-29, 22:08
RE: Build a webinterface - by M4tRiX - 2021-05-01, 00:39
RE: Build a webinterface - by Roman_V_M - 2021-05-01, 08:20
RE: Build a webinterface - by M4tRiX - 2021-05-01, 13:54
RE: Build a webinterface - by Roman_V_M - 2021-05-02, 07:44
RE: Build a webinterface - by Roman_V_M - 2021-05-02, 07:48


Logout Mark Read Team Forum Stats Members Help
Build a webinterface0
This forum uses Lukasz Tkacz MyBB addons.