Data Objects

Use Json.link(name, target) in Java, self.link(name, target) in Python or link(name, target) in QuickJS for actor or category hyperlinks. target holds the destination category and filters, using id, name, type_flag and filter.

// QuickJS: turn actors into clickable filter links
list.map((vod) => ({ ...vod, vod_actor: link(vod.vod_actor, { id: "movie", filter: { area: "tw" } }) }));

Vod

FieldNotes
vod_idUnique value passed to detailContent.
vod_nameDisplay name.
vod_pic / vod_remarksThumbnail and corner badge.
type_nameCategory text.
vod_year / vod_areaYear and region.
vod_director / vod_actorPeople.
vod_contentDescription.
vod_play_from / vod_play_urlPlay groups and episodes; separators in Groups and episodes.
vod_tag / actionfolder marks a folder; a non-empty action fires on tap. For type 3 it is passed to the spider's action(); for type 4 it holds the JSON endpoint URL.
cateAlso marked as a folder when present; may contain land, circle, ratio.
land / circle / ratio / styleCard appearance overrides.

Class

FieldNotes
type_id / idCategory ID passed to categoryContent.
type_name / nameCategory display name.
type_flag1 marks a folder category.
land / circle / ratioDefault card style for that category.
filtersA Filter array may also be provided inside the category object.

Filter

FieldNotes
key / nameValue key and display name.
initDefault option value.
valueOption array such as [{"n":"All","v":""}]; n is the label and v the value passed in.

Sub

FieldNotes
urlSubtitle file location.
name / langDisplay name and language code.
formatSubtitle MIME type; may be omitted and inferred by the App.
flag0 lets the App choose by subtitle count and preferred language; non-zero uses Media3 selection flags: 1 default, 2 forced, 4 auto-select, combinable as bits.

Danmaku

FieldNotes
urlHTTP(S) data URL, or a live source produced by getDanmakuUrl(id).
nameOptional display name.

SkipSegment

FieldNotes
typeopening, middle or ending.
startTime in milliseconds to start skipping.
endTime in milliseconds to jump to; must be later than start and may be omitted only for ending when start > 0.