Skip to content

Commit

Permalink
add ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed May 12, 2023
1 parent cbfa4a3 commit 2876873
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions models.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,18 @@ type Metadata struct {
Director []TaggedData `json:"Director"`
Genre []TaggedData `json:"Genre"`
Producer []TaggedData `json:"Producer"`
Ratings []Rating `json:"Rating"`
Role []TaggedData `json:"Role"`
Writer []TaggedData `json:"Writer"`
}

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

// 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

0 comments on commit 2876873

Please sign in to comment.