propresenter7-php-lib/proto/url.proto
Thorsten Buss 4d10db4f17 Initial public release
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.
2026-05-03 22:21:01 +02:00

69 lines
1.5 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 URL {
message LocalRelativePath {
enum Root {
ROOT_UNKNOWN = 0;
ROOT_BOOT_VOLUME = 1;
ROOT_USER_HOME = 2;
ROOT_USER_DOCUMENTS = 3;
ROOT_USER_DOWNLOADS = 4;
ROOT_USER_MUSIC = 5;
ROOT_USER_PICTURES = 6;
ROOT_USER_VIDEOS = 7;
ROOT_USER_DESKTOP = 11;
ROOT_USER_APP_SUPPORT = 8;
ROOT_SHARED = 9;
ROOT_SHOW = 10;
ROOT_CURRENT_RESOURCE = 12;
}
.rv.data.URL.LocalRelativePath.Root root = 1;
string path = 2;
}
message ExternalRelativePath {
message MacOSExternalVolume {
string volume_name = 1;
}
message Win32ExternalVolume {
string drive_letter = 1;
string volume_name = 2;
bool network_share = 3;
}
.rv.data.URL.ExternalRelativePath.MacOSExternalVolume macos = 1;
.rv.data.URL.ExternalRelativePath.Win32ExternalVolume win32 = 2;
string path = 3;
}
enum Platform {
PLATFORM_UNKNOWN = 0;
PLATFORM_MACOS = 1;
PLATFORM_WIN32 = 2;
PLATFORM_WEB = 3;
}
.rv.data.URL.Platform platform = 3;
oneof Storage {
string absolute_string = 1;
string relative_path = 2;
}
oneof RelativeFilePath {
.rv.data.URL.LocalRelativePath local = 4;
.rv.data.URL.ExternalRelativePath external = 5;
}
}
message URLs {
repeated .rv.data.URL urls = 1;
}