How to Install Plex on Apple TV 2G

by tomek on November 4, 2010


plex apple tv 2g How to Install Plex on Apple TV 2G

UPDATE: Plex client for Apple TV 2 has been updated to version 0.10. Read here how to get and install it.

This is just awesome: iOS hacker quiqueck made it to install Plex on the jailbroken Apple TV 2. Based on the open-source XBMC, Plex now works as a client for your ATV and lets you stream nearly any kind of video from your server (read your Mac). Plex for ATV2 is just a “proof of concept” so it is still buggy, tricky to install and limited to video playback (no music files, no images, no App-Management) but anyway, this is looking really good for the future of Apple TV2 applications (after the Weather app, this is the second iOS app that works on the new Apple TV).

Here are the detailed instructions given by quiqueck and a step-by-step video tutorial brought to you by iphoneblogr.com

Prepare the Media Server

Before you install the actual plugin you need to prepare the Plex Media Server (it needed some tweaks before it would talk to the ATV). Since those changes are considered ‘beta’, you need to tell your PMS to download beta plug-ins, by enetering the following URL in a Safari running on the same machine as the media server: http://localhost:324…s/set?AS_BETA=1

After that start Plex and check for updates in the PlexOnline section.

Enable a higher Quality (optional)

This part is optional, but if you feel like experimenting a lot, you might want to install a testing built of ffmpeg, that enables higher bitrates for the (currently) highest available quality (which is the only quality your ATV will use). This will also increase the image quality on other iOS devices, however you will need a potent Mac for the encoding! So If you still feel like installing use the following two commands in a Terminal on the Mac running your Media Server:

curl http://ambertation.de/downloads/PLEX/ffmpeg > ~/Downloads/ffmpeg
cp ~/Downloads/ffmpeg ~/Library/Application\ Support/Plex/Plex\ Media\ Server.app/Contents/Resources/

If you not use this, the plugin will still work, but the image-quality might not be on par with what you expect.

Install the Plugin

First off: you need to Jailbreak your Apple TV. A nice little instruction can be found on awkwardtv.org. I suggest you use the Pawnage method. For the sake of the following instruction I assume thet the IP-Address of your ATV is 169.10.11.12, and that you can log in using ssh.

  • Start your ATV and log in to your ATV using ssh
    ssh root@169.10.11.12

    It will ask you for your password, which (if you did not change the default) is alpine. (I strongly suggest you change the password using the passwd command!!!)
  • In that ssh session, you need to add new cydia sources using
    echo "deb http://apt.awkwardtv.org ./" > /etc/apt/sources.list.d/awkwardtv.list
    echo "deb http://www.ambertation.de ./downloads/PLEX/" > /etc/apt/sources.list.d/plex.list
  • Now update your cydia database using
    apt-get update
  • Install the plugins (and its dependencies like beigelist by DHowett) with
    apt-get install plex-client-plugin
  • Restart the GUI and hope that it comes back
    killall Lowtide

    If the UI does not come up again, you probably have to restore your ATV!

That is it. You should see the PLEX menu item now. If you experience any problems (which you almost certainly will ) just report back here. But remember the ATV is just a hobby.

Updating the Plugin

Once in a while I might release an updated version for the plugin, so once in a while you might want to check for updates and install them. Here is how that will work:

  • Start your ATV and log in to your ATV using ssh
    ssh root@169.10.11.12
  • In that ssh session enter
    apt-get update
    apt-get upgrade

Known Issues
The Software so far is nothing more than a proof of concept, which isn’t tested at all. However there are some known issues:
- “Local Servers” screen does only update when you press the up or down button on your remote
- Larger Sections timeout while they are loaded and do never show up
- Only Video playback is working (no music files, no images, no App-Management)

[via Plex Forum, iphoneblogr.com]

  • Appletvfan

    Cool, I can’t wait to test it.

  • tricky

    The installation was quite complicated but IT WORKS! Thanks!
    Any other apps coming soon?

  • Pingback: How to Install Plex on Apple TV 2G

  • Marc

    I want DLNA in my atv 2, please!!!!

  • sj

    Isn’t there any problem to get ATV back to original firmware?

  • Alex

    Can you install Plex on the Apple TV and just stream from a NAS?

  • http://twitter.com/haredx haredx

    For anyone having issues during installation, please refer to this post http://iphoneblogr.com/2010/11/errors-occurring-when-installing-plex-on-apple-tv-2g/

  • Pingback: Jailbreak Apple TV 2.0 | Lega Nerd

  • Juanes

    If i type http://localhost:32400/system/:/prefs/set?AS_BETA=1 i get a 404 Not Found page in Safari. What i’m i doing wrong?

  • Wakkedoff

    I can’t get these commands to work:

    curl http://ambertation.de/downloads/PLEX/ffmpeg > ~/Downloads/ffmpeg
    cp ~/Downloads/ffmpeg ~/Library/Application Support/Plex/Plex Media Server.app/Contents/Resources/

    Has anyone had a successful install of this?

  • http://www.mdjcm.com MDJCM

    Cant WAIT till a full release is achieved, i hope these guys can do it!

    Such a cool little box, go Homebrew!

  • Hans

    I would also like to know that.

  • Bennson

    Is the source down!?????

    AppleTV:~ root# echo “deb http://awkwardtv.dyndns.tv ./” > /etc/apt/sources.list.d/awkwardtv.list
    AppleTV:~ root# echo “deb http://www.ambertation.de ./downloads/PLEX/” > /etc/apt/sources.list.d/plex.list
    AppleTV:~ root# apt-get update
    Hit http://dl.firecore.com Release.gpg
    Hit http://dl.firecore.com Release
    Hit http://apt.thebigboss.org stable Release.gpg
    Hit http://cydia.zodttd.com stable Release.gpg
    Get:1 http://awkwardtv.dyndns.tv ./ Release.gpg [197B]
    Hit http://apt.saurik.com tangelo-3.7 Release.gpg
    Hit http://nitosoft.com Release.gpg
    Hit http://apt.modmyi.com stable Release.gpg
    Hit http://cydia.zodttd.com stable Release
    Hit http://apt.thebigboss.org stable Release
    Hit http://apt.saurik.com tangelo-3.7 Release
    Get:2 http://awkwardtv.dyndns.tv ./ Release [278B]
    Ign http://dl.firecore.com Packages/DiffIndex
    Hit http://nitosoft.com Release
    Ign http://awkwardtv.dyndns.tv ./ Release
    Get:3 http://apt.modmyi.com stable Release [1328B]
    Hit http://dl.firecore.com Packages
    Hit http://cydia.zodttd.com stable/main Packages/DiffIndex
    Get:4 http://awkwardtv.dyndns.tv ./ Packages [3853B]
    Hit http://apt.thebigboss.org stable/main Packages/DiffIndex
    Ign http://nitosoft.com Packages/DiffIndex
    Ign http://apt.saurik.com tangelo-3.7/main Packages/DiffIndex
    Hit http://apt.saurik.com tangelo-3.7/main Packages
    Hit http://apt.modmyi.com stable/main Packages/DiffIndex
    Hit http://nitosoft.com Packages
    Err http://www.ambertation.de ./downloads/PLEX/ Release.gpg
    POSIX: Operation timed out
    Ign http://www.ambertation.de ./downloads/PLEX/ Release
    Ign http://www.ambertation.de ./downloads/PLEX/ Packages
    Ign http://www.ambertation.de ./downloads/PLEX/ Packages
    Err http://www.ambertation.de ./downloads/PLEX/ Packages
    POSIX: Operation timed out
    Fetched 5656B in 6min 15s (15B/s)
    W: GPG error: http://awkwardtv.dyndns.tv ./ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 89711CE585F73AB5
    W: Failed to fetch http://www.ambertation.de/./downloads/PLEX/Release.gpg POSIX: Operation timed out

    W: Failed to fetch http://www.ambertation.de/./downloads/PLEX/Packages.gz POSIX: Operation timed out

    E: Some index files failed to download, they have been ignored, or old ones used instead.
    AppleTV:~ root# apt-get install com.plex.client-pluginReading package lists… Done
    Building dependency tree
    Reading state information… Done
    com.plex.client-plugin is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
    1 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Setting up com.plex.client-plugin (0.4.8-2) …
    No matching processes were found
    dpkg: error processing com.plex.client-plugin (–configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    com.plex.client-plugin
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    AppleTV:~ root#

  • Eric Jarvies

    The following instructions will get you going with PLEX on a ATV2 4.2.1 firmware:

    -ssh root@ip.address.of.appletv

    -cd /private/var/root/

    -wget http://dl.dropbox.com/u/16129573/com.nito.deb

    -echo “deb http://apt.awkwardtv.org ./” > /etc/apt/sources.list.d/awkwardtv.list
echo

    -“deb http://www.ambertation.de ./downloads/PLEX/” > /etc/apt/sources.list.d/plex.list

    -wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add -

    -dpkg -i com.nito.deb

    -apt-get update

    -apt-get install com.plex.client-plugin

    -rm /var/lib/dpkg/info/com.plex.client-plugin.postinst

    -apt-get install com.plex.client-plugin

    -ln -s /Applications/Lowtide.app/Appliances/PLEX.frappliance/ /Applications/AppleTV.app/Appliances/PLEX.frappliance

    -apt-get install beigelist

    -killall AppleTV

    -apt-get update

    -apt-get upgrade

    Good luck!

    Eric Jarvies

  • http://twitter.com/MDJCM Marcos Moreno

    Is there a Blog with more updates on this? I’d love to be kept more up to date on how Plex on Apple TV is getting on

  • Pingback: Seas0nPass Is The Simplest Apple TV Jailbreak Yet | Gizmodo Australia

  • Paul

    So does this equal Hulu Plus on the Apple TV 2G? I haven’t played around with Plex before…

  • Pingback: Seas0nPass Jailbreaks Your Apple TV In A Jiff | Ebay shopping tips

  • Pingback: Seas0nPass Jailbreaks Your Apple TV In A Jiff » Jailbreak for iOS

  • Pingback: Seas0nPass Jailbreaks Your Apple TV In A Jiff | LETS BEEP Blog

  • Pingback: Today’s Links | SnipBids Blog

  • Pingback: Seas0nPass Jailbreaks Your Apple TV In A Jiff / Brainyloft Press

  • Pingback: To Click Or Not? | Seas0nPass: “απελευθερώνοντας”, ευκολότερα, την Apple TV

  • Pingback: Seas0nPass Jailbreaks Your Apple TV In A Jiff | GadgetFun

  • girel

    Worked beautifully. Thanks!

    Laurie

  • Pingback: Oh, Sugar! » Seas0nPass Jailbreaks Your Apple TV In A Jiff

  • http://pulse.yahoo.com/_C7XAQCFRNCIBN7THBO4IFZ242Y Billy Jack

    I have the DNS-321 NAS and found that I am required to run the Plex server on my iMac with my media stored on my NAS. If you have a similar setup, I’d recommend upgrading to gigabit switches (if relevant).

  • Yogi

    Hi,

    I’m probably a bit late to the party but…I still can’t find the answer to this question 5/12 on.

    I have PLEX running on my AppleTV2 (JB using SeasOnPass) which works when my Macbook is switched on and running PLEX (as the PMS) but the add-ons installed in PLEX on the Macbook do not appear on the ATV2. I have not figured out how to add these items (e.g BBC iPlayer) to the ATV2 if it is possible anyway, yet?

    I have however installed XMBC and this finds my Buffalo NAS Linkstation and files stored therein. It does crash with certain video files and I haven’t figured out why yet as they were all ripped from my DVD collection using Handbrake. So be warned, but the XMBC interface is nice and I like the listing and the ability to reduce TV shows by name.

  • Jbenmore

    Getting really poor quality on Plex through Apple TV. Have tried the above higher quality but my MBP just makes a lot of noise when they are entered in terminal. Any ideas?

  • http://profiles.google.com/ameergittens Ameer Gittens

    Had that problem too, until I disabled “hardware acceleration” and set the a/v sync method to “audio clock”.  These are found under settings | video | playback

  • Johan

    curl http://ambertation.de/downloads/PLEX/ffmpeg > ~/Downloads/ffmpegwhat to use in Lion OS X????

  • Jesper

    I must be missing something. If I have to run the server in my Mac anyway then what is the point fo having it on an Apple TV? For me the point of this app would be to replace the Mac mini as my media server and use Plex to stream from my NAS. I realize the ATV might not be up for this task however, and it is infuriating that you have to jailbreak it in order to install proper media servers on it.

    A big thank you to the developers none the less.

  • Johan

    How to enable “Enable a higher Quality (optional)” in Lion?
    The instructions work under Leopard…Thanks in advance.
    This part is optional, but if you feel like experimenting a lot, you might want to install a testing built of ffmpeg, that enables higher bitrates for the (currently) highest available quality (which is the only quality your ATV will use). This will also increase the image quality on other iOS devices, however you will need a potent Mac for the encoding! So If you still feel like installing use the following two commands in a Terminal on the Mac running your Media Server:curl http://ambertation.de/downloads/PLEX/ffmpeg > ~/Downloads/ffmpegcp ~/Downloads/ffmpeg ~/Library/Application Support/Plex/Plex Media Server.app/C

  • Am15h2000

    Ive got plex on my APTV and the server on my pc, when i play a movie on the tv, all i get is a splash screen and nothing else., any ideas?

  • Pqdypotato

    I followed all the instructions didnt seem to get it work. then after installing and running overflow i found plex was on the atv. however when i run it, its blank. whats the problem? should it just open with all my movies on it or is there some setup I have to do?

  • Pqdy

    I followed all the instructions didnt seem to get it work. then after installing and running overflow i found plex was on the atv. however when i run it, its blank. whats the problem? should it just open with all my movies on it or is there some setup I have to do?

  • http://twitter.com/real_varera varera

    the idea is that IF you have Plex server already, you can stream on many devices, and APT is one of them. Say you have mac mini as Plex server/client in your living room. Now with APT you could have Plex in your bedroom too.

    An alternative is to run Plex server on your NAS directly. Some NAS systems have server applications ported.

  • Droopy310

    thanks man

Previous post:

Next post: