Welcome to PlexConnect FAQ:
This post will try to answer some common questions related to the use of PlexConnect, a non-official Plex client for AppleTV2&3 platforms.
Questions:
- Q01: What are the specs of ATV2 and ATV3 ?
- Q02: Video transcoding
- Q03: Audio transcoding
- Q04: Using the ATV remote for better viewing experience
- Q05: Plex features not supported by PlexConnect
- Q06: Can PlexConnect be used to manage remote ATV’s ?
- Q07: PlexConnect does not find any Plex Media Server
- Q08: How to generate certificates (Windows 64-bit)
- Q09: How to load certificates in the AppleTV
- Q10: How to hijack another application instead of trailers
- Q11: My ATV used to work but now has a strange behaviour
- Q12: PlexConnect fails to start in Windows 10
- Q13: How to change icon to Plex Icon
- Q14: How to Update PlexConnect
- Q15: When I click on
trailers
I only see a spinning circle - Q16: Intermittent connection issues
- Q17: Plex Home
- Q18: SSL: CERTIFICATE_VERIFY_FAILED
- Q19: PlexConnect won’t sign in
Q1 - What are the specs of ATV2 and ATV3 ?
ATV2 - Apple TV (2nd generation) - Technical Specifications
ATV3 - Apple TV (3rd generation) - Technical Specifications
Video and/or audio with other specs should transcode in order to play.
Back to top
Q2 - Video transcoding
Whenever you want to stream a file whose specs are different from above PlexConnect will request a transcoding decision to PMS. You should use ATV settings (screen panel on each ATV) to specify its maximum allowed bitrate (which is 14MBps for ATV2, and 20 Mbps for ATV3). If you specify higher bitrates than these the ATV may hang (or not) during playback and power recycle will be needed to return it to normal.
Subtitles require transcoding if they are embedded. External .srt subtitles are supported natively and do not require transcoding
Back to top
Q3 - Audio transcoding
ATV’s can decode AAC and MP3 natively, and can passthrough other audio tracks to TV/amplifier. PlexConnect has Dolby Digital disabled by default because most TV/amplifiers do not support it. If your TV/amplifier can’t play AC3 you must leave it disabled. This will force audio transcoding of AC3 audio tracks to Stereo.
But if you have your ATV connected to a TV (or amplifier) that accepts AC3 (Dolby Digital) you can enable Dolby Digital
(in Apple settings, and also in PlexConnect settings). PMS will then stream AC3 audio tracks without transcoding them. AAC 5.1 wil be transcoded to AC3 5.1.
Dolby Digital=auto
can cause problems with PlexConnect and should be avoided.
In summary, both parameters (Apple’s and PlexConnect’s) should be either On
or Off
depending on your audio device. If you have no sound with Dolby On
then DD is not supported by your TV (or amplifier).
Warning: Setting Dolby Digital
to on
in PlexConnect, and to Off
or Auto
in ATV Settings will prevent playback (ATV pauses or gives error messages that film can’t be played). Such combinations cannot be used. Unfortunately PlexConnect can’t validate these situations.
Back to top
Q4 - Using the ATV remote for better viewing experience
Secret Apple TV remote controls: Fifteen button combos to power up your viewing! | iMore - please note that some features, such as chapter navigation
, are only available in DirectPlay situations
Back to top
Q5 - Plex features not supported by PlexConnect
There are many Plex features referenced here but some of them are not available in PlexConnect, such as:
- Flinging
- Plex News
- Inline Collections (non-hybrid collections are supported)
- PlexConnect also has some limitations with the support of Photo Albums - if they contain videos PlexConnect will not see them. You need to create a separate library for videos
Back to top
Q6 - Can PlexConnect be used to manage remote ATV’s ?
No. PlexConnect and ATV’s should be installed in the same LAN. If you have a jailbroken ATV2 you can install PlexConnect in it. Otherwise you need to install PlexConnect in a separate device. Plex servers can be remote (logging the ATV to plex.tv).
Back to top
Q7 - PlexConnect does not find any Plex Media Server
From Oct 1st, 2020 onwards this announcement may impact PlexConnect:
- If you have PlexConnect installed in the ATV2/3 you can’t login it to plex.tv, therefore you can’t access remote PMS, or use plex pass. But you can use your local PMS
- If you have PlexConnect installed in other platform, you need to install python 2.7.9 or higher (2.7.18 recommended)
If you opt for option 1. these are the steps to access a local PMS:
- Identify the IP assigned to the ATV and parametrize PMS (see below)
- SSH to the ATV3 and stop PlexConnect (see Wiki)
- Edit
Settings.cfg
so thatenable_plexgdm = False
andip_pms = x.x.x.x
(where x.x.x.x is the ip address of Plex Media Server) - Start PlexConnect
If you are using PlexConnect with PMS 1.1.0+ please note that Plex clients need to be logged in to plex.tv (and this is mandatory to use Plex Home), or use an IP that is authorized to access PMS without login. If you opt to use the latest method you need to authorize both the IP of the machine where PlexConnect is running and the IP of all ATV’s, as in the following example (no spaces allowed):
You can also authorize the whole LAN with 10.100.10.100/24 but this should be avoided if you also use reverse proxy, because then you are going to open PMS to the whole world.
In above examples replace 10.100.10.xx with your actual IP addresses.
Back to top
Q8 - How to generate certificates (Windows 64-bit)
Certificates can be copied between platforms, but in case you don’t have certificates, or your certificates have expired, you can use Windows to generate them:
- Download OpenSSL from here and unzip to
c:\OpenSSL
- Open a CMD session and give the following commands
cd c:\OpenSSL
copy bin\openssl.cnf *
bin\openssl req -new -nodes -newkey rsa:2048 -out trailers.pem -keyout trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com" -config openssl.cnf
bin\openssl x509 -in trailers.pem -outform der -out trailers.cer
type trailers.key >> trailers.pem
- copy
trailers.pem
trailers.cer
andtrailers.key
to the PlexConnectcertificates
folder
Q9 - How to load certificates in the AppleTV
Ensure that PlexConnect is running and follow these steps in the ATV:
2. open AppleTV’s Settings
app
3. Select General
and select Network
4. set the DNS server to the network connection to the IP address of your PC (or NAS)
5. Again Select General
, highlight Send Data To Apple
and press Play
on the remote (very briefly)
6. Remove any older profile listed here
7. Select Add Profile
8. Enter (ip of PlexConnect)/trailers.cer
9. Reboot the ATV
Q10 - How to hijack another application instead of trailers
Yes. OpenPlex and the Synology installer already allow this. For the remaining users:
- The certificates need to be generated for another URL (where it reads
trailers.apple.com
inQ8 step 5.
you need to specify another URL, see list below). You can usetrailers
as the name for the certificates or choose another name - You need to modify
hosttointercept
inSettings.cfg
for the URL to intercept (see list below) - If you change
trailers
as the name for the certificate, then you need to modify thecertfile
parameter inSettings.cfg
to specify the correct name - Restart PlexConnect so that it picks the changes in
Settings.cfg
- Load the cert in the ATV following Q9 (changing cert name if needed)
List of URL names for each ATV app:
3. iMovies - www.icloud.com
4. WSJ Video - video-api-secure.wsj.com
5. Trailers - trailers.apple.com
Other URL’s listed here may also work.
Back to top
Q11 - My ATV used to work but now has a strange behaviour
For unknown reasons the ATV can work during several weeks and then start showing strange behaviours, such as rebooting in the middle of a film. It is believed that this is due to buffer overruns, or other causes that corrupt the firmware.
The recommended procedure is to restore the ATV to factory settings (reloading the latest firmware). When this finishes you need to complete the ATV setup, which includes rearranging apps in the initial page, loading the certificate required by PlexConnect, specifying the fixed DNS, activating dolby digital if needed, etc.
Back to top
Q12 - PlexConnect fails to start in Windows 10
The following services can block ports used by PlexConnect:
- VPN - Can block port 443
- IIS - Will block port 80
Q13 - How to change icon to Plex Icon
Please follow the instructions here (only works from v0.6 onwards)
Back to top
Q14 - How to Update PlexConnect
To update Plexconnect:
- Stop PlexConnect
- Unzip the new version over the existing one (certificates and settings are preserved)
- Start PlexConnect
Q15 - When I click on trailers
I only see a spinning circle
This can be caused by several situations:
- PlexConnect is not active
- Timezone and hour of the ATV are incorrect
- Python 2.7.8 or older (plex.tv login requires python 2.7.9+)
Q16 - Intermittent connection issues
If you are experiencing this issue and you log showns DNSServer: Warning: DNS error (10054): An existing connection was forcibly closed by the remote host
this may be caused by a Firewall. Avast can cause it.
Back to top
Q17 - Plex Home
In order to use Plex Home your ATV needs to be logged in to plex.tv
Back to top
Q18 - SSL: CERTIFICATE_VERIFY_FAILED
If PlexConnect.log
contains this error message you can try this
Back to top
Q19 - PlexConnect won’t sign in
See Q07.
Back to top