2021-04-24, 09:13
(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!