Is there an HTTP Server Addon for Kodi?
#1
Hi,

I dont know if im asking this in the right forum or not but here it goes, im planing on build a new pc and install kodibuntu, so far it seems that it will meet all my expectations but 1, id like to mount a simple http server on kodi so i can host a simple website, but i havent been able to find any information out there about it, is this possible?
Reply
#2
Kodi has its own webserver, but for hosting your own material you need to install apache or some other web server.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
(2016-12-24, 20:52)nickr Wrote: Kodi has its own webserver, but for hosting your own material you need to install apache or some other web server.

but u mean apache inside kodi? like an addon? is there such a thing for kodi?
Reply
#4
Why inside Kodi? If you are going to use Kodibuntu, you can use any server available in Ubuntu repos, like Apache or nginx.

Python standard library has several server modules that can be used in addons but they are not suitable for production use.
Reply
#5
well, i havent install it yet so i dont know hows going to be, i though that the computer would end up booting directly into kodi, will i be able to use any of the ubuntu enviroment outside kodi?
Reply
#6
(2016-12-24, 23:47)mediavieja Wrote: well, i havent install it yet so i dont know hows going to be, i though that the computer would end up booting directly into kodi, will i be able to use any of the ubuntu enviroment outside kodi?

Although Apache or other http server would run as a service in the background, Kodibuntu (wiki) is no longer supported. I would recommend using Lubuntu instead, and then installing Kodi and the http server of your choice. You would be able to set both the http server and Kodi to autostart, and still have the lubuntu desktop environment available when needed.
Kodi Matrix on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Local Now | Redbox | NEWSnet| NHL Radio | Weather Unlocked
Reply
#7
ill give that shoot, tyvm :-)
Reply
#8
Is it possible to create a kodi service addon that listens and responds to requests as per op's question?

I was testing a script that listens to the upnp port to have kodi emulate a wemo device as per this article:
http://www.makermusings.com/2015/07/18/v...azon-echo/

I got to where it can successfully listen and respond to the device discovery request (from alexa). BUT...
There are times where the only broadcast it receives is the kodi upnp device discovery broadcast from localhost.
after several hours, the script can receive the broadcasts from alexa again.

I just figured that this is something not possible/not allowed under kodi
Reply
#9
(2016-12-25, 22:29)gedisony Wrote: Is it possible to create a kodi service addon that listens and responds to requests as per op's question?

Why not? Python SocketServer module allows you to implement raw TCP and UDP servers that can work with any data.
Reply

Logout Mark Read Team Forum Stats Members Help
Is there an HTTP Server Addon for Kodi?0