-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstructs.go
More file actions
105 lines (94 loc) · 2.1 KB
/
structs.go
File metadata and controls
105 lines (94 loc) · 2.1 KB
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
package plexhooks
type Account struct {
Id int
Thumb string
Title string
}
type Server struct {
Title string
Uuid string
}
type Player struct {
Local bool
PublicAddress string
Title string
Uuid string
}
type GenericItem struct {
Id int
Filter string
Tag string
Role string
Thumb string
Count int
}
type Genre GenericItem
type Director GenericItem
type Writer GenericItem
type Producer GenericItem
type Country GenericItem
type Similar GenericItem
type Role GenericItem
type ExternalGuid struct {
Id string
}
type Metadata struct {
LibrarySectionType string
RatingKey string
Key string
ParentRatingKey string
GrandparentRatingKey string
ExternalGuid []ExternalGuid `json:"Guid"`
Guid string `json:"guid"`
LibrarySectionTitle string
LibrarySectionID int
LibrarySectionKey string
Studio string
Type string
Title string
TitleSort string
GrandparentKey string
ParentKey string
GrandparentTitle string
ParentTitle string
ContentRating string
Summary string
Tagline string
Index int
ParentIndex int
RatingCount int
AudienceRating float32
ViewOffset int
ViewCount int
LastViewedAt int
Year int
Thumb string
Art string
Duration int
ParentThumb string
GrandparentThumb string
GrandparentArt string
GrandparentTheme string
OriginallyAvailableAt string
AddedAt int
UpdatedAt int
AudienceRatingImage string
PrimaryExtraKey string
RatingImage string
Genre []Genre
Director []Director
Writer []Writer
Producer []Producer
Country []Country
Similar []Similar
Role []Role
}
type PlexResponse struct {
Event string
User bool
Owner bool
Account Account
Metadata Metadata
Server Server
Player Player
}