Howto install PlexConnect, Assumed you installed PMS this way http://www.forums.nas4free.org/viewtopic.php?f=79&t=4971
Enter the previously created jail for the PMS server. (Replace 1 with your Jail ID)
jexec 1 csh
Install git and download PlexConnect
pkg_add -r git git clone https://github.com/iBaa/PlexConnect.git cd PlexConnect/ git pull
Installing Pyton27, Nano(Text editor) and Bash
pkg_add -v -r python27 pkg_add -v -r bash pkg_add -v -r nano
And exit the jail and copy a previosly made cert. file to correct folder in Jail. https://langui.sh/2013/08/27/appletv-ssl-plexconnect/
EXIT cp /mnt/PATH_TO/trailers.pem /mnt/PATH_TO/Jail/plex/PlexConnect/assets/certificates/
jexec 1 csh cd PlexConnect/
Start PlexConnect so it creates Settings.cfg
./PlexConnect.py
When it started Exit using CTRL + C
nano Settings.cfg
Change the 2 lines below
ip_pms = 10.0.0.30 # This one you have to change to your Jail IP address enable_plexgdm = False # This one you have to change from True to False
To start PlexConnect
bash /PlexConnect/PlexConnect_daemon.bash start
To verifiy its running you can replace start with status.
EDIT: as of 12. Feb 2015 I couldn't sign into Myplex causing me to loose movie previews/covers and all other art. The reason was discovered here by SaschaPlex, here.
To fix it run:
ln -sf /usr/local/etc/ssl/cert.pem /etc/ssl/cert.pem
Next steps is to make PlexConnect start on boot. Made possible by traxinv, go the original guide "Make PlexConnect start with the os" and follow instruction there.
Make PlexConnect start with the OS:
- Okay. I am not a linux Guru and I am writing this as I go along so bear with me.
- Basically as I understand it (correct me if I am talking crap), if you want something to start at boot time you need to add a script to /etc/rc.d folder,
- Since each jail runs its "own" little os within the jail you want the startup script to start when the vm is booted.
....
...
..
To Update, enter your jail ( jexec 1 csh ) and do this:
cd PlexConnect git pull service plexconnect stop service plexconnect start
EDIT: Edited out the part of installing "screen" and using it because PlexConnect now includes a daemon.
EDIT2: Replaced /bin/sh /PlexConnect/PlexConnect_daemon.bash start with bash /PlexConnect/PlexConnect_daemon.bash start after update of daemon code.
EDIT3: Included "bash" in the install section.
EDIT4: Included howto update
EDIT5 12.02.2015: Issue with login MyPlex because of SSL verification, added this to the guide.