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.
110 lines
2.8 KiB
Protocol Buffer
Executable file
110 lines
2.8 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 "action.proto";
|
|
import "applicationInfo.proto";
|
|
import "color.proto";
|
|
import "customOptions.proto";
|
|
import "uuid.proto";
|
|
|
|
message MacrosDocument {
|
|
message Macro {
|
|
enum ImageType {
|
|
ImageTypeDefault = 0;
|
|
ImageTypeOne = 1;
|
|
ImageTypeTwo = 2;
|
|
ImageTypeThree = 3;
|
|
ImageTypeFour = 4;
|
|
ImageTypeFive = 5;
|
|
ImageTypeSix = 6;
|
|
ImageTypeSeven = 7;
|
|
ImageTypeEight = 8;
|
|
ImageTypeNine = 9;
|
|
ImageTypeZero = 10;
|
|
ImageTypeArrow = 11;
|
|
ImageTypeAudio = 12;
|
|
ImageTypeBell = 13;
|
|
ImageTypeBulb = 14;
|
|
ImageTypeCloud = 15;
|
|
ImageTypeCupcake = 16;
|
|
ImageTypeExclamation = 17;
|
|
ImageTypeFlask = 18;
|
|
ImageTypeFlower = 19;
|
|
ImageTypeGlasses = 20;
|
|
ImageTypeHashtag = 21;
|
|
ImageTypeHat = 22;
|
|
ImageTypeHeart = 23;
|
|
ImageTypeMegaphone = 24;
|
|
ImageTypeMessage = 25;
|
|
ImageTypePaperclip = 26;
|
|
ImageTypePlay = 27;
|
|
ImageTypeSlide = 28;
|
|
ImageTypeStar = 29;
|
|
ImageTypeSun = 30;
|
|
ImageTypeSunglasses = 31;
|
|
ImageTypeTarget = 32;
|
|
ImageTypeTimer = 33;
|
|
ImageTypeVideoInput = 34;
|
|
ImageTypeXClear = 35;
|
|
ImageTypeLetterA = 36;
|
|
ImageTypeLetterB = 37;
|
|
ImageTypeLetterC = 38;
|
|
ImageTypeLetterD = 39;
|
|
ImageTypeLetterE = 40;
|
|
ImageTypeLetterF = 41;
|
|
ImageTypeLetterG = 42;
|
|
ImageTypeLetterH = 43;
|
|
ImageTypeLetterI = 44;
|
|
ImageTypeLetterJ = 45;
|
|
ImageTypeLetterK = 46;
|
|
ImageTypeLetterL = 47;
|
|
ImageTypeLetterM = 48;
|
|
ImageTypeLetterN = 49;
|
|
ImageTypeLetterO = 50;
|
|
ImageTypeLetterP = 51;
|
|
ImageTypeLetterQ = 52;
|
|
ImageTypeLetterR = 53;
|
|
ImageTypeLetterS = 54;
|
|
ImageTypeLetterT = 55;
|
|
ImageTypeLetterU = 56;
|
|
ImageTypeLetterV = 57;
|
|
ImageTypeLetterW = 58;
|
|
ImageTypeLetterX = 59;
|
|
ImageTypeLetterY = 60;
|
|
ImageTypeLetterZ = 61;
|
|
ImageTypeCustom = 62;
|
|
}
|
|
|
|
.rv.data.UUID uuid = 1;
|
|
string name = 2;
|
|
.rv.data.Color color = 3;
|
|
repeated .rv.data.Action actions = 4;
|
|
bool trigger_on_startup = 5;
|
|
.rv.data.MacrosDocument.Macro.ImageType image_type = 6;
|
|
bytes image_data = 7;
|
|
}
|
|
|
|
message MacroCollection {
|
|
message Item {
|
|
oneof ItemType {
|
|
.rv.data.UUID macro_id = 1;
|
|
}
|
|
}
|
|
|
|
.rv.data.UUID uuid = 1;
|
|
string name = 2;
|
|
repeated .rv.data.MacrosDocument.MacroCollection.Item items = 3;
|
|
repeated .rv.data.MacrosDocument.Macro macros = 4;
|
|
}
|
|
|
|
.rv.data.ApplicationInfo application_info = 1;
|
|
repeated .rv.data.MacrosDocument.Macro macros = 2;
|
|
repeated .rv.data.MacrosDocument.MacroCollection macro_collections = 3;
|
|
}
|
|
|