<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/TVShowContent/init(id:episodeTitle:showName:duration:artwork:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying13TVShowContentV2id12episodeTitle8showName8duration7artworkACSS_S2SAA13MediaDurationOSgAA7ArtworkVSgtcfc"
  },
  "title" : "init(id:episodeTitle:showName:duration:artwork:)"
}
-->

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

Creates TV show episode content.

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

## 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`

Artwork for the episode, or `nil` when unavailable.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)