mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
feat: add hdr filtering (#86)
* feat: filter hdr content * feat: check filter hdr * feat: improve hdr parse and filter and tests
This commit is contained in:
parent
67c6bd7b53
commit
284a2f9590
10 changed files with 284 additions and 22 deletions
|
@ -62,6 +62,20 @@ export const containers = [
|
|||
|
||||
export const CONTAINER_OPTIONS = containers.map(v => ({ value: v, label: v, key: v}));
|
||||
|
||||
export const hdr = [
|
||||
"HDR",
|
||||
"HDR10",
|
||||
"HDR10+",
|
||||
"DV",
|
||||
"DV HDR",
|
||||
"DV HDR10",
|
||||
"DV HDR10+",
|
||||
"DoVi",
|
||||
"Dolby Vision",
|
||||
];
|
||||
|
||||
export const HDR_OPTIONS = hdr.map(v => ({ value: v, label: v, key: v}));
|
||||
|
||||
export interface radioFieldsetOption {
|
||||
label: string;
|
||||
description: string;
|
||||
|
|
|
@ -83,6 +83,8 @@ export interface Filter {
|
|||
sources: string[];
|
||||
codecs: string[];
|
||||
containers: string[];
|
||||
match_hdr: string[];
|
||||
except_hdr: string[];
|
||||
seasons: string;
|
||||
episodes: string;
|
||||
match_releases: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue