You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models.go
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ type Metadata struct {
71
71
ParentTitlestring`json:"parentTitle"`
72
72
RatingCountint`json:"ratingCount"`
73
73
Ratingfloat64`json:"rating"`
74
+
Ratings []Rating`json:"Rating"`
74
75
RatingKeystring`json:"ratingKey"`
75
76
SessionKeystring`json:"sessionKey"`
76
77
Summarystring`json:"summary"`
@@ -136,7 +137,6 @@ type Media struct {
136
137
Heightint`json:"height"`
137
138
ID json.Number`json:"id"`
138
139
OptimizedForStreamingboolOrInt`json:"optimizedForStreaming"`// plex can return int (GetMetadata(), GetPlaylist()) or boolean (GetSessions()): 0 or 1; true or false
139
-
140
140
Selectedbool`json:"selected"`
141
141
VideoCodecstring`json:"videoCodec"`
142
142
VideoFrameRatestring`json:"videoFrameRate"`
@@ -894,3 +894,10 @@ type CurrentSessions struct {
0 commit comments