2021-04-25, 08:13
@M4tRiX You can add a service extension point to your addon.xml. And you need to add script.module.bottle as a dependency.
@enen92 Yes, I know that Kodi has a built-in WSGI server but I don't know if it is used in real projects so I'm not completely sure that it is implemented correctly (and adapted to Python 3/PEP-3333 for Matrix). wsgiref is a safe bet for simple scenarios.
@enen92 Yes, I know that Kodi has a built-in WSGI server but I don't know if it is used in real projects so I'm not completely sure that it is implemented correctly (and adapted to Python 3/PEP-3333 for Matrix). wsgiref is a safe bet for simple scenarios.