Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple has removed the Trailers application that PlexConnect connects to #616

Open
fersilentt opened this issue Aug 10, 2023 · 9 comments
Open

Comments

@fersilentt
Copy link

I have turned on my Apple TV3 as usual but when I turn on the Trailers application does not appear, apparently Apple has removed this application, I would like to know if someone can help me to solve this, because I can not see any movie.

Thank you very much for your help

IMG_0220

@smoltz
Copy link

smoltz commented Aug 10, 2023

Same issue on Apple TV2 just a few hours ago

@fersilentt
Copy link
Author

fersilentt commented Aug 10, 2023

Same issue on Apple TV2 just a few hours ago

Hello friend, do you know any way to reinstall the Trailers application to be able to connect it with PlexConnect?

@moodyblue
Copy link
Collaborator

moodyblue commented Aug 10, 2023

Normally PlexConnect intercepts the trailers app. That's how PlexConnect was created, but since then it was discovered how to intercept other apps. I've just tested with WSJ Video and it is working.

Instructions on how to intercept WSJ Video instead of Trailers are in the Wiki https://github.com/iBaa/PlexConnect/wiki/Intercepting-another-App

Basically you have to create another certificate and edit some parameters in Settings.cfg

@fersilentt
Copy link
Author

Normally PlexConnect intercepts the trailers app. That's how PlexConnect was created, but since then it was discovered how to intercept other apps. I've just tested with WSJ Video and it is working.

Instructions on how to intercept WSJ Video instead of Trailers are in the Wiki https://github.com/iBaa/PlexConnect/wiki/Intercepting-another-App

Basically you have to create another certificate and edit some parameters in Settings.cfg

Thanks for the information, I will try to see how it goes with this configuration.

@mcsestak
Copy link

Hey thank you so much for this! I’ve updated the certs as detailed above. But I’m stuck on Add Profile for KorTV on the ATV3. Every url I enter, it says an error occurred while adding the profile [109]. Check url and try again.

@moodyblue
Copy link
Collaborator

Here are the relevant lines from my Settings.cfg to use WSJ Video:

intercept_atv_icon = True
hosttointercept = video-api-secure.wsj.com
icon = com.wsjlive.appletv.v2
certfile = ./certificates/marketwatch.pem

Then in the certificates folder I have these files

marketwatch.zip

Finally, lo load the certs in the ATV I use http://video-api-secure.wsj.com/marketwatch.cer

@mcsestak
Copy link

@moodyblue Flawless - it works perfectly. Thank you so much for the detailed instructions. My ATV3 is back up and running!

Guess I can return the Nvidia Shield Pro which I bought thinking my ATV3 was toast. Really disappointed by the Google OS on the Shield - it's completely overridden with ads. It seems Amazon/Google keep blocking the various Launchers and "Launch on Boot" applications that are released. So people buy a $200 device that's filled with ads? And each day people get to see the next thing they're marketing to the masses.

Thank you, Plex Connect. 😊

@fersilentt
Copy link
Author

fersilentt commented Aug 12, 2023

Thanks friends for your comments, here is a little tutorial on how it worked for me.

Server: Mini Mac with Mac High Sierra 10.13
Application: PlexConnect-0.7.4

  1. We generate the certificates by replacing -subj "/C=US/CN=trailers.apple.com" with -subj "/C=US/CN=appletv.flickr.com", which is the application we want to intercept.

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

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

  1. Once the certificates have been generated, we change the name of the new application we want to intercept, so as not to confuse it with the Trailers application, remaining in the following way

flickr.cer
flickr.key
flickr.pem

  1. Copy the certificates to the PlexConnect directory

/Applications/PlexConnect-0.7.4/assets/certificates

  1. We edit the file "Settings.cfg" inside the folder "PlexConnect-0.7.4" and edit the following line by the name that we have changed in the certificate, remaining as follows

certfile = ./assets/certificates/flickr.pem

  1. Again in the file "Settings.cfg" inside the folder "PlexConnect-0.7.4" we edit the following line to add the "hosttointercept", of the application of "Flickr" application, remaining in the following way

hosttointercept = appletv.flickr.com

  1. We start the "PlexConnect" service.

cd /Applications/PlexConnect-0.7.4/

sudo ./PlexConnect.py

Now if everything runs correctly we will see the following message

Aug 11,2023 08:36:44 PlexConnect: ***
Aug 11,2023 08:36:44 PlexConnect: PlexConnect
Aug 11,2023 08:36:44 PlexConnect: Press CTRL-C to shut down.
Aug 11,2023 08:36:44 PlexConnect: ***
Aug 11,2023 08:36:44 PlexConnect: Started
Aug 11,2023 08:36:44 PlexConnect: Version: 0.7.4-210621
Aug 11,2023 08:36:44 PlexConnect: Python: 2.7.10 (default, Oct 6 2017, 22:29:07)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
Aug 11,2023 08:36:44 PlexConnect: Host OS: darwin
Aug 11,2023 08:36:44 PlexConnect: PILBackgrounds: Is PIL installed? False
Aug 11,2023 08:36:44 PlexConnect: IP_self: 192.168.0.40
Aug 11,2023 08:36:44 DNSServer: Started
Aug 11,2023 08:36:44 DNSServer: Intercept Atv Icon: Enabled
Aug 11,2023 08:36:44 DNSServer: Prevent Atv Update: Enabled
Aug 11,2023 08:36:44 DNSServer: ***
Aug 11,2023 08:36:44 DNSServer: DNSServer: Serving DNS on 192.168.0.40 port 53.
Aug 11,2023 08:36:44 DNSServer: intercept: ['appletv.flickr.com', 'a1.phobos.apple.com'] => 192.168.0.40
Aug 11,2023 08:36:44 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
Aug 11,2023 08:36:44 DNSServer: forward other to higher level DNS: 8.8.8.8
Aug 11,2023 08:36:44 DNSServer: ***
Aug 11,2023 08:36:44 WebServer: Started
Aug 11,2023 08:36:44 WebServer: ***
Aug 11,2023 08:36:44 WebServer: WebServer: Serving HTTP on 192.168.0.40 port 80.
Aug 11,2023 08:36:44 WebServer: ***
Aug 11,2023 08:36:44 WebServer: Started
Aug 11,2023 08:36:44 WebServer: ***
Aug 11,2023 08:36:44 WebServer: WebServer: Serving HTTPS on 192.168.0.40 port 443.
Aug 11,2023 08:36:44 WebServer: ***

  1. Now in our AppleTV we add in the DNS of the Apple TV the ip of our the ip of our computer that is going to work as a server

  2. In our AppleTV we add the trailers profile as normally done

IMG_0229

  1. Once the profile is added we will see that the profile of the application we want to intercept is added

IMG_0226

  1. Finally we enter to the intercepted application, we log in with our Plex account and it will work correctly.

@fersilentt
Copy link
Author

fersilentt commented Aug 12, 2023

Here are the relevant lines from my Settings.cfg to use WSJ Video:

intercept_atv_icon = True
hosttointercept = video-api-secure.wsj.com
icon = com.wsjlive.appletv.v2
certfile = ./certificates/marketwatch.pem

Then in the certificates folder I have these files

marketwatch.zip

Finally, lo load the certs in the ATV I use http://video-api-secure.wsj.com/marketwatch.cer

Hi friend I'm following your comment to intercept the RedBullTV app, but I'm stuck on adding the certificate on Apple TV which is the following http://appletv.redbull.tv/redbulltv.cer

But when I enter it gives me error 109, Unable to add profile

Maybe you know the RedBullTV profile, to add on my AppleTV and it works correctly.

Thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants