Enigma2 support for Plex DVR/LiveTV!

a quick update, i have add the code to allow plex to autodetect your device, you will need to ‘update for files’, so open plugin, and press green if you want it, if you have already manually added your device it up to you if you do this.

Hi, should this work on openatv? I don’t see the plugin available when I browse for it.

@stevilness said:
Hi, should this work on openatv? I don’t see the plugin available when I browse for it.

yes it should, it should be there somewhere. try system plugins

Hi, thanks a lot for doing this, I’ve been hoping for something like this for so long!

I’m running latest version of plugin on OpenATV on my Miraclebox Premium Mini Hybrid, which is a single tuner box. When I open the plugin I get a warning saying it is single tuner, all good so far: https://goo.gl/photos/MFgHTXNA4GF4gu7Z8

But then I get to the configuration, and it’s blank: https://goo.gl/photos/c6JL8JuG5BPwcNJw8

Any idas what’s wrong? Thanks again!

/Rickard

seems, a bug on my part, thanks for reporting, I’ll look now and fix.

edit:

looked into it, it is just cometic, press green to create the necessary files. to get you up and running whilst you wait for your team to build the fix, what tuner type do you have ? look at the list below and just add it to plex with that port and your boxes IP

	'DVB-C' : '6081'
	'DVB-T' : '6082'
	'DVB-S' : '6083'

Hi, thanks for a quick answer! I switched to OpenViX to see if it worked better. It’s the nicest OS I’ve had on my box, but the plugin available seems to be an old version. At least that’s my guess, because now I get the “A 2 Tuner minimum requirement is required for this plugin to function”. Software update says there are no updates available. I don’t understand how plugins work, is there anything I can do to get access to the lates version in OpenViX?

Best,
Rickard

@rockard said:
Hi, thanks for a quick answer! I switched to OpenViX to see if it worked better. It’s the nicest OS I’ve had on my box, but the plugin available seems to be an old version. At least that’s my guess, because now I get the “A 2 Tuner minimum requirement is required for this plugin to function”. Software update says there are no updates available. I don’t understand how plugins work, is there anything I can do to get access to the lates version in OpenViX?

Best,
Rickard

hi openvix do not build every night like others, we only build when ready, and stable, are you ok with FTP ?, as I give you the py’s to upload to your box directly.

Oh man, you rock! Yeah, of course! Sorry for requiring so much help, and thanks so much for supplying it! What info do you need from me?

guy’s just to let you know I have created a Pull Request on PLI, it is now up to you to get them to accept it :slight_smile:

@rockard said:
Oh man, you rock! Yeah, of course! Sorry for requiring so much help, and thanks so much for supplying it! What info do you need from me?

np, here you go, unzip and upload to usr/lib/enigma2/python/Plugins/SystemPlugins/PlexDVRAPI, then restart Enigma2.

1 Like

Hi again, it didn’t work (cannot be added in Plex), and I’ve been trying to figure it out. So it seems http://IP:6081 should return a json, but it returns 404 not found. So I tried to understand where the files should be created, and think I can see they should reside in /www, but there’s just three folders (two of which are symlinks) there: logs, pages and var. So I took a quick look at this commit: https://github.com/OpenViX/PlexDVRAPI/commit/1020f2557f3cd73771106880777af065e66c4e08

It says in server.py row 173 it says
if self.discover[type][“TunerCount”] > 1 and self.discover[type][‘NumChannels’] > 0:

Should it not be self.discover[type][“TunerCount”] > 0 now that multi tuner is not required?

Best,
Rickard

@Undutchable said:

@TheMystery said:
If you use channel list netherlands and national then CanalDigitaal is available.

I tried National before, but a few TV-stations are not in this list, therefore, no EPG for those missing channels will be loaded.
Like channel; 54 = 192TV, 18 = Discovery HD Showcase

One other thing, while in experience fase, National list seems a little instable, works off and on.

Thank you

They are listen in the sd list and not in the HD list, so i use the sd list.
Is the noord Brabant list more stable? But then you have to map all channels by yourself.

@andyblac1974 said:

@TheMystery said:

@Undutchable said:
Hi,

Thank you for all the effort you put in this plugin.

Just an experience update from me:

running OpenATV 6.0 on a Mutant HD51 (dual tuner) 4K receiver (DVB-S2)
channel list; Netherlands
program guide; Caiway, Noord-Brabant (Canal Digitaal is not available)
running OSCam r11342 with Original CD card
sound quality: perfect, 5.1 on channels which does support
picture quality: perfect
zapping: slow 2-3 seconds

keep up the good work, thank you

If you use channel list netherlands and national then CanalDigitaal is available.

Zap times for me with a mutant hd2400 are 5-6 seconds, hope that this can be improved.

that just down to to Enigma2 it self, plex, and the speed of your box, unfortunately

With kodi it’s 1 or 2 sec, but only when i set a zap delay of 750ms in the kodi settings.

@andyblac1974 said:

i have updated the plugin to allow it to work with 1 tuner, but a warning will show, that you must leave box in standby, else recordings/livetv will not work in Plex.

just an idea… or two?
the EPG refresh is able to use something like virtual recordings while jumping through the channel list to update EPG. Wouldn’t it be possible to leverage this somehow to make a tuner-transponder reservation and allow having the box on and switching among the channels on the same transponder?
If this is not possible, what about being able to dynamically add a timer which just records to /dev/null or something like that?

regards

LH

@rockard said:
Hi again, it didn’t work (cannot be added in Plex), and I’ve been trying to figure it out. So it seems http://IP:6081 should return a json, but it returns 404 not found. So I tried to understand where the files should be created, and think I can see they should reside in /www, but there’s just three folders (two of which are symlinks) there: logs, pages and var. So I took a quick look at this commit: [HTTP Server] add new embedded HTTP SERVER, this removes the DEPEND o… · OpenViX/HRTunerProxy@1020f25 · GitHub

It says in server.py row 173 it says
if self.discover[type][“TunerCount”] > 1 and self.discover[type][‘NumChannels’] > 0:

Should it not be self.discover[type][“TunerCount”] > 0 now that multi tuner is not required?

Best,
Rickard

changed that in the pyo’s I gave you. did it not work ?

edit:

what a fool I am YES, I missed one thanks, I’ll fix now.

@andyblac1974 said:

@rockard said:
Hi again, it didn’t work (cannot be added in Plex), and I’ve been trying to figure it out. So it seems http://IP:6081 should return a json, but it returns 404 not found. So I tried to understand where the files should be created, and think I can see they should reside in /www, but there’s just three folders (two of which are symlinks) there: logs, pages and var. So I took a quick look at this commit: [HTTP Server] add new embedded HTTP SERVER, this removes the DEPEND o… · OpenViX/HRTunerProxy@1020f25 · GitHub

It says in server.py row 173 it says
if self.discover[type][“TunerCount”] > 1 and self.discover[type][‘NumChannels’] > 0:

Should it not be self.discover[type][“TunerCount”] > 0 now that multi tuner is not required?

Best,
Rickard

changed that in the pyo’s I gave you. did it not work ?

edit:

what a fool I am YES, I missed one thanks, I’ll fix now.

I tried to figure out how to build it myself on my Linux box, but I didn’t get very far (installed automake debian package and typed automake, failed immediately on missing enigma2-plugins-config.h.in). Do you mind building it again for me? :blush:

/Rickard

What version of plugin supports autodetection?

@Noben said:
What version of plugin supports autodetection?

I’m not sure how and when the version numbers are updated, but the code for autodetection was commited to the repository yesterday. The version I have, that @andyblac1974 compiled and uploaded here, has version number 1.2 and includes the autodetection code.

@Noben said:
What version of plugin supports autodetection?

support coming in next PMS version 1.7.3, don’t ask about ETA,as I don’t know. sorry.

@rockard said:

@Noben said:
What version of plugin supports autodetection?

I’m not sure how and when the version numbers are updated, but the code for autodetection was commited to the repository yesterday. The version I have, that @andyblac1974 compiled and uploaded here, has version number 1.2 and includes the autodetection code.

correct, but it also requires PMS side support.