2021-04-22, 18:29
I suspect it's possible, but it's likely to be a fair amount of work. Kodi has a general web interface, but I don't think there's anyway to tie add-on control into that. So your add-on would have to have a service component that would activate a web/api server of some sort, listen on a specific port (preferably not any of the ones Kodi uses), and then have all the request/response logic built into it. You'd also be responsible for all the security for that too. I think the YouTube add-on has a really basic web server in it that is activated when someone needs to enter their Google API keys, so you might look at that to see what they did.