Interface StreamingOption

A streaming option.

StreamingOption

interface StreamingOption {
    addon?: Addon;
    audios: Locale[];
    availableSince: number;
    expiresOn?: number;
    expiresSoon: boolean;
    link: string;
    price?: Price;
    quality?: StreamingOptionQualityEnum;
    service: ServiceInfo;
    subtitles: Subtitle[];
    type: StreamingOptionType;
    videoLink?: string;
}

Properties

addon?: Addon

Addon that the streaming option is available through. Omitted if the streaming option is not available through an addon.

StreamingOption

audios: Locale[]

Array of the available audios.

StreamingOption

availableSince: number

Unix Time Stamp of the date that this streaming option was detected.

StreamingOption

expiresOn?: number

Unix Time Stamp of the date that the streaming option is expiring. In other words, last day to watch.

StreamingOption

expiresSoon: boolean

Whether the streaming option expires within a month.

StreamingOption

link: string

Deep link to the streaming option's page in the web app of the streaming service. Unlike videoLink, this field is guaranteed to be populated.

StreamingOption

price?: Price

StreamingOption

Maximum supported video quality of the streaming option.

StreamingOption

service: ServiceInfo

StreamingOption

subtitles: Subtitle[]

Array of the available subtitles.

StreamingOption

StreamingOption

videoLink?: string

Deep link to the video associated with the streaming option. Omitted if there's no direct link to the video. Might have the same value as link.

StreamingOption