Displays information about a single media item and its components.
Use the compilationTemplate element to display information about one product that is made up of several distinct pieces; for example, an album and all of the songs that it contains. The header area on the left side of the screen contains general product information. Directly underneath the header area are several section areas that group like types of information; for example, one section can contain all of the songs on the album. The related content on the right side of the screen contains any images associated with the product and buttons that the user can use to interact with the product, such as Play and Buy buttons. The following figure shows the basic layout for a compilationTemplate page. The theme for the compilation template defaults to the system preference.
The following listing shows the main elements of the compilationTemplate element in TVML format:
An area of the page that groups related elements for layout purposes.
The following listing shows the TVML for a compilationTemplate example. The example displays a list on the left side that contains information about the album and a list of available songs. The right side of the display contains an image of the album and buttons prompting the user to buy, rate, or shuffle the music.
The following figure shows the output for the above example: