Sync the bundled .proto definitions with greyshirtguy/ProPresenter7-Proto "Proto 19beta" (dumped from ProPresenter v19 beta build 318767123, 2025-06-05). This pulls in the schema for ProPresenter 19 features including new advertisement groups, custom options, media metadata, prop API v1, transport API, feature flags, PSB workspace, and zone definitions, plus refactored analytics tracked events. Strategy: merge rather than wholesale replace. All Proto 19beta files overwrite our existing copies so we pick up the field/message updates upstream made between 7.16.2 and 19beta. Eleven new .proto files are added: advertisementGroup, analyticsEdit, analyticsMediaManagement, analyticsPowerPoint, analyticsTrackedEvents, analyticsTriggerCue, customOptions, mediaMetadata, proCoreFeatureFlags, psbWorkspace, zone. Three google/protobuf well-known types (any, source_context, type) are added for completeness; only descriptor.proto is actually imported. Five proto files are kept that are not part of Proto 19beta upstream: calendar.proto and keyMappings.proto were extracted from PP binaries to support our parse-calendar and parse-key-mappings tools, while analyticsCapture/Update/WHMStore.proto are retained from the prior 7.16.2 set so existing generated descriptors keep loading. generated/ is regenerated from scratch with `protoc --php_out=generated --proto_path=proto *.proto` (protoc 29.3, google/protobuf PHP 4.33.5). The full PHPUnit suite (369 tests, 1298 assertions) still passes without any source changes - the new schema is wire-compatible with our reference files and high-level wrappers. Documentation references to "v7.16.2" are updated to "Proto 19beta" in LICENSE, doc/formats/pp_song_spec.md, pp_playlist_spec.md, pp_bundle_spec.md, and doc/internal/decisions.md.
65 lines
1.6 KiB
Protocol Buffer
65 lines
1.6 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package rv.data;
|
|
|
|
option cc_enable_arenas = true;
|
|
option csharp_namespace = "Pro.SerializationInterop.RVProtoData";
|
|
option swift_prefix = "RVData_";
|
|
|
|
import "effects.proto";
|
|
import "graphicsData.proto";
|
|
import "alphaType.proto";
|
|
|
|
message MediaMetadataRequestInfo {
|
|
enum BufferFormat {
|
|
BUFFER_FORMAT_RAW = 0;
|
|
BUFFER_FORMAT_PNG = 1;
|
|
BUFFER_FORMAT_NONE = 2;
|
|
}
|
|
|
|
string file_path = 1;
|
|
float time = 2;
|
|
uint32 width = 3;
|
|
uint32 height = 4;
|
|
repeated .rv.data.Effect effects = 5;
|
|
.rv.data.Graphics.EdgeInsets crop_insets = 6;
|
|
.rv.data.Media.DrawingProperties.NativeRotationType native_rotation = 7;
|
|
bool flipped_horizontally = 8;
|
|
bool flipped_vertically = 9;
|
|
.rv.data.AlphaType alpha_type = 10;
|
|
.rv.data.MediaMetadataRequestInfo.BufferFormat buffer_format = 11;
|
|
}
|
|
|
|
message MediaMetadataRequestResponse {
|
|
message Metadata {
|
|
enum ContentType {
|
|
CONTENT_TYPE_UNKNOWN = 0;
|
|
CONTENT_TYPE_AUDIO = 1;
|
|
CONTENT_TYPE_IMAGE = 2;
|
|
CONTENT_TYPE_VIDEO = 3;
|
|
}
|
|
|
|
uint32 width = 1;
|
|
uint32 height = 2;
|
|
float fps = 3;
|
|
float duration = 4;
|
|
uint32 number_audio_channels = 5;
|
|
string codec = 6;
|
|
string artist = 7;
|
|
string title = 8;
|
|
float rotation = 9;
|
|
.rv.data.MediaMetadataRequestResponse.Metadata.ContentType content_type = 10;
|
|
bool has_alpha_channel = 11;
|
|
}
|
|
|
|
message BitmapInfo {
|
|
uint32 width = 1;
|
|
uint32 height = 2;
|
|
uint64 size = 3;
|
|
}
|
|
|
|
.rv.data.MediaMetadataRequestResponse.Metadata metadata = 1;
|
|
.rv.data.MediaMetadataRequestResponse.BitmapInfo generated_bitmap_info = 2;
|
|
}
|
|
|