---
title: Playlist
framework: tvmljs
role: symbol
role_heading: Class
path: tvmljs/playlist
---

# Playlist

An array of media items to be played in an Apple TV client-server app.

## Declaration

```data
interface Playlist
```

## Overview

Overview In order to play audio or video, at a minimum, there must be a Player object that contains a single Playlist object, which contains a single MediaItem object.

## Topics

### Modifying the Playlist

- [item](tvmljs/playlist/1627377-item.md)
- [length](tvmljs/playlist/1627327-length.md)
- [Playlist](tvmljs/playlist/1627336-playlist.md)
- [pop](tvmljs/playlist/1627310-pop.md)
- [push](tvmljs/playlist/1627433-push.md)
- [splice](tvmljs/playlist/1627367-splice.md)

## See Also

### Media Playback

- [Playing Media in a Client-Server App](tvmljs/playing_media_in_a_client-server_app.md)
- [Player](tvmljs/player.md)
- [MediaItem](tvmljs/mediaitem.md)
- [Slideshow](tvmljs/slideshow.md)
- [Browser](tvmljs/browser.md)
