feat(filters): add sources and codecs (#1470)

* feat(filters): add AHDTV to sources and sort alphabetically
feat(filters): add MPEG-2 to codecs and sort alphabetically

* feat(filters): add release parsing test for MPEG-2
This commit is contained in:
martylukyy 2024-03-24 10:41:24 +01:00 committed by GitHub
parent 2337ee4d75
commit 6045ef7c10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 47 additions and 13 deletions

View file

@ -19,30 +19,28 @@ export const resolutions = [
export const RESOLUTION_OPTIONS: MultiSelectOption[] = resolutions.map(r => ({ value: r, label: r, key: r }));
export const codecs = [
"HEVC",
"AV1",
"AVC",
"H.264",
"H.265",
"x264",
"x265",
"AVC",
"HEVC",
"MPEG-2",
"VC-1",
"AV1",
"XviD"
"XviD",
"x264",
"x265"
];
export const CODECS_OPTIONS: MultiSelectOption[] = codecs.map(v => ({ value: v, label: v, key: v }));
export const sources = [
"BluRay",
"UHD.BluRay",
"WEB-DL",
"WEB",
"WEBRip",
"AHDTV",
"BD5",
"BD9",
"BDr",
"BDRip",
"BDr",
"BRRip",
"BluRay",
"CAM",
"DVDR",
"DVDRip",
@ -53,7 +51,11 @@ export const sources = [
"HDTS",
"HDTV",
"Mixed",
"SiteRip"
"SiteRip",
"UHD.BluRay",
"WEB",
"WEB-DL",
"WEBRip"
];
export const SOURCES_OPTIONS: MultiSelectOption[] = sources.map(v => ({ value: v, label: v, key: v }));