Enigma2 Backend: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
 
(52 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Frodo}}
{{PVR_guide}}
{{TOC right}}
{{mininav|[[PVR]]}}
== Important notes about VUPlus add-on==
With the PVR build of XBMC it is possible to provide PVR- and DVR-like functionalities to the end-user. With the VU+ addon XBMC PVR can be used also with a connected VU+ or any other enigma2 based settop box.


== Setting up VUPlus==
<section begin="intro" />Enigma2 is a framebuffer-based zapping application (GUI) that is primarily targeted to physical set-top-boxes running embedded Linux ([http://www.openembedded.org/wiki/Main_Page 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)


=== Supported settop boxes ===
While the Enigma2 software was originally developed by Dream Multimedia for their [[w:Dreambox|Dreambox]] series, the [http://opendreambox.org 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 [[w:Dreambox|Dreambox]], [[w:DBox2|DBox2]], and [[w:Vu+|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.
In general all enigma2 based settop boxes should be supported, the following are known to work. If you can confirm that the addon works with a settop box not listed below, please take a moment and post this into the PVR support forum thread for this addon.


Known to work:
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.
* VU+Uno
* VU+Duo
* VU+Ultimo
* DM800 HD (with Gemini image & OpenPLI)
* DM8000 (OpenPLI image)


===Support===
__TOC__
If you have problems using this addon you should try and contact the author via the XBMC [http://forum.xbmc.org/forumdisplay.php?fid=167 PVR Support forum].
{{-}}
==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 [http://www.linuxtv.org LinuxTV DVB API], which is part of a standard Linux kernel.<section end="intro" />


== Connect XBMC to VUPlus ==
The Enigma2 platform and Kodi are similar in that they both use Python to add extra features, [https://forums.openpli.org/topic/60394-enigma2-plugin-kodiliteinstaller-for-usb-external-hdd-and-normal-installation/ KodiLite] is a plugin developed by "pcd" which could run so many Kodi plugins on Enigma2.
{{#lst:Add-on:VU+ / Enigma2 Client|Settings}}


== Changelog ==
== Enigma2 Client PVR add-on (C/C++ based)==
0.3.3:
{{main|Add-on:Enigma2_Client}}
:* add: support for storing the last played positions for recordings. These will be stored in the file recordings.xml
:* fix: if the webinterface cannot be loaded, deactivate the addon


0.3.2:
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 [https://github.com/kodi-pvr/pvr.vuplus open source code] community project.
:* fix: continue to load channels even if we do not have any radio channels


0.3.1:
== Compatibility with other Kodi PVR Add-ons ==
:* change: remove XMLParser- change: add enigma2 to the displayname 


0.3.0:
As OpenWebIf is capable of outputting M3U and XMLTV files it is also possible to configure other PVR add-ons to work with Enigma2 backends such as:
:* change: remove curl dependancy
:* change: adjust to new PVR API


0.2.8:
* the [[Add-on:PVR_IPTV_Simple_Client| PVR IPTV Simple Client]] directly
:* add: option to only fetch one TV bouquet which can be specified via the addon settings
* as a source for the TVHeadend backend and then via the [[Add-on:Tvheadend_HTSP_Client|TVHeadend HTSP Client]]


0.2.7:
== Supported set top boxes ==
:* fix: fix incorrect escape character for & (use '&amp;' instead of '&quot;'). Thx to 'hani' for pointing this out.
=== 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.
=== 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".
=== 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.


0.2.6:
== External links ==
:* cosmetic: remove unnecessary '/' in recording-stream url
* [https://forums.openpli.org/topic/20871-build-script-for-openpli-enigma2-on-ubuntu-104-32-bit/ Enigma2 for PC discussions]
:* cosmetic: inprove log output- change: get the proper device info from the reveiver box instead of just setting dummy values
* [https://github.com/E2OpenPlugins/e2openplugin-OpenWebif OpenWebIf]
:* change: change the buildzip.bat to include version string in the name of the zip-file
=== Open source Enigma2 images ===
:* change: introduce a version string for the channeldata xml file so that we can invalidate old channeldata files if necessary
* [http://www.openpli.org OpenPLi]
* [http://www.vuplus-support.co.uk ViX]
* [https://www.opena.tv OpenATV]
* [https://www.openvision.tech Open Vision]


0.2.5:
{{updated|19}}
:* fix: cleanup the service reference in the streaming url
[[Category:PVR]]
 
0.2.4
:* fix: put username & password into the streaming url0.2.3
:* fix: put username & password into recording-url
 
0.2.2:
:* fix: escape xml entities in the stream-url before saving to channeldata.xml
:* fix: fetch the version string from configure.in not the ChangeLog (thanks to 'trans')
:* fix: rename changelog in addon-directory to changelog.txt
 
0.2.1:
:* fix: encode the stream-url properly. Please remove your channeldata.xml file after updating
:* change: add proper version string to the addon.xml generated by buildzip.bat (thanks to 'trans')
 
0.2.0:
:* change: Complete rework of timer handling. Now it will only show notifications for changed items
:* fix: Update / Add / Delete Timers. Note that the timer names in the XBMC are sometimes not updated properly (in the dialog it is OK)
:* fix: Instant Recordings do now work again- fix: timer status is now shown correctly (completed, recording, disabled)
:* fix: enabling / disabling timers do now work- change: removed "show completed timers" option (they are now always be shown)
:* add: added buildzip.bat & xbmc-addon-vuplus.sln (thanks to 'trans')
:* fix: Channel numbering / incorrect picons due to the change introduced in 0.1.15
 
0.1.15
:* fix: when using the channeldata-store option not all channel groups (bouquets) were loaded due to a nulled counter variable
 
0.1.14
:* change: change .gitignores and copy current changelog into the addon folder. This will enable the user to view the changelog in the addon settings window
 
0.1.13
:* add: option to set deepstandby powerstate on the DVB box on PVR-addon shutdown
:* fix: error in settings.xml, causing crashes on linux
 
0.1.12
:* add: support to specify the folder for storing recordings
 
0.1.11
:* fix: some unicode string errors in german language file
:* change: add categories to addon settings0.1.10
:* add: support for using only the recording path currently active on the DVB box
 
0.1.9
:* change: add addon icon (copyied from the openelec guys, thanks!)
:* fix: win32 release target (thanks to 'trans' for patch)
 
0.1.8
:* change: fetch the recording locations and use these locations when querying the recordings
:* fix: Stop update thread when destroying the PVR addon - fixes shutdown issues
 
0.1.7
:* fix: Copy & Paste error                       
 
0.1.6
:* fix: Change the logic to determine the picon file name from the service reference.
 
0.1.5
:* fix: Fix access violation errors on windows (thanks to 'trans' for finding the correct compiler / linker settings)
:* fix: do not return out of scope local variable for the streaming URL
:* fix: remove the last '_' character from the filename (if applicable). Should finally fix the picon path errors.
 
0.1.4
:* fix: limit length of the service reference part of the Icon-Path to 30 characters.
:* fix: Escape "&", "<" and ">" characters in XML channeldata file.
:* add: support to disable all bouquet or channel updates
 
0.1.3
:* fix: order of timerlist cleanup and timerlist updates
 
0.1.2
:* add: support for storing channel data into a file
 
0.1.1
:* fix: URLEncode the service reference when fetching EPG
 
0.1.0
:* Iniital Version

Latest revision as of 03:50, 17 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.


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.

The Enigma2 platform and Kodi are similar in that they both use Python to add extra features, KodiLite is a plugin developed by "pcd" which could run so many Kodi plugins on Enigma2.

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.

Compatibility with other Kodi PVR Add-ons

As OpenWebIf is capable of outputting M3U and XMLTV files it is also possible to configure other PVR add-ons to work with Enigma2 backends such as:

Supported set top boxes

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.

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".

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.

External links

Open source Enigma2 images