How to use iMovie Theater instead of the Trailers app

With plexconnect newer than 20. November 2013:

  1. Follow the tutorial here: http://langui.sh/201...l-plexconnect/. to install the certificate,
    but in the first command replace "trailers.apple.com" with "www.icloud.com". (You can have both certificates installed).
  2. Edit your "Settings.cfg" file:
    hosttointercept = www.icloud.com
    

    Enter:

www.icloud.com                  for the iMovies Theater App

trailers.apple.com              for the Trailers App. (default)

secure.marketwatch.com   for the WSJ App.

 

OLD Instructions:

[spoiler]

I consider this instructons to be quite difficult, so unless you know what you are doing continue using the Trailers app. :-)

 

  1. Follow the tutorial here: http://langui.sh/201...l-plexconnect/. to install the certificate,
    but in the first command replace "trailers.apple.com" with "www.icloud.com". (You can have both certificates installed).
  2. Edit "PlexConnect.py" and replace "trailers.apple.com" with "www.icloud.com" (at line 69). It should look like this:
                param['HostToIntercept'] = 'www.icloud.com'
    
  3. Edit "WebServer.py", find this part (about line 145)
                    if basename in ("application.js", "main.js") or \
                       basename.endswith(".js") and dirname == '/js':
                        if basename == "main.js":
                            basename = "application.js"
    

     

    and replace it with this:

                    if basename in ("application.js", "main.js", "javascript-packed.js") or \
                       basename.endswith(".js") and dirname == '/js':
                        if basename == "main.js" or basename == "javascript-packed.js":
                            basename = "application.js"
    

     (in Python the structure and the leading space characters in front of the code line are relevant)

  4. Restart your Apple TV to flush the DNS Cache.
    There you go ... :-)

    [/spoiler]
    As far as i can tell right now this patch doesn't affect ANY other functions of the Apple TV.
    - Not affected apps: Movie & TV Rentals, iTunes Radio, Home Sharing, Apple Special Event, iCloud Photos, Podcast, Radio
    - Not affected functions: iCloud Sign in/out (+Terms of Conditions), Activation, iPhone Remote, iTunes Sign in/out

    EDIT: fixed for plexconnect from today 12. November 2013
    EDIT2: added the compatibility test part.
    EDIT3: updated: the modifications are now part of the code

I can't find #3

Jupp. I had an old Code (form 10.10.2013) fix is comming in 5 min :-)

working perfectly now. this is great. thank you

Thanks for the tutorial Lucian.

Are other icloud features still working on ATv?  (icloud photos, podcasts, ...?)

In a prior version of his post he said he had no problems with other cloud services.

Thanks for the tutorial Lucian.

Are other icloud features still working on ATv?  (icloud photos, podcasts, ...?)

working for me

Thank guys for answers...

And btw, on the aTV, can we keep the previous certificate ? (As it, we can just come back to the PlexConnect official version easily, without reinstall the normal cert on aTV ?)

Keep both the Trailer cert profile and the iCloud cert profile on the ATV at the same time. Then you can move back and forth.

Thanks institute11 :)

I've did some compatibility tests and as far as i can tell right now ithis patch doesn't affect ANY other functions of the Apple TV.
- NOT affected apps: Movie & TV Rentals, iTunes Radio, Home Sharing, Apple Special Event, iCloud Photos, Podcast, Radio
- NOT affected functions: iCloud Sign in/out (+Terms of Conditions), Activation, iPhone Remote, iTunes Sign in/out
 

Nice!

+1 Nice ! Thanks Lucian for your tests :)

not suggesting anything, but is it possible to hijack movies app?

Not a good idea.

I also think it's not a good idea. It would mess up, Apples bussines model behind the Apple TV and it's probably not that hard for them to disable something like plexconnect completely.

nevermind just relaized i had an old version

stoffez, update to the last version of PlexConnect. Then, you will see the lines at 145 as described in the tutorial.

(actually, the lines to modify are located 40 lines down after the ones you found)

yes i know... it works like a charm.. i dident find em first then i realized i needed to update :) awesome work :)

This works great. Thank you.