---
title: "init(id:episodeTitle:showName:duration:artwork:animatedArtwork:)"
framework: nowplaying
role: symbol
role_heading: Initializer
path: "nowplaying/tvshowcontent/init(id:episodetitle:showname:duration:artwork:animatedartwork:)"
---

# init(id:episodeTitle:showName:duration:artwork:animatedArtwork:)

Creates TV show episode content with static and animated artwork.

## Declaration

```swift
init(id: String, episodeTitle: String, showName: String, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)
```

## Parameters

- `id`: A unique identifier for this episode.
- `episodeTitle`: The title of the individual episode.
- `showName`: The name of the series.
- `duration`: The total duration of the episode, or nil when unknown.
- `artwork`: Static artwork for the episode.
- `animatedArtwork`: Animated artwork for the episode, or nil when unavailable.
