omdb: make Rated accessible via filters

Closes #28
This commit is contained in:
l3uddz
2021-09-18 09:56:42 +01:00
parent fbcce0a55b
commit 0a0f300536
2 changed files with 2 additions and 0 deletions

View File

@@ -66,5 +66,6 @@ func (c *Client) GetItem(imdbId string) (*Item, error) {
ImdbVotes: util.Atoi(util.StripNonNumeric(b.ImdbVotes), 0),
Language: b.Language,
Country: b.Country,
Rated: b.Rated,
}, nil
}

View File

@@ -40,4 +40,5 @@ type Item struct {
ImdbVotes int `json:"ImdbVotes,omitempty"`
Language string `json:"Language,omitempty"`
Country string `json:"Country,omitempty"`
Rated string `json:"Rated,omitempty"`
}