PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7 files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes, and the global library files (Macros, Labels, Groups, ClearGroups, CCLI, Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar, KeyMappings, CommunicationDevices). Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy (v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/, binary-format specs, and a synthetic 369-test PHPUnit suite covering RTF extraction, translation slides, ZIP64 repair, round-trip fidelity, and end-to-end generation.
48 lines
1.2 KiB
Protocol Buffer
Executable file
48 lines
1.2 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 "screens.proto";
|
|
import "uuid.proto";
|
|
|
|
message ProPresenterScreen {
|
|
message SingleArrangement {
|
|
repeated .rv.data.Screen screens = 1;
|
|
}
|
|
|
|
message CombinedArrangement {
|
|
repeated .rv.data.Screen screens = 1;
|
|
uint32 rows = 2;
|
|
uint32 columns = 3;
|
|
}
|
|
|
|
message EdgeBlendArrangement {
|
|
uint32 screen_count = 1;
|
|
repeated .rv.data.Screen screens = 2;
|
|
repeated .rv.data.EdgeBlend edge_blends = 3;
|
|
}
|
|
|
|
enum ScreenType {
|
|
SCREEN_TYPE_UNKNOWN = 0;
|
|
SCREEN_TYPE_AUDIENCE = 1;
|
|
SCREEN_TYPE_STAGE = 2;
|
|
}
|
|
|
|
string name = 1;
|
|
.rv.data.ProPresenterScreen.ScreenType screen_type = 2;
|
|
.rv.data.Color background_color = 6;
|
|
.rv.data.UUID uuid = 7;
|
|
bool background_color_enabled = 8;
|
|
oneof Arrangement {
|
|
.rv.data.ProPresenterScreen.SingleArrangement arrangement_single = 3;
|
|
.rv.data.ProPresenterScreen.CombinedArrangement arrangement_combined = 4;
|
|
.rv.data.ProPresenterScreen.EdgeBlendArrangement arrangement_edge_blend = 5;
|
|
}
|
|
}
|
|
|