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.
98 lines
2.3 KiB
Protocol Buffer
Executable file
98 lines
2.3 KiB
Protocol Buffer
Executable file
syntax = "proto3";
|
|
|
|
package rv.data;
|
|
|
|
option cc_enable_arenas = true;
|
|
option csharp_namespace = "Pro.SerializationInterop.RVProtoData";
|
|
option swift_prefix = "RVData_";
|
|
|
|
import "color.proto";
|
|
import "customOptions.proto";
|
|
import "uuid.proto";
|
|
|
|
message Effect {
|
|
message EffectVariable {
|
|
message EffectInt {
|
|
int32 value = 1;
|
|
int32 default_value = 2;
|
|
int32 min = 3;
|
|
int32 max = 4;
|
|
}
|
|
|
|
message EffectFloat {
|
|
float value = 1;
|
|
float default_value = 2;
|
|
float min = 3;
|
|
float max = 4;
|
|
}
|
|
|
|
message EffectDouble {
|
|
double value = 1;
|
|
double default_value = 2;
|
|
double min = 3;
|
|
double max = 4;
|
|
}
|
|
|
|
message EffectColor {
|
|
.rv.data.Color color = 1;
|
|
.rv.data.Color default_color = 2;
|
|
}
|
|
|
|
message EffectDirection {
|
|
enum EffectDirection {
|
|
EFFECT_DIRECTION_NONE = 0;
|
|
EFFECT_DIRECTION_TOP_LEFT = 1;
|
|
EFFECT_DIRECTION_TOP = 2;
|
|
EFFECT_DIRECTION_TOP_RIGHT = 4;
|
|
EFFECT_DIRECTION_LEFT = 8;
|
|
EFFECT_DIRECTION_CENTER = 16;
|
|
EFFECT_DIRECTION_RIGHT = 32;
|
|
EFFECT_DIRECTION_BOTTOM_LEFT = 64;
|
|
EFFECT_DIRECTION_BOTTOM = 128;
|
|
EFFECT_DIRECTION_BOTTOM_RIGHT = 256;
|
|
}
|
|
|
|
.rv.data.Effect.EffectVariable.EffectDirection.EffectDirection direction = 1;
|
|
.rv.data.Effect.EffectVariable.EffectDirection.EffectDirection default_direction = 2;
|
|
uint32 available_directions = 3;
|
|
}
|
|
|
|
string name = 1;
|
|
string description = 2;
|
|
oneof Type {
|
|
.rv.data.Effect.EffectVariable.EffectInt int = 3;
|
|
.rv.data.Effect.EffectVariable.EffectFloat float = 4;
|
|
.rv.data.Effect.EffectVariable.EffectColor color = 5;
|
|
.rv.data.Effect.EffectVariable.EffectDirection direction = 6;
|
|
.rv.data.Effect.EffectVariable.EffectDouble double = 7;
|
|
}
|
|
}
|
|
|
|
message Preset {
|
|
.rv.data.UUID uuid = 1;
|
|
string name = 2;
|
|
repeated .rv.data.Effect effects = 3;
|
|
}
|
|
|
|
.rv.data.UUID uuid = 1;
|
|
bool enabled = 2;
|
|
string name = 3;
|
|
string render_id = 4;
|
|
string behavior_description = 5;
|
|
string category = 6;
|
|
repeated .rv.data.Effect.EffectVariable variables = 7;
|
|
}
|
|
|
|
message Transition {
|
|
message Preset {
|
|
.rv.data.UUID uuid = 1;
|
|
string name = 2;
|
|
.rv.data.Transition transition = 3;
|
|
}
|
|
|
|
double duration = 1;
|
|
.rv.data.UUID favorite_uuid = 2;
|
|
.rv.data.Effect effect = 3;
|
|
}
|
|
|