Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion models.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type Metadata struct {
ParentThumb string `json:"parentThumb"`
ParentTitle string `json:"parentTitle"`
RatingCount string `json:"ratingCount"`
Rating float64 `json:"rating"`
Rating []Rating `json:"rating"`
RatingKey string `json:"ratingKey"`
SessionKey string `json:"sessionKey"`
Summary string `json:"summary"`
Expand All @@ -86,6 +86,12 @@ type Metadata struct {
Writer []TaggedData `json:"Writer"`
}

type Rating struct {
Image string `json:"image"`
Type string `json:"type"`
Value string `json:"value"`
}

// AltGUID represents a Globally Unique Identifier for a metadata provider that is not actively being used.
type AltGUID struct {
ID string `json:"id"`
Expand Down