Enigma2 support for Plex DVR/LiveTV!

i instaled it on openvix but plex serber does not recognices it

You might need to input IP and port of HRTunerProxy in Plex DVR manually

witch is the port normaly

The port of the first tuner is normally 6081

Hi Coxeroni thanks for your help is it posible to add multiple tunners with one E2

Thanks in advance

Actually I don’t know what happens when you add the first tuner at 6081, if the others are also added. I never used this productively but merely tried if it works. You to check for yourself I guess. I guess all the tuners are “broadcasted” when you connect to the 6081 and not only the first one.

Hi to everyone,
because we will loose the Plex DVR EPG for the Czech channels soon I put together a Windows PowerShell script which combines the EPG of all the channels you added to HRtunerProxy to XMLTV formatted xml file you can feed into Plex DVR.
The resulting EPG is as good as it is on the DVB-S/T/C receiver.

It is available at GitHub GitHub - PiGeonCZ/EnigmaEPG2XMLTV: Set of powershell scripts and xslt templates for schedulling, dowloading and converting EPG from Enigma 2 DVB S/T/C receivers with HRTunerProxy plugin installed

Enjoy it :wink:

1 Like

Hey, your script works fine on my Ubuntu 16.0.4 with latest Plex Media Server and Vuplus Duo2 with latest VTI Image.

However I have protected my OpenWebIf with a password containing special characters which obviously makes some trouble with the Enigma2 http API!?

Can you please let me know if/how this could work?

Hey, I’ll have a look at it but it might take me couple of weeks as I don’t have access to my laptop at the mo.

The API documentation in here doesn’t appear to have any method to authenticate:

https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/wiki/OpenWebif-API-documentation#calling-api-methods

What sort of error message are you getting?

We’ll figure something out.

Thanks for your help!

I have a different problem now (I have changed my password just for testing now to a ‘non special char’ one) but it worked all fine yesterday and I shutdown my Plex Media Server (Ubuntu 16.0.4) over night and today the owi2plex doesn’t run anymore successfully.

The output I get is:

‘Getting EPG for Service 131.SRF zwei HD (17202) from http://root:password@123.345.0.100:8886/api/epgservice?sRef=1:0:19:4332:300C:13E:820000:0:0:0:’
Setting TZ Offset from UTC to +0200
Generating XMLTV payload.
Traceback (most recent call last):
File “/usr/local/bin/owi2plex”, line 11, in
sys.exit(main())
File “/home/gessi/.local/lib/python3.5/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/gessi/.local/lib/python3.5/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/gessi/.local/lib/python3.5/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/gessi/.local/lib/python3.5/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/usr/local/bin/owi2plex.py”, line 370, in main
xmltv = generateXMLTV(bouquets_services, epg, api_root_url, tzoffset)
File “/usr/local/bin/owi2plex.py”, line 338, in generateXMLTV
xmltv = addEvents2XML(xmltv, epg, tzoffset)
File “/usr/local/bin/owi2plex.py”, line 297, in addEvents2XML
programme_desc.text = unescape(event[‘shortdesc’])
File “src/lxml/etree.pyx”, line 1018, in lxml.etree._Element.text.set
File “src/lxml/apihelpers.pxi”, line 710, in lxml.etree._setNodeText
File “src/lxml/apihelpers.pxi”, line 698, in lxml.etree._createTextNode
File “src/lxml/apihelpers.pxi”, line 1493, in lxml.etree._utf8
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

Can you help with my issues please? I like your script


I am also getting the “ModuleNotFoundError: No module named ‘owi2plex’” issue when trying to use the python script on my Windows. Any ideas?

1 Like

Just discovered this plugin
I have an GigaBlu on OpenATV 6.3, installed and working for TV via my box that is coming via Freesat :slight_smile:

However IPTV on my E2 box don’t stream in Plex, I just get an error. They work fine on my GigaBlu apart from that what a great feature.

The plugin was set to multi on the E2 box.

Hello @L.H

I am using your scrip which is working well but just got one issue. I can only see channel numbers on the guide and no names or picons to identify channels.

Edit: I see issue on Apple Phones also android, browser is showing channel names

Is there something i am missing?

Anyone else seeing issue with the guide with no channel names?

Thanks

I guess you are also able to see the channel numbers on the server web-interface as I do. I am afraid there is nothing I can do to make it available on the apple and android devices.
Well, except putting the channel number also to the channel name.
You can try to play with the resulting xml and if you find out working combination, you can then adjust the script accordingly.

have fun!

LH

Hi @praze

I am using your script but has a question is there a way i can make use of multiple bouquets?

It seem can i only use one -b but i want around 6.

Thanks

@waghelak,

At the moment it can only use one bouquet but the script could be easily modified to iterate over a list of them.

If you don’t mind creating an Issue in the GitHub project page I’ll take a look when I have time.

Regards,

C

@praze

Hello raised as an issue, hope you can help modify script.

Thanks

@praze

Seem to have hit another issue. non of my channels are matching the correct list in XML, seems to be related to the channel ordering on my box. How is Plex looking at the XML and determining what needs to be where?

It seems like i need to re-order channels according to the XML display name.

Thanks

@L.H

I am not experienced with scripting but wondering how easy would it be to edit your script to include Picons on the XML as below?

<icon src="http://IPaddress:80/picon/b4umovies.png"/>

I have a strange issue, there are two scripts for this at present only sections from both scripts work for me.

Script by @L.H is perfect in terms of the EPG for me but i dont see channel names or icons on IOS and Android (my main clients). Script by @praze is causing issues with EPG for my setup but is perfect on guide as it has picons showing on IOS and Android.

Thanks