-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
72 lines (64 loc) · 1.53 KB
/
index.ts
File metadata and controls
72 lines (64 loc) · 1.53 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
62
63
64
65
66
67
68
69
70
71
72
type ShowType = "TV" | "SPECIAL" | "OVA" | "MOVIE" | "ONA";
type ShowStatus = "AIRING" | "FINISHED";
type ShowGenre = "ACTION" | "ADVENTURE" | "COMEDY" | "DRAMA" | "ECCHI" | "FANTASY" | "HORROR" |
"MAHOU_SHOUJO" | "MECHA" | "MUSIC" | "MYSTERY" | "PSYCHOLOGICAL" | "ROMANCE" | "SCIFI" |
"SLICE_OF_LIFE" | "SPORTS" | "SUPERNATURAL" | "THRILLER";
type ShowTag = "SUBBED" | "HARD_SUBBED" | "DUBBED";
type ShowRating = "PG" | "R";
type Show = {
id: string;
type: number;
group: string | null;
season: number | null;
title: string;
synopsis: string | null;
episodes: number;
favourites: number;
status: number;
genres: number;
tags: number;
rating: number;
location: number;
timestamp: number | null;
magnet: string | null;
version: number;
};
type Group = {
id: string;
title: string;
};
type EpisodeLocation = "VAPOREON" | "JOLTEON" | "FLAREON";
type Episode = {
id: string;
pos: number;
show: string;
title: string;
duration: number;
views: number;
subtitles: string[];
audio: string[];
};
type EncodePreset = "X264" | "VP9";
type Encode = {
id: string;
episode: string;
preset: number;
videoBitrate: number;
audioBitrate: number;
size: number;
vmaf: number | null;
};
type SegmentType = "OP" | "EPISODE" | "ED";
type Segment = {
id: string;
pos: number;
episode: string;
type: number;
length: number;
};
type Stats = {
id: string;
files: number;
size: number;
torrents: number;
};