TOPIC: Addon: Plex Media Server

Addon: Plex Media Server 1 year 8 months ago #1

  • escalade
  • escalade's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 319
  • Thank you received: 46
  • Karma: 23
I made a Plex Media Server addon for OpenELEC. Install and access the web interface at:
http://1.2.3.4:32400/manage

Replace 1.2.3.4 with the IP address of your OpenELEC system.

Plex Media Server is a UPNP/DLNA server with transcoding support and iOS/Android/PC/Mac/browser clients.



Comments are welcome, this is my first time creating an addon.

3.0.1:
64-bit

3.0.0:

64-bit

1.1.0:

64-bit
32-bit

1.0.0:

64-bit
32-bit
Intel NUC D54250WYK / Denon AVR-1713 / Samsung PS60F5505
Arch Linux / Kernel 3.15-git / Mesa 10.2git / xf86-video-intel-git / XBMC 13
Last Edit: 1 year 6 months ago by escalade.
The administrator has disabled public write access.
The following user(s) said Thank You: AJ, torleif, Magickoss, bosiwow, K33k00

Re: Plex Media Server on OpenELEC 1 year 8 months ago #2

  • lrusak
  • lrusak's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2676
  • Thank you received: 394
  • Karma: 377
holy smokes a 75MB add-on!

This is awesome. I enjoy plex, and although I don't use it as much as I used to, it is still very handy to use when away from home.

Good Work!
<-- Hit me with some karma if I've helped you out :)
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #3

  • ericab
  • ericab's Avatar
  • OFFLINE
  • Moderator
  • Posts: 554
  • Thank you received: 79
  • Karma: 70
i just installed it, and cannot seem to access the webUI.
hmm, ill dig a bit deeper

Ericab's GitHub
Want a simple and painless way to update between nightly builds ?
Try This ! OpenELEC_Dev Update
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #4

  • ericab
  • ericab's Avatar
  • OFFLINE
  • Moderator
  • Posts: 554
  • Thank you received: 79
  • Karma: 70
netstat -l doesnt list plexmediaserver's port as listening



ps aux | grep plex

1745 root 0:00 {pms.start} /bin/sh /storage/.xbmc/addons/service.multimedia.plexmediaserver bin/pms.start


permissions;

-rwxr-xr-x 1 root root 6786653 Dec 13 23:39 Plex Media Server

also;

service.log states:

/storage/.xbmc/addons/service.multimedia.plexmediaserver/bin/pms.start: line 50: /storage/.xbmc/addons/service.multimedia.plexmediaserver/lib/Plex Media Server: cannot execute binary file


LINE 50:

LD_LIBRARY_PATH="$ADDON_DIR/lib:$LD_LIBRARY_PATH" $ADDON_DIR/lib/Plex\ Media\ Server &>$LOG_FILE

Ericab's GitHub
Want a simple and painless way to update between nightly builds ?
Try This ! OpenELEC_Dev Update
Last Edit: 1 year 8 months ago by ericab.
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #5

  • ericab
  • ericab's Avatar
  • OFFLINE
  • Moderator
  • Posts: 554
  • Thank you received: 79
  • Karma: 70
ahh;

this is a x86-64 binary.

(changed title to reflect this)

Ericab's GitHub
Want a simple and painless way to update between nightly builds ?
Try This ! OpenELEC_Dev Update
Last Edit: 1 year 8 months ago by ericab.
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #6

  • escalade
  • escalade's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 319
  • Thank you received: 46
  • Karma: 23
Sorry, forgot to mention that. You should be able to download the 32-bit version and just replace the lib directory I think.
Intel NUC D54250WYK / Denon AVR-1713 / Samsung PS60F5505
Arch Linux / Kernel 3.15-git / Mesa 10.2git / xf86-video-intel-git / XBMC 13
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #7

  • ericab
  • ericab's Avatar
  • OFFLINE
  • Moderator
  • Posts: 554
  • Thank you received: 79
  • Karma: 70
ok x86 version is in my dropbox folder for those interested.

thanks again to Escalade


service.multimedia.plexmediaserver-1.0.0_x86


www.dropbox.com/sh/6w9ve84u0zc9v6s/VGY2UYmG_7

Ericab's GitHub
Want a simple and painless way to update between nightly builds ?
Try This ! OpenELEC_Dev Update
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #8

  • escalade
  • escalade's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 319
  • Thank you received: 46
  • Karma: 23
Oh and you need to replace lib/Resources/rsync, it depends on an external library. The one from OpenELEC repository should work fine.
Intel NUC D54250WYK / Denon AVR-1713 / Samsung PS60F5505
Arch Linux / Kernel 3.15-git / Mesa 10.2git / xf86-video-intel-git / XBMC 13
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #9

  • miicko
  • miicko's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
can't seem to add a section (ie movies). I can access the web ui just fine, but when i come to add a directory it lets me navigate to when i need to go, but when i click the add section button, nothing happens...

great work btw

m
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #10

  • DugieHowsa
  • DugieHowsa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 179
  • Thank you received: 6
  • Karma: 2
I was very excited to try this out, but unforunately, I ran into several issues.

I am using version 2.95.5 of an x64 ION build.

Prior to installation of your plug-in, I install the rsync add-on from the OpenELEC repository.

After installation of the plug-in, I was able to connect to the Web UI. Similar to miicko's experience, I was able to browse the Library Menu, but when I went to add a Selection, the choice would "stick", and I would end up with a library with no selections.

I rebooted the HTPC to see if I could get a different behavior. Unfortunately, when I did that, I lost my network connection and the following error appeared:

u-disks warning ** Couldn't connect to system bus (
DSC_0044.JPG
)

When the system completed the boot process, it did not have any network connectivity. I could not SSH or RPC to the box, so unfortunately I could not retrieve any further information from the box.

I tried to just disable the plug-in and reboot in order to restore network connectivity, but that didn't work. Network connectivity did not get restored until I un-installed the plugin. The un-install script generated an error as well, but I was not able to capture it.

I have also attached the plug-in logs from when I was attempting to add a selection (

File Attachment:

File Name: PMS-20121217.zip
File Size: 13 KB
).

I deleted all remnants of the plug-in and attempt the install again, but I got the exact same results (couldn't add a selection and lost network connectivity after reboot).

Please let me know if you need any further logs or console debug.
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #11

  • Zodler
  • Zodler's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Wow that sounds bad! I tried to install it but it said something like dependencies and stuff and didn't install.
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #12

  • escalade
  • escalade's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 319
  • Thank you received: 46
  • Karma: 23
The plugin has only been tested under OpenELEC 3.0 beta. From your service.log it looks like it has problem spawning the python process. Try making it executable? Not sure that's the issue though.
Intel NUC D54250WYK / Denon AVR-1713 / Samsung PS60F5505
Arch Linux / Kernel 3.15-git / Mesa 10.2git / xf86-video-intel-git / XBMC 13
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #13

  • gman3042
  • gman3042's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
is this easily updatable to go to a newer version of plex media server? i'm a plexpass member and they are always updating their PMS
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #14

  • escalade
  • escalade's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 319
  • Thank you received: 46
  • Karma: 23
Yeah, you can download a new version of PMS and replace the lib directory in the addon.
Intel NUC D54250WYK / Denon AVR-1713 / Samsung PS60F5505
Arch Linux / Kernel 3.15-git / Mesa 10.2git / xf86-video-intel-git / XBMC 13
The administrator has disabled public write access.

Re: Plex Media Server on OpenELEC 1 year 8 months ago #15

  • gman3042
  • gman3042's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
miicko wrote:
can't seem to add a section (ie movies). I can access the web ui just fine, but when i come to add a directory it lets me navigate to when i need to go, but when i click the add section button, nothing happens...

great work bt
m

i can confirm this issue as well.. on the 64 bit one.. using openelec v3... the issue is that it does not create anything in the Services.bundle directory in plugins.. and Framework.bundle in the Plug-ins directory as well... its just blank.. therefore all the scanners are blank.. therefore you cant add any media
The administrator has disabled public write access.
Moderators: lrusak

Our Sponsors & Partners

arctic_logo