---
title: "init(id:episodeTitle:showName:releaseDate:type:duration:artwork:)"
framework: nowplaying
role: symbol
role_heading: Initializer
path: "nowplaying/podcastcontent/init(id:episodetitle:showname:releasedate:type:duration:artwork:)"
---

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

Creates podcast episode content.

## Declaration

```swift
init(id: String, episodeTitle: String, showName: String, releaseDate: Date?, type: MediaType, duration: MediaDuration?, artwork: Artwork?)
```

## Parameters

- `id`: A unique identifier for this episode.
- `episodeTitle`: The episode’s display title.
- `showName`: The name of the podcast show.
- `releaseDate`: The date this episode was released, or nil when unknown.
- `type`: The media type.
- `duration`: The total duration of the episode, or nil when unknown.
- `artwork`: Episode artwork, or nil when unavailable.
