Óscar M. Lage
80b872d6e9
From now on we can use both: fanart and google for the images download. By default it will be using fanart but if we want to use google because images in fanart are not appropriate (or it didn't find anything because the content is Spanish or reasons), we can add the following to the .md: ```yml query: google ``` And it should use google for image searching instead of fanart.
26 lines
661 B
Go
26 lines
661 B
Go
package movies
|
|
|
|
type Movie struct {
|
|
Title string `yaml:"title"`
|
|
IDs struct {
|
|
Slug string `json:"slug"`
|
|
IMDB string `json:"imdb"`
|
|
TMDB int `json:"tmdb"`
|
|
Trakt int `json:"trakt"`
|
|
} `json:"ids"`
|
|
Subtitle string `yaml:"subtitle"`
|
|
Link string `yaml:"link"`
|
|
Year int `yaml:"year"`
|
|
Rate float64 `yaml:"rate"`
|
|
Progress string `yaml:"progress"`
|
|
Image string `yaml:"image"`
|
|
Poster string `yaml:"poster-image"`
|
|
Background string `yaml:"background-image"`
|
|
Date string `yaml:"date"`
|
|
New bool `yaml:"new"`
|
|
Query string `yaml:"query"`
|
|
Tags []string
|
|
}
|
|
|
|
type Movies []Movie
|