mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:03:25 +00:00
Add thumbnail track option to response
This commit is contained in:
@@ -8,10 +8,16 @@ export type StreamFile = {
|
|||||||
|
|
||||||
export type Qualities = 'unknown' | '360' | '480' | '720' | '1080' | '4k';
|
export type Qualities = 'unknown' | '360' | '480' | '720' | '1080' | '4k';
|
||||||
|
|
||||||
|
type ThumbnailTrack = {
|
||||||
|
type: 'vtt';
|
||||||
|
url: string;
|
||||||
|
};
|
||||||
|
|
||||||
type StreamCommon = {
|
type StreamCommon = {
|
||||||
id: string; // only unique per output
|
id: string; // only unique per output
|
||||||
flags: Flags[];
|
flags: Flags[];
|
||||||
captions: Caption[];
|
captions: Caption[];
|
||||||
|
thumbnailTrack?: ThumbnailTrack;
|
||||||
headers?: Record<string, string>; // these headers HAVE to be set to watch the stream
|
headers?: Record<string, string>; // these headers HAVE to be set to watch the stream
|
||||||
preferredHeaders?: Record<string, string>; // these headers are optional, would improve the stream
|
preferredHeaders?: Record<string, string>; // these headers are optional, would improve the stream
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user