Is there any way to control an Apple TV 1st gen either through terminal connection or a web interface (ideally using a REST interface)?

By "control" I mean don't mean "control everything". One example use-case would be: Give the ATV a MP3 stream URL and have it play.

If some kind of "hacking" or plugin is involved, that's ok!

  • 1
    I think you need to be a little more clear about what your goals are in doing this. It'd be great to know exactly what you want to accomplish and why so we can provide the best answer possible. Thanks!
    – Matt Love
    Jan 13, 2012 at 2:07
  • I guess I'm just asking, is it possible to hack any kind of "scripting interface" or "API" onto the ATV, which could be accessed via web or terminal?
    – themirror
    Jan 19, 2012 at 1:04

2 Answers 2


No, there is no such interface available for the default ATV2 shell, however you could install XBMC (jailbreaking required) and use XBMC API to control it.

If you really want to control the default interface (now called AppleTV.app), you have two possible routes (both beyond the scope of this site and question):

  • Reverse engineer the protocol used in the remote app.
  • Reverse engineer the AppleTV.app and use some way (mobilesubstrate) to inject hooks for functions or whole network interface.

If you jailbreak your Apple TV, you can SSH into it. I'm not sure what the functionality would be, but it can be done. You would then use these steps to access it remotely.

Does that answer your question?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .