Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions pkg/pluginproto/prairie/plugin/v1/metadata_provider.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions proto/prairie/plugin/v1/metadata_provider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,24 @@ message ImageRecord {
int32 width = 4;
int32 height = 5;
google.protobuf.Struct metadata = 6;
// Present only when the image is confirmed to belong to one exact season.
// Season zero represents Specials, so presence must not be inferred from the
// numeric value. Plugins should populate this field whenever the season is
// known, even when the request was already season-scoped.
optional int32 season_number = 7;
}

message GetImagesRequest {
string provider_id = 1;
string item_type = 2;
google.protobuf.Struct provider_ids = 3;
string language = 4;
// Present only when requesting artwork for a specific TV season.
// Season zero represents Specials, so presence must not be inferred from
// the numeric value. This scope is a request, not a guarantee: plugins that
// can filter by season should do so, but hosts must verify season attribution
// via ImageRecord.season_number rather than assume a filtered response.
optional int32 season_number = 5;
}

message GetImagesResponse {
Expand Down