pluginengine01 / wire /bex_common.fbs
krystv's picture
Upload 107 files
3374e90 verified
// 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;