-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.ts
More file actions
61 lines (54 loc) · 1.11 KB
/
const.ts
File metadata and controls
61 lines (54 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
export const ShowTypeMapping: Record<ShowType, number> = {
TV: 0,
SPECIAL : 1,
OVA: 2,
MOVIE: 3,
ONA: 4
}
export const ShowStatusMapping: Record<ShowStatus, number> = {
AIRING: 0,
FINISHED : 1
}
export const ShowGenreMapping: Record<ShowGenre, number> = {
ACTION: 1,
ADVENTURE: 2,
COMEDY: 4,
DRAMA: 8,
ECCHI: 16,
FANTASY: 32,
HORROR: 64,
MAHOU_SHOUJO: 128,
MECHA: 256,
MUSIC: 512,
MYSTERY: 1024,
PSYCHOLOGICAL: 2048,
ROMANCE: 4096,
SCIFI: 8192,
SLICE_OF_LIFE: 16384,
SPORTS: 32768,
SUPERNATURAL: 65536,
THRILLER: 131072
}
export const ShowTagMapping: Record<ShowTag, number> = {
SUBBED: 1,
HARD_SUBBED: 2,
DUBBED: 4
}
export const ShowRatingMapping: Record<ShowRating, number> = {
PG: 0,
R: 1
}
export const EpisodeLocationMapping: Record<EpisodeLocation, number> = {
VAPOREON: 0,
JOLTEON: 1,
FLAREON: 2
}
export const EncodePresetMapping: Record<EncodePreset, number> = {
X264: 0,
VP9: 1
}
export const SegmentTypeMapping: Record<SegmentType, number> = {
OP: 0,
EPISODE: 1,
ED: 2
}