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.
84 lines
1.9 KiB
Protocol Buffer
Executable file
84 lines
1.9 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 "applicationInfo.proto";
|
|
import "templateIdentification.proto";
|
|
import "timers.proto";
|
|
import "uuid.proto";
|
|
|
|
message Message {
|
|
reserved 5;
|
|
reserved 7;
|
|
reserved 8;
|
|
message Token {
|
|
message TokenTypeText {
|
|
string name = 1;
|
|
}
|
|
|
|
message TokenTypeTimer {
|
|
string name = 1;
|
|
.rv.data.UUID timer_uuid = 2;
|
|
}
|
|
|
|
message TokenTypeClock {
|
|
}
|
|
|
|
.rv.data.UUID uuid = 1;
|
|
oneof TokenType {
|
|
.rv.data.Message.Token.TokenTypeText text = 2;
|
|
.rv.data.Message.Token.TokenTypeTimer timer = 3;
|
|
.rv.data.Message.Token.TokenTypeClock clock = 4;
|
|
}
|
|
}
|
|
|
|
message TokenValue {
|
|
message TokenValueText {
|
|
string value = 1;
|
|
}
|
|
|
|
message TokenValueTimer {
|
|
.rv.data.Timer.Configuration configuration = 1;
|
|
.rv.data.Timer.Format format = 2;
|
|
}
|
|
|
|
message TokenValueClock {
|
|
.rv.data.Clock.Format format = 1;
|
|
}
|
|
|
|
.rv.data.UUID token_id = 1;
|
|
string token_name = 5;
|
|
oneof TokenValueType {
|
|
.rv.data.Message.TokenValue.TokenValueText text = 2;
|
|
.rv.data.Message.TokenValue.TokenValueTimer timer = 3;
|
|
.rv.data.Message.TokenValue.TokenValueClock clock = 4;
|
|
}
|
|
}
|
|
|
|
enum ClearType {
|
|
CLEAR_TYPE_MANUAL = 0;
|
|
CLEAR_TYPE_AFTER_TIME = 1;
|
|
CLEAR_TYPE_AFTER_TIMERS = 2;
|
|
}
|
|
|
|
.rv.data.UUID uuid = 1;
|
|
string title = 2;
|
|
double time_to_remove = 3;
|
|
bool visible_on_network = 4;
|
|
.rv.data.TemplateIdentification template = 6;
|
|
.rv.data.Message.ClearType clear_type = 9;
|
|
string message_text = 10;
|
|
repeated .rv.data.Message.Token tokens = 11;
|
|
repeated .rv.data.Message.TokenValue token_values = 12;
|
|
}
|
|
|
|
message MessageDocument {
|
|
.rv.data.ApplicationInfo application_info = 1;
|
|
repeated .rv.data.Message messages = 2;
|
|
}
|
|
|