Add-on:tvheadend

Usage
Once enabled, the tvheadend server can be configured by navigating to the web interface from any computer on the network. The web interface is available at  http://[openelecip]:9981

which will provide you with all the options you need to set up live TV.

Navigating to Configuration => TV Adapters will show settings for any TV capturing hardware detected on the system.

Once all is set, adding the source htsp://[openelecip]:9982

in XBMC will allow XBMC to read the tvheadend server. If tvheadend found any channels, you should now be able to access those and enjoy Live TV function in OpenELEC.

There is an option to enable or disable the tvheadend server. A reboot is required to make the change effective.