Difference between revisions of "Enigma2 Backend"

From Official Kodi Wiki
Jump to navigation Jump to search
m (Phunkyfish moved page Enigma2 to Enigma2 Backend)
(No difference)

Revision as of 09:30, 1 December 2020

Live TV, PVR & Radio Contents

PVR main page

1. Tuner Cards
2. Backends
3. Setup
4. Live TV Artwork

Related Pages:

All PVR Pages
All PVR Add-on Pages

Home icon grey.png   ▶ PVR ▶ Enigma2 Backend

Enigma2 is a framebuffer-based zapping application (GUI) that is primarily targeted to physical set-top-boxes running embedded Linux (OpenEmbedded based firmware distributions), however Enigma2 can technically also run on regular PCs, but it is not common. (Also it's possible to run Enigma2 on RaspberryPi devices with Open Vision images and external USB tuners)

While the Enigma2 software was originally developed by Dream Multimedia for their Dreambox series, the opendreambox.org has made Enigma2 into an popular open source based firmware platform for set-top boxes and it is used by a number of different set-top box manufacturers, including the most commonly known are Dreambox, DBox2, and Vu+ (VuPlus), which all use Enigma2 based firmware images. Most of these Enigma2 based set-top boxes falls under the category of Linux-powered satellite, terrestrial and cable digital television receivers.

With the Enigma2 PVR add-on Kodi PVR can be used also with any Enigma2 based set-top boxes running OpenWebIf. Other WebIfs are supported with a subset of the original functionality.


1 Enigma2 technical overview

Enigma2 frontend code is based on the Python Script language with a PVR backend software for tuning and recording written in C++ programming language. The PVR backend side uses the LinuxTV DVB API, which is part of a standard Linux kernel.

Enigma2 and Kodi are similar in plugins as they both use Python language in order to achieve extra features, KodiLite is a plugin developed by "pcd" which could run so many Kodi plugins in Enigma2.

2 Enigma2 Client PVR add-on (C/C++ based)

The Enigma2 Client PVR add-on is a native PVR client made by the Kodi community for all Enigma2 based set-top boxes. This PVR C/C++ binary add-on for Enigma2 is an open source code community project.

2.1 Connecting Kodi to a Enigma2 box

  1. Go to Settings -> Add-ons -> Install from repository -> PVR Clients and select the Enigma2 PVR add-on
  2. Select "Configure"
  3. For Linux installation see... Ubuntu PVR add-ons

2.2 Setting up the Enigma2 add-on

2.3 Supported set top boxes

2.3.1 Mipsel architecture

  • It was the main architecture for Enigma2 and all of Mipsel models run Enigma2 fine except dm7025 (ancient Dreambox model with ATI Xilleon 226 SoC instead of Broadcom) which isn't a HD model.

Even some "smallflash" models (the models with 64MB internal flash or less) can't handle recent Enigma2 builds and some open source teams already abandoned them.

2.3.2 SH4 architecture

  • Only some Enigma2 teams are supporting this old/powerless architecture, Open Vision (fully) and OE-Alliance (partly).

This architecture is well known by the name "fulan" or "spark".

2.3.3 ARM architecture

  • Modern Enigma2 set-top boxes come with ARM SoCs as the 4K content requires too much power for being processed, today ARM is considered as the main Enigma2 architecture and all new models come with Broadcom or HiSilicon but with ARM SoCs to support h265 and HEVC.

ARM64 with multilib isn't stable enough so choosing ARM over ARM64 is recommended.

In general all Enigma2 based set top boxes should be supported, once they run OpenWebIf (full feature set) or a different WebIf (original feature set only).

Some features that may not work on other WebIfs:

  • Autotimers
  • Drive Space Reporting
  • Embedded EPG Genre IDs
  • Full Tuner Signal Support (Including Service Providers)
  • Timer and Recording descriptions: If your provider only uses short description (plot outline) instead of long description (plot) then info will not be displayed pertaining to the shows in question. For OpenWebIf clients a JSON API is available to populate the missing data.
  • Edit recording name, last played position and play count for recordings
  • Bouquet (and group specific) Backend Channel Numbers

2.4 Support

If you have problems using this add-on you should try and contact the author via the Kodi Enigma2 PVR Support forum.

3 Connecting Kodi to Enigma2 backend

  1. Go to Settings -> Add-ons -> Install from repository -> PVR Clients and select the Enigma2 PVR add-on
  2. Select "Configure"
  3. For Linux installation see... Ubuntu PVR add-ons

3.1 General

Within this tab the mandatory add-on options need to be configured before it can be successfully enabled. If your device is using a default setup on your local network only the following setting should need to be changed.

  • Enigma2 hostname or IP address: Please enter the IP address or hostname of your Enigma2 based set top box.

Most of the times hostname is the machine/hardware name which is readable in About screen of Engima2 or the information section of OpenWebIf.

For all other settings please see Configuring the addon

4 Changelog

5 Additional guides and links

6 External links

6.1 Open source Enigma2 images