Streaming service content.

Represents a content item from a streaming service.

interface StreamingContent {
    type: StreamingContentType;
    name: string;
    title: string;
    overview?: string;
    duration: number;
    airDate?: number;
    smallThumbnailUrl?: string;
    largeThumbnailUrl?: string;
    itemID?: string;
    series?: string;
    season?: string;
    episode?: string;
    releaseYear?: string;
    contentRating?: string;
    watchNowUrl?: string;
    tmdbID?: string;
    tmdbSeriesID?: string;
    path: string[];
}

Properties

Content type.

name: string

Name in the path hierarchy derived from season, episode and title.

title: string

Title.

overview?: string

Overview, synopsis or description.

duration: number

Duration in milliseconds.

airDate?: number

Air date in unix time.

smallThumbnailUrl?: string

Small thumbnail image url.

largeThumbnailUrl?: string

Large thumbnail image url.

itemID?: string

Streaming service specific content id for this item.

series?: string

Series title.

season?: string

Series season.

episode?: string

Series episode.

releaseYear?: string

Release year.

contentRating?: string

Content rating.

watchNowUrl?: string

Streaming service specific watch now url.

tmdbID?: string

TMDB id for this content if available.

tmdbSeriesID?: string

TMDB id for this content's series if available.

path: string[]

Path to this item as a sequence of parent name properties.