XML Downloaded By ATV

From AwkwardTV
Revision as of 06:15, 3 April 2007 by Angry (talk | contribs)
Jump to: navigation, search


There are several sections in the stock Apple TV config where it will contact apple to download information.

  1. Movies -> iTunes Top Movies
  2. Movies -> Theatrical Trailers
  3. TV Shows -> iTunes Top TV Episodes
  4. Music -> iTunes Top Songs
  5. Music -> iTunes Top Music Videos

Each of these functions will fetch an XML file from apple that describes the items in the section. Within the XML file is meta data for the programs/songs/movies as well as links to the images displayed and the actual file to play when clicked.

These files can be easily substituted out through a few methods.

  1. Add your own entries to the hosts file and have the atv fetch the XML and whatever else it needs from a local web server.
  2. Point your ATV to a DNS server that you control and spoof the entries for the required sites - This would be good because you don't have to mod the unit in any way.
  3. Probably some other tricks that could be done with firewalls and squid caches and stuff.

I have tested this with the Movies -> Theatrical Trailers and it worked quite good. This one XML file is quite different than the others because it does not integrate with iTunes.

By modifying the XML file and pointing it at my own web server I was able to make the ATV play files from my local web server as well as substitute my own images and meta data in to the interface. Unfortunately this only worked with h.264 files and strange behavior was observed with xvid files even though I had a working codec installed.

If this could be made to work with mpeg2 and/or xvid files this would make for a neat and easy way to integrate this with mythTV through mythweb, or through some custom rolled media serving scripts and whatnot. If anybody gets xvid or mpeg2 to work with this, please update this page.


Here are the URLs and files that the ATV attempts to download.

Movie Trailers:


Top TV Episodes: (Note: This file comes gzipped by default)


Top Movies: (Note: This file comes gzipped by default)


Top Songs: (Note: This file comes gzipped by default)


Top Music Videos: (Note: This file comes gzipped by default)