mirror of
https://github.com/p-stream/providers.git
synced 2026-03-11 17:55:36 +00:00
Added unknown to stream Qualities union
This commit is contained in:
parent
dd168c7458
commit
4d5f76ab6b
2 changed files with 2 additions and 5 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue