📜 ⬆️ ⬇️

Restoring PlexConnect for Apple TV

Introduction


On August 27, an update arrived that broke the algorithm for playing video from this article on Apple TV through PlexConnect. Notable for this algorithm was that it even worked on Apple TV 3 for which there is no jailbreak. His main principle was to replace the data of the Trailers application, so that the Plex media library could be played.

So on August 27th Apple updated this application. This update was made without any requests in quiet mode. Now "Trailers" are forcibly working through a secure connection. Simply updating PlexConnect scripts does not solve the situation.

The exit was found by Paul Koher. The proposed method earned me.

We will need:
')
1) Apple Configurator (Available only on OS X 10.7+.)
2) Micro USB cable
3) Latest PlexConnect version

Creating a certificate


Now you need to create a certificate.

In the terminal we start one by one:

openssl req -new -nodes -newkey rsa:2048 -out ~/Desktop/trailers.pem -keyout ~/Desktop/trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"

openssl x509 -in ~/Desktop/trailers.pem -outform der -out ~/Desktop/trailers.cer && cat ~/Desktop/trailers.key >> ~/Desktop/trailers.pem

So we have three files: trailers.key, trailers.pem and trailers.key on the desktop.

Creating a profile


Apple Configurator Method (Mac OS only)

After starting the program, we set everything as in the screenshot:
image

Now click “install Profiles ...”. We connect Apple TV through Micro-USB. After the program has defined it click "Next".

Now you need to create a profile. Click the button "New ...".

image

On the “General” tab, enter a name in the “Name” field, say “atv-fix”.
On the “Certificate” tab, click the “Configure” button and select the “trailers.cer” certificate created earlier.
Now press the "Save" button.

image

Mark our created profile and click “Next”.

PlexConnect preparation


Now you need to move the trailers.pem file to the assets / certificates folder.

Is done. Now you can run PlexConnect.

Source: https://habr.com/ru/post/198740/


All Articles