File size: 911 Bytes
3374e90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
// BEX Common FlatBuffer types — shared across all event payloads

namespace bex.wire;

table Image {
    url:string;
    layout:string; // "portrait", "landscape", "square", "banner", "circular", "unknown"
    width:uint;
    height:uint;
    blurhash:string;
}

table ImageSet {
    low:Image;
    medium:Image;
    high:Image;
    backdrop:Image;
    logo:Image;
}

table LinkedId {
    source:string;
    id:string;
}

table Attr {
    key:string;
    value:string;
}

enum MediaKind:byte {
    Movie = 0,
    Series = 1,
    Anime = 2,
    Short = 3,
    Special = 4,
    Documentary = 5,
    Music = 6,
    Podcast = 7,
    Book = 8,
    Live = 9,
    Unknown = 10
}

enum Status:byte {
    Unknown = 0,
    Upcoming = 1,
    Ongoing = 2,
    Completed = 3,
    Cancelled = 4,
    Paused = 5
}

enum StreamFormat:byte {
    Hls = 0,
    Dash = 1,
    Progressive = 2,
    Unknown = 3
}

root_type Attr;