mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 01:35:08 +01:00
'auto' quality removed
This commit is contained in:
parent
f02256f9e0
commit
3aa4365a56
@ -14,7 +14,6 @@ export enum MWStreamQuality {
|
|||||||
Q480P = "480p",
|
Q480P = "480p",
|
||||||
Q720P = "720p",
|
Q720P = "720p",
|
||||||
Q1080P = "1080p",
|
Q1080P = "1080p",
|
||||||
QAUTO = "auto",
|
|
||||||
QUNKNOWN = "unknown",
|
QUNKNOWN = "unknown",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,6 @@ function castSubtitles({ url, lang }: { url: string; lang: string }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const qualityMap: Record<string, MWStreamQuality> = {
|
const qualityMap: Record<string, MWStreamQuality> = {
|
||||||
auto: MWStreamQuality.QAUTO,
|
|
||||||
"360": MWStreamQuality.Q360P,
|
"360": MWStreamQuality.Q360P,
|
||||||
"540": MWStreamQuality.Q540P,
|
"540": MWStreamQuality.Q540P,
|
||||||
"480": MWStreamQuality.Q480P,
|
"480": MWStreamQuality.Q480P,
|
||||||
|
Loading…
Reference in New Issue
Block a user