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.
121 lines
2.4 KiB
Protocol Buffer
Executable file
121 lines
2.4 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_";
|
|
|
|
message API_v1_Trigger_Request {
|
|
message Cue {
|
|
uint32 index = 1;
|
|
}
|
|
|
|
message Playlist {
|
|
string id = 1;
|
|
}
|
|
|
|
message Media {
|
|
string id = 1;
|
|
}
|
|
|
|
message MediaNext {
|
|
}
|
|
|
|
message MediaPrevious {
|
|
}
|
|
|
|
message Audio {
|
|
string id = 1;
|
|
}
|
|
|
|
message AudioNext {
|
|
}
|
|
|
|
message AudioPrevious {
|
|
}
|
|
|
|
message VideoInput {
|
|
string id = 1;
|
|
}
|
|
|
|
message Library {
|
|
string id = 1;
|
|
}
|
|
|
|
message Next {
|
|
}
|
|
|
|
message Previous {
|
|
}
|
|
|
|
oneof Request {
|
|
.rv.data.API_v1_Trigger_Request.Cue cue = 1;
|
|
.rv.data.API_v1_Trigger_Request.Playlist playlist = 2;
|
|
.rv.data.API_v1_Trigger_Request.Media media = 3;
|
|
.rv.data.API_v1_Trigger_Request.Audio audio = 4;
|
|
.rv.data.API_v1_Trigger_Request.VideoInput video_input = 5;
|
|
.rv.data.API_v1_Trigger_Request.Library library = 6;
|
|
.rv.data.API_v1_Trigger_Request.Next next = 7;
|
|
.rv.data.API_v1_Trigger_Request.Previous previous = 8;
|
|
.rv.data.API_v1_Trigger_Request.MediaNext media_next = 9;
|
|
.rv.data.API_v1_Trigger_Request.MediaPrevious media_previous = 10;
|
|
.rv.data.API_v1_Trigger_Request.AudioNext audio_next = 11;
|
|
.rv.data.API_v1_Trigger_Request.AudioPrevious audio_previous = 12;
|
|
}
|
|
}
|
|
|
|
message API_v1_Trigger_Response {
|
|
message Cue {
|
|
}
|
|
|
|
message Playlist {
|
|
}
|
|
|
|
message Media {
|
|
}
|
|
|
|
message MediaNext {
|
|
}
|
|
|
|
message MediaPrevious {
|
|
}
|
|
|
|
message Audio {
|
|
}
|
|
|
|
message AudioNext {
|
|
}
|
|
|
|
message AudioPrevious {
|
|
}
|
|
|
|
message VideoInput {
|
|
}
|
|
|
|
message Library {
|
|
}
|
|
|
|
message Next {
|
|
}
|
|
|
|
message Previous {
|
|
}
|
|
|
|
oneof Response {
|
|
.rv.data.API_v1_Trigger_Response.Cue cue = 1;
|
|
.rv.data.API_v1_Trigger_Response.Playlist playlist = 2;
|
|
.rv.data.API_v1_Trigger_Response.Media media = 3;
|
|
.rv.data.API_v1_Trigger_Response.Audio audio = 4;
|
|
.rv.data.API_v1_Trigger_Response.VideoInput video_input = 5;
|
|
.rv.data.API_v1_Trigger_Response.Library library = 6;
|
|
.rv.data.API_v1_Trigger_Response.Next next = 7;
|
|
.rv.data.API_v1_Trigger_Response.Previous previous = 8;
|
|
.rv.data.API_v1_Trigger_Response.MediaNext media_next = 9;
|
|
.rv.data.API_v1_Trigger_Response.MediaPrevious media_previous = 10;
|
|
.rv.data.API_v1_Trigger_Response.AudioNext audio_next = 11;
|
|
.rv.data.API_v1_Trigger_Response.AudioPrevious audio_previous = 12;
|
|
}
|
|
}
|
|
|