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.
47 lines
977 B
Protocol Buffer
Executable file
47 lines
977 B
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 "template.proto";
|
|
|
|
message CCLIDocument {
|
|
enum DisplayType {
|
|
DISPLAY_TYPE_FIRST_SLIDE = 0;
|
|
DISPLAY_TYPE_LAST_SLIDE = 1;
|
|
DISPLAY_TYPE_FIRST_AND_LAST_SLIDE = 2;
|
|
DISPLAY_TYPE_ALL_SLIDES = 3;
|
|
}
|
|
|
|
.rv.data.ApplicationInfo application_info = 1;
|
|
bool enable_ccli_display = 2;
|
|
string ccli_license = 3;
|
|
.rv.data.CCLIDocument.DisplayType display_type = 4;
|
|
.rv.data.Template.Slide template = 5;
|
|
}
|
|
|
|
message CopyrightLayout {
|
|
message Token {
|
|
.rv.data.CopyrightLayout.TokenType token_type = 1;
|
|
string text = 2;
|
|
}
|
|
|
|
enum TokenType {
|
|
Text = 0;
|
|
Artist = 1;
|
|
Author = 2;
|
|
Publisher = 3;
|
|
Title = 4;
|
|
CopyrightYear = 5;
|
|
LicenseNumber = 6;
|
|
SongNumber = 7;
|
|
}
|
|
|
|
repeated .rv.data.CopyrightLayout.Token tokens = 2;
|
|
}
|
|
|