Plexconnect is a daemon that tricks your appleTV trailers “app” to access PlexMediaServer. The GUI appears/feels like Netflix. (After i wrote this guide i switched to docker)
Since I wrote this article, things have become a lot easier!
If you are familiar with docker you can just use mine:
If you are not familiar with docker:
Take my free Crash Course!
This guide assumes you already have Plexmediaserver up and running and am familiar with how to set a static IP (Which is needed for running plexconnect)
- Python 2.6.x with minor issues: ElementTree doesn’t support tag indices.
- Python 2.7.x recommended.
How to Install
Full “installation documentation” can be found here:
We start by downloading Plexconnect, moving it to a more suitable location, adding some sql keys & certificates for the appletv and then moving the certificates. Do this commands one at a time (Trippel click on each line and copy) .
wget https://github.com/iBaa/PlexConnect/archive/master.zip unzip master.zip sudo mv PlexConnect-master/ /opt/PlexConnect openssl req -new -nodes -newkey rsa:2048 -out ./trailers.pem -keyout ./trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com" openssl x509 -in ./trailers.pem -outform der -out ./trailers.cer && cat ./trailers.key >> ./trailers.pem mv trailers.* /opt/PlexConnect/assets/certificates/
Now we are going to make the unit file for the startup process:
(If you have installed Plexconnect somewhere else than “/opt/PlexConnect” you need to replace this path with yours in every step its mentioned)
sudo nano /etc/systemd/system/plexconnect.service
Paste the following: (Look under for Arch)
[Unit] Description=Plexconnect After=plexmediaserver.service [Service] Type=simple ExecStart=/usr/bin/python /opt/PlexConnect/PlexConnect.py User=root Group=root Restart=on-failure RestartSec=15 StartLimitInterval=10s StartLimitBurst=3 [Install] WantedBy=multi-user.target
For Arch (or based)
[Unit] Description=Plexconnect After=plexmediaserver.service [Service] Type=simple ExecStart=/usr/bin/python2.7 /opt/PlexConnect/PlexConnect.py User=root Group=root Restart=on-failure RestartSec=15 StartLimitInterval=10s StartLimitBurst=3 [Install] WantedBy=multi-user.target
Exit and save with: “Ctrl-x, Y, Enter”
Now we should set the right permissions for our unit file:
sudo chmod 644 /etc/systemd/system/plexconnect.service
Now we update systemd: (Not so sure this is needed any more but doesn’t hurt)
sudo systemctl daemon-reload
Start at boot:
sudo systemctl enable plexconnect.service
Now our service is ready and we can start it with:
sudo systemctl start plexconnect.service
You can check your service status with:
sudo systemctl status plexconnect.service
Finally, how to setup your apple-tv: