-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathplaylist.proto
117 lines (100 loc) · 2.68 KB
/
playlist.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
syntax = "proto3";
package rv.data;
import "action.proto";
import "color.proto";
import "cue.proto";
import "hotKey.proto";
import "musicKeyScale.proto";
import "planningCenter.proto";
import "url.proto";
import "uuid.proto";
message Playlist {
rv.data.UUID uuid = 1;
string name = 2;
enum Type {
TYPE_UNKNOWN = 0;
TYPE_PLAYLIST = 1;
TYPE_GROUP = 2;
TYPE_SMART = 3;
TYPE_ROOT = 4;
}
Type type = 3;
bool expanded = 4;
rv.data.UUID targeted_layer_uuid = 5;
rv.data.URL smart_directory_path = 6;
rv.data.HotKey hot_key = 7;
repeated rv.data.Cue cues = 8;
repeated rv.data.Playlist children = 9;
bool timecode_enabled = 10;
enum TimingType {
TIMING_TYPE_NONE = 0;
TIMING_TYPE_TIMECODE = 1;
TIMING_TYPE_TIME_OF_DAY = 2;
}
TimingType timing = 11;
rv.data.Playlist.StartupInfo startup_info = 16;
oneof ChildrenType {
rv.data.Playlist.PlaylistArray playlists = 12;
rv.data.Playlist.PlaylistItems items = 13;
}
oneof LinkData {
rv.data.Playlist.FolderDirectory smart_directory = 14;
rv.data.PlanningCenterPlan pco_plan = 15;
}
message PlaylistArray {
repeated rv.data.Playlist playlists = 1;
}
message PlaylistItems {
repeated rv.data.PlaylistItem items = 1;
}
message FolderDirectory {
rv.data.URL smart_directory = 1;
enum ImportBehavior {
IMPORT_BEHAVIOR_BACKGROUND = 0;
IMPORT_BEHAVIOR_FOREGROUND = 1;
}
ImportBehavior import_behavior = 2;
}
message Tag {
rv.data.Color color = 1;
string name = 2;
rv.data.UUID uuid = 3;
}
message StartupInfo {
bool trigger_on_startup = 1;
}
}
message PlaylistItem {
rv.data.UUID uuid = 1;
string name = 2;
repeated rv.data.UUID tags = 7;
bool is_hidden = 9;
oneof ItemType {
rv.data.PlaylistItem.Header header = 3;
rv.data.PlaylistItem.Presentation presentation = 4;
rv.data.Cue cue = 5;
rv.data.PlaylistItem.PlanningCenter planning_center = 6;
rv.data.PlaylistItem.Placeholder placeholder = 8;
}
message Header {
rv.data.Color color = 1;
repeated rv.data.Action actions = 2;
}
message Presentation {
rv.data.URL document_path = 1;
rv.data.UUID arrangement = 2;
enum ContentDestination {
CONTENT_DESTINATION_GLOBAL = 0;
CONTENT_DESTINATION_ANNOUNCEMENTS = 1;
}
ContentDestination content_destination = 3;
rv.data.MusicKeyScale user_music_key = 4;
}
message PlanningCenter {
rv.data.PlanningCenterPlan.PlanItem item = 1;
rv.data.PlaylistItem linked_data = 2;
}
message Placeholder {
rv.data.PlaylistItem linked_data = 1;
}
}