Plex icon with Apple TV logo

Plex icon with Apple TV logoHijack iMovie Theatre or WSJ (Wall Street Journal) app instead of Trailers app to get Plex Media Server and PlexConnect running on your Apple TV. For Mac users, there is an app solution, called OpenPlex, for easy switching the Apple TV app you want to hijack. However, OpenPlex is not available for Windows systems. Therefore, you need to switch manually the app for hijacking.

PlexConnect hijacking Trailers app, iMovie Theatre and WSJ (Wall Street Journal) app

PlexConnect hijacking Trailers app, iMovie Theatre and WSJ (Wall Street Journal) app

Prerequisite: Before switching to hijack iMovie Theatre or WSJ (Wall Street Journal) app, you should have correctly installed PlexConnect according to the post “Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update“. This is important to be sure that Plexconnect is generally running on your Windows PC. The latest version of PlexConnect from Github needs to be downloaded, too. It will add the “hosttointercept” config parameter. Further more, you’ll need to add another certificate file onto your ATV. It can be installed alongside the one you’ve already installed in your profile.

Short instructions: You can also install 2 certificates (or even more) on your Apple TV and switch between iMovie Theater and Trailers app by changing two parameteres in the ‘settings.cfg‘ file (hosttoIntercept and certfile). To make this change effective, you have to restart PlexConnect and reboot the ATV3 (proved on my Acer Aspire 1810T running on Windows 8.1 Pro Update):

  1. Hijacking Trailers app: Generate the trailers.der, trailers.key and trailers.pem files (for trailers.apple.com).
  2. Hijacking iMovie app: Generate the iMovie.der, iMovie.key and iMovie.pem files (for www.icloud.com).
  3. Hijacking WSJ app: Generate the wsjapp.der, wsjapp.key and wsjapp.pem files (for secure.marketwatch.com).
  4. Install trailers.der, iMovie.der and wsjapp.der in the certificates repository.
  5. Create a single profile with the above three certificates (using iPhone Configuration Utility).
  6. Load that profile into the Apple TV (using iPhone Configuration Utility and a micro USB cable).
  7. Changing ‘Settings.cfg”:
  • ‘hosttoIntercept = www.icloud.com’ and ‘certfile = ./assets/certificates/imovie.pem’ for the iMovies Theater App.
  • ‘hosttoIntercept = secure.marketwatch.com’and ‘certfile = ./assets/certificates/wsjapp.pem’ for the WSJ App.
  • ‘hosttoIntercept = trailers.apple.com’and ‘certfile = ./assets/certificates/trailers.pem’ for the Trailers App. (default)

Notes:

  • Before all above 5 steps, I deleted all previous profiles from my Apple TV 3 running on Apple TV 7.0 software (beta 4) and on my Apple TV 3 running on Apple TV 6.2 software.
  • Hijacking Trailers app, iMovie Theatre and WSJ app works on Apple TV 6.2 software. However, hijacking iMovie Theatre on Apple TV 7.0 software (beta 4) gives back an error (KeyError: ‘baseURL’). Otherwise, Trailers app and WSJ app operate successfully on Apple TV 7.0 beta 4 software.
  • If you’re running PlexConnect on a Synology NAS, you have to copy the 6 files created in steps 1 & 2 to the Synology NAS using the instructions published by bwynants for the Synology installer package for PlexConnect  (replacing the 3 files included in his Synology installer).

Tutorial: Now you can start to hijack iMovie Theatre or WSJ app instead of Trailers app:

  1. Create certificate files for Windows (Step 2). However, you download and execute the file
    1. ATV Cert Create iMovie (cert_create_imovie.bat) for hijacking iMovie Theatre, automatically generating the 3 certificate files imovie.der, imovie.key and imovie.pem 
      ATV Cert Create iMovie
      ATV Cert Create iMovie
      cert_create_imovie.bat
      Version: 1.0
      340.0 B
      619 Downloads
      Details
      and/or
    2. ATV Cert Create WSJ (cert_create_wsjapp.bat) for hijacking WSJ app, automatically generating the 3 certificate files wsjapp.derwsjapp.key and wsjapp.pem.
      ATV Cert Create WSJ
      ATV Cert Create WSJ
      cert_create_wsjapp.bat
      Version: 1.0
      348.0 B
      474 Downloads
      Details
  2. Copy all iMovie and/or all WSJ app certificate files to default directory of your Windows PC (C:/).
  3. Copy all iMovie and/or all WSJ app certificate files to the PlexConnect certificates folder ( …/plexconnect/assets/certificates)
  4. Complete Apple TV configuration steps in the PlexConnect Install Guide (4 & 5 in Windows guide)
  5. Install the iMovie certificate file ‘imovie.der’ and/or the WSP app certificate file ‘wsjapp.der‘ on your Apple TV using either the method without USB (PlexConnect: Installling Certificates On Apple TV Without USB) or iPhone Configuration utility for Windows (Step 3 in the PlexConnect Setup guide). Thelater one seems to be the more stable one because I got sometimes problems to install certificate files using the ‘without-USB’-method. Further more, you can add at least 3 certificate files to one profile using the later option:
    1. Start the iPhone Configuration Utility. You should find the iPCU.exe file there: C:Program Files (x86)\iPhone Configuration Utility and click on ‘Configuration Profiles‘. Then click on ‘New+‘.
    2. Give it a Name and Identifier (I suggest one word without any special characters).

      Installing Multiple Certificates on Apple TV (Step 1): Setting up 1 configuration profile with 3 certificates

      Installing Multiple Certificates on Apple TV Step 1

    3. Scroll down and click on ‘Credentials‘, click on ‘Configure‘.

      Installing Multiple Certificates on Apple TV (Step 2):  Adding and configuring credentials for a configuration profile

      Installing Multiple Certificates on Apple TV Step 2

    4. Scroll down to find the certificate files you just created and installed. It is named ‘www.icloud.com‘ for the iMovie Theatre certificate file (imovie.der). Click on it and then click ‘OK‘:
    5. To add another certificate, click on the ‘+‘-button and scroll down to find the second certificate file you just created and installed. It is named ‘trailers.apple.com‘ for the Trailers certificate file (trailers.der). Click on it and then click ‘OK‘:
    6. To add another certificate, click on the ‘+‘-button and scroll down to find the second certificate file you just created and installed. It is named ‘secure.marketwatch.com‘ for the WSJ app certificate file (wsjapp.der). Click on it and then click ‘OK‘:
    7. I’ve done it three times to have all 3 certificate files installed: trailers.der, imovie.der and wsjapp.der:

      Installing Multiple Certificates on Apple TV, Step 9: Set up 1 configuration profile with 3 certificates

      Installing Multiple Certificates on Apple TV Step 9

    8. Now plug in your Apple TV 2 or 3 to a power source, wait till the light stops flashing and then connect it to the Windows PC via a micro USB cable. Wait till your Apple TV is recognized by your PC and the iPhone Configuration Utility program.
    9. Click on your device and then the Configuration Profiles tab.
    10. Click the install button. Wait till this button will have changed from ‘Install‘ to ‘Remove‘!
    11. Close the iPhone Configuration Utility and disconnect the Apple TV from the computer and connect the Apple TV to your TV. The profile with three certificates is correctly installed (Go to ‘General’, ‘Send data to Apple’, Push ‘Play’-button):
  6. Now edit the ‘Settings.cfg‘ file in thePlexConnect folder.
    1. If you want to hijack iMovie Theatre, change ‘hosttointercept = www.trailers.apple.com‘ to ‘hosttointercept = www.icloud.com‘ and ‘trailers.pem‘ to ‘imovie.pem‘. Or simply download ‘Settings_imovie.cfg‘, take instead of “ip_pms = 192.168.178.10″ (it’s the IP of my PMS in my network) the line of your original Settings.cfg file, rename it to ‘Settings’.cfg‘ and copy it to the PlexConnect folder to substitute the original one: 
      Settings iMovie Theatre
      Settings iMovie Theatre
      Settings_imovie.cfg
      Version: 1.0
      403.0 B
      145 Downloads
      Details
    2. If you want to hijack WSJ app, change ‘hosttointercept = www.trailers.apple.com‘ to ‘hosttointercept = secure.market.watch‘ and ‘trailers.pem‘ to ‘wsjapp.pem‘. Or simply download ‘Settings_wsjapp.cfg‘, take instead of “ip_pms = 192.168.178.10″ (it’s the IP of my PMS in my network) the line of your original Settings.cfg file, rename it to ‘Settings’.cfg‘ and copy it to the PlexConnect folder to substitute the original one: 
      Settings WSJ app
      Settings WSJ app
      Settings_wsj.cfg
      Version: 1.0
      411.0 B
      126 Downloads
      Details
  7. Change the DNS of your Apple TV to the IP-address of your Windows PC on which is Plex Media Server is running, following the part ‘Configuring your ATV’ of guide on github.
  8. Restart PlexConnect.py from C:\PlexConnect.
  9. Go to your Apple TV and try the app you want to hijack. It should be working now. Done! 🙂

PlexConnect can hijack iMovie Theatre or WJS app instead of Trailers app by adding new certificate files and adapting the ‘Settings.cfg’ file in the PlexConnect folder. Kudos to syphr and Lucian, both members of the Plex Forums for their original posts about hijacking Wall Street Journal app (WSJ) and iMovie Theatre app.

Stay tuned! 😉

About 

Hi there,

my name is Gee Are, blogger and analyst. Blogging is my Passion! I’m the founder and owner of the two blogs called pabst.socialmedia and miapple.me - Tech.Blog.

My work experience as a blogger and analysist (Internet Intelligence, SEO and social media) is the basis of the services of pabst.socialmedia.

Find more about me.

36 replies
  1. Usman
    Usman says:

    Hey Gee,
    One quick question: in the “Settings_wsjapp.cfg” there is a mention of following

    ip_pms = 192.168.178.10

    My entire network is based on 10.x.x.x, not on 192.x.x.x., do i need to modify this IP address and replace with the machine that is running OpenPlex/PlexConnect?

    Reply
    • Usman
      Usman says:

      Sorry for multiple questions: do i also have to modify the “settings” files with the python extension? because in it i see following string as well:
      (‘hosttointercept’ , (‘trailers.apple.com’, ‘[a-zA-Z0-9_.]+’))

      do i need to change ‘trailers.apple.com’ to ‘secure.marketwatch.com’ ?

      and
      (‘certfile’ , (‘./assets/certificates/trailers.pem’, ‘.+.pem’))
      to
      (‘certfile’ , (‘./assets/certificates/wsj.pem’, ‘.+.pem’))

      and
      (‘ip_pms’ , (‘192.168.178.10’, ‘([0-9]{1,3}\.)
      to
      (‘ip_pms’ , (”, ‘([0-9]{1,3}\.)

      Reply
      • Gee Are Pabst
        Gee Are Pabst says:

        Hi Usman,

        no, you don’t need to do so. The ‘Settings.py’ file should contain thes lines:


        IP_self: enable_plexconnect_autodetect, ip_plexconnect – manual override for VPN usage
        Intercept: Trailers-trailers.apple.com, WSJ-secure.marketwatch.com, iMovie-www.icloud.com

        This will choose the right link when you run PlexConnect.
        If you do not have these lines, you do not have the latest PlexConnect… 😉

        Cheers,
        Gee Are

        Reply
        • Usman
          Usman says:

          Okay, thanks Gee.
          Yes, it has the above lines that you stated.
          But it also has the lines that i posted. thats why i was not sure 🙂
          since i am trying to do the install/setup all over again, wanted to be sure before i did all of it.

          Reply
      • Usman
        Usman says:

        Hi Gee,
        As a last resort, i installed an OS X Mountain Lion image in VirtualBox.
        The OS X image is running, but when i try to install OpenPlex, it just keeps showing the install ring going on and on, but does not install anything. Any suggestions, what might be the reason? I have not been able to figure out why this is happening.

        Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Usman,

          I guess there are a lot things mixed up on your machine…

          I think the virtual machine cannot work from the scratch with Plex/PlexConnect/OpenPlex. Did you use the latest OpenPlex (is out just a few days)? I suggest to make a very new beginning: Delete OpenPlex and PlexConnect and freshly set it up with the latest OpenPlex.

          Cheers,
          Gee Are

          Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Usmann,

      oops, sorry, my mistake. Take instead of “ip_pms = 192.168.178.10” (it’s the IP of my PMS in my network) the line of your original Settings.cfg file (or change the Settings.cfg file according to the manual process)! I will correct and update this post…

      Cheers,
      Gee Are

      Reply
              • Usman
                Usman says:

                Not at all 🙂
                i was just reading thru it and thought you had overlooked that one 🙂

                Hey, quick one… when you say ofiginal Settings.cfg… can you past what does that line is in the original Settings.cfg file?

                i think i have mixed it up and lost the original file….

                Reply
                • Gee Are Pabst
                  Gee Are Pabst says:

                  You could do so, but the safer way is to delete it and restart PlexConnect. Then it should generate a new Settings.cfg. Otherwise you have to download it again and start PlexConnect.

                  Reply
                    • Usman
                      Usman says:

                      I don’t know what i am doing wrong, but the WSJ trailer app is still giving the same error that Trailers unavailable… when i look at the terminal window when i runt the PlexConnect app, it is not showing errors, it is letting the client (apple TV) access the script, but for some reason the error is not going away.

                      wanted to give this update to you.

                    • Gee Are Pabst
                      Gee Are Pabst says:

                      Did you restart your ATV, too? Can you see the Profile on your ATV?
                      Sometimes installing profiles seem to work, but they aren’t installed indeed. Repeat installing the profiles (just installing, not generating new ones).

                    • usman
                      usman says:

                      Yep – restarted the ATV, rechecked the profiles and certificates. Everything is showing up correctly…
                      that’s why I am very confused. I know it must be something very simple, but I cannot seem to pinpoint it.

                    • Usman
                      Usman says:

                      This is actually a fresh install. I am running a Mac OS X Mountain Lion image in VirtualBox. I am unable to install any app on this image. Trying to figure out what could be the problem. When i try to install an app, the icon just keeps going round and round and no activity happens.

                      Any idea why?

                    • Usman
                      Usman says:

                      Hi Gee,
                      Thanks – and no worries. I figured it out 🙂
                      it is finally running perfectly. OS X Mavericks in a VM (VirtualBox) and OpenPlex…….. now my Mac Air if free for use again 🙂

                      Thanks for all your patience and help!
                      –Usman

  2. Nathan
    Nathan says:

    Does one have to do these profiles thru the micro USB? When I installed plexconnect originally the step for a profile on the Apple TV was as follows:

    Install the certificate to your AppleTV

    Go to the AppleTV settings menu.
    Select “General” then scroll the cursor down to highlight “Send Data To Apple” and set to “No”.
    With “Send Data To Apple” highlighted, press “Play” (not the normal “Select” button) and you will be prompted to add a profile.
    Enter (without the quotes): “http://trailers.apple.com/trailers.cer”

    Don’t got a micro USB so this is why I;m asking, thanks

    Reply
  3. Al Shannon
    Al Shannon says:

    Tried all your steps and went just fine, but when setting the DNS server to manual accordingly, the profile simply does not get updated at the apple TV device via WiFi. since the iPhone configuration utility is no longer available do you have an alternate method to allow this process to take place?
    Great Job on putting this together!

    Reply

Trackbacks & Pingbacks

  1. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update and PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App […]

  2. […] Note: If you want to hijack another app than ‘Trailers‘, e.g. ‘WSJ‘ or ‘iMovie Theatre‘, have a look at the post ‘PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App‘. […]

  3. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update and PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App […]

  4. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update and PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App […]

  5. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update and PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App […]

  6. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update and PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App […]

  7. […] PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App Update: PlexConnect Running On Apple TV 6.2 Update Update: OpenPlex App Installs And Manages […]

  8. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update and PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.