mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:33:25 +00:00
Added unknown to stream Qualities union
This commit is contained in:
@@ -27,10 +27,7 @@ export const mixdropScraper = makeEmbed({
|
||||
type: 'file',
|
||||
flags: [flags.NO_CORS],
|
||||
qualities: {
|
||||
// TODO - Allow unknown qualitys?
|
||||
// MixDrop does not give quality info
|
||||
// This is just so it's even visible
|
||||
'1080': {
|
||||
unknown: {
|
||||
type: 'mp4',
|
||||
url: url.startsWith('http') ? url : `https:${url}`, // URLs don't always start with the protocol
|
||||
headers: {
|
||||
|
@@ -6,7 +6,7 @@ export type StreamFile = {
|
||||
headers?: Record<string, string>;
|
||||
};
|
||||
|
||||
export type Qualities = '360' | '480' | '720' | '1080';
|
||||
export type Qualities = 'unknown' | '360' | '480' | '720' | '1080';
|
||||
|
||||
export type FileBasedStream = {
|
||||
type: 'file';
|
||||
|
Reference in New Issue
Block a user