PlexConnect on unRAID

plexconnect

#1

Updated directions, with python installation instructions:

 

Figured I would post this here:

 

I got it working, and its soooooo much smoother than the iphone/ipad through AIRPlay... THANK YOU PLEXCONNECT!
 
I have it running on RC13.
 
*Make note of your unRAID internal IP, if you have SimpleFeatures it is displayed in the main page in the upper right hand corner
 
For AppleTV side, please follow this: https://github.com/iBaa/PlexConnect/wiki/OSX-and-ATV-with-5.2-firmware-and-ethernet-internet-connection-installation-guide

 

For unRAID side, please follow below:
1. Change your default port for unRAID to something other than 80, something like 8008.
    To do this go to your go file on your flash drive and replace /usr/local/sbin/emhttp & with /usr/local/sbin/emhttp -p XX & (where XX equals the port)
 
2. Download Python from here: Python 2.6.6
 
3. But your python file under /flash/extra/, on reboot any file here will be installed
*you can also use the following: installpkg /pathtopackage/pythonpackageversion.tgz, however I would recommend a reboot since you changed your go file as well.
 
4. Download PlexConnect 0.1 to your destination of choice (below you will notice I used a cache drive).
 
5. go to puTTy and type in the following (you should be able to close puTTy after this):
nohup python /mnt/cache/apps/plexconnect/PlexConnect.py &
 

#2

This is excellent. Have you posted this in the unraid forums as well? This will be a big deal over there :)


#3

I did, I am pretty active over there.. This is an awesome plugin


#4

If you can get the info on installing Python (if it does not come as standard) then i will put this up on the wiki for other users. :)


#5

MOD edit: added updated info to main post.


#6

If you can get the info on installing Python (if it does not come as standard) then i will put this up on the wiki for other users. :)

update above.


#7

Cheers Don, I will put it up later :)


#8

When using this I get "Cannot Find Plex Server" error.   I assume this is due to the drives being spun down and the PlexConnect is timing out before the drives are online.  Exiting and pressing select again solves the issue.  Is there a setting where I can increase the timeout amount?

Kryspy


#9

Updated directions, with python installation instructions:

For unRAID side, please follow below:
1. Change your default port for unRAID to something other than 80, something like 8008.
    To do this go to your go file on your flash drive and replace /usr/local/sbin/emhttp & with /usr/local/sbin/emhttp -p XX & (where XX equals the port)
 
2. Download Python from here: Python 2.6.6
 
3. But your python file under /flash/extra/, on reboot any file here will be installed
*you can also use the following: installpkg /pathtopackage/pythonpackageversion.tgz, however I would recommend a reboot since you changed your go file as well.
 
4. Download PlexConnect 0.1 to your destination of choice (below you will notice I used a cache drive).
 
5. go to puTTy and type in the following (you should be able to close puTTy after this):
nohup python /mnt/cache/apps/plexconnect/PlexConnect.py &
 

I have made some slight edits to this:

  1. updated download link to point to v0.1
  2. removed line about editing settings.py (not necessary and should no longer be edited - see advanced settings section of wiki if you really now need to edit anything)
  3. moved updated to guide to first post
  4. Put a link to the wiki this topic

#10

When using this I get "Cannot Find Plex Server" error.   I assume this is due to the drives being spun down and the PlexConnect is timing out before the drives are online.  Exiting and pressing select again solves the issue.  Is there a setting where I can increase the timeout amount?

Kryspy

We are looking into this.


#11

what about the ((ERROR:VAL)) thing? Is it possible to solve this for python 2.6?

I'm also using pyload and while plexconnect is working fine, I can't get pyload to work with python 2.7.

BTW I also get the timeout error from time to time when trying to open the detailed movie view.

Anyway, Plexconnect is amazing!


#12

what about the ((ERROR:VAL)) thing? Is it possible to solve this for python 2.6?

I'm also using pyload and while plexconnect is working fine, I can't get pyload to work with python 2.7.

BTW I also get the timeout error from time to time when trying to open the detailed movie view.

Anyway, Plexconnect is amazing!

You know that you can have multiple installations of Python side by side, so you should be able to run both?

Do you have the link for installing Python 2.7.x on UnRAID?


#13

Unfortunately unmenu won't install 2.6 if it detects that 2.7 is installed. Maybe I'll try it manually...

Here's the link: https://app.dumptruck.goldenfrog.com/p/Vq3zpArAKB

Found it here: http://lime-technology.com/forum/index.php?topic=15319.15


#14

Cool, let us know the results and any steps you needed to make to get it installed :)


#15

Don't get me wrong, that 2.7.3 package works like a charm for plexconnect if you simply put it into the extra folder.

The only thing I'm stuck at is running unmenu/pyloads 2.6.4 beside 2.7.3 or making pyload run with 2.7.3


#16

Another thing I found out is that it's only possible to get plexconnect started by the go-script if the plexconnect folder is located at the flash drive.

I think the cache drive is not yet mounted, when the go script tries to start plexconnect.

Maybe you could add that to the guide :)

1. Download PlexConnect to your flash drive

2. Add following to your go-script: python /boot/plexconnect/PlexConnect.py &

3. Reboot

With this, plexconnect is automatically started on every boot.


#17

Another thing I found out is that it's only possible to get plexconnect started by the go-script if the plexconnect folder is located at the flash drive.

I think the cache drive is not yet mounted, when the go script tries to start plexconnect.

Maybe you could add that to the guide :)

1. Download PlexConnect to your flash drive

2. Add following to your go-script: python /boot/plexconnect/PlexConnect.py &

3. Reboot

With this, plexconnect is automatically started on every boot.

i'm no expert but does this run PlexConnect mostly in memory and not from flash drive? I don't want it to prematurely kill my flash drive.


#18

Yeah It shouldn't be writing much to the flash drive, not enough for you to worry about anyway.


#19

Hi,

i try it like the first post, but it dosnt work and i have no Idea...

Because 1, iam a Linux Noob and 2, my english is not very good....

i do it point for point but on the last Point:

nohup python /mnt/cache/apps/plexconnect/PlexConnect.py &"

There is only a Message:

nohup: ignoring input and appending output to 'nohup.out'

But there is all. the ATV nothing found...

i need Help :) 

edit: if i use my imac as Server, it works. But not with unraid....


#20

Has anybody an idea?