Ó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.
28 lines
727 B
Go
28 lines
727 B
Go
package series
|
|
|
|
type Serie struct {
|
|
Title string `yaml:"title"`
|
|
IDs struct {
|
|
Slug string `json:"slug"`
|
|
IMDB string `json:"imdb"`
|
|
TMDB int `json:"tmdb"`
|
|
Trakt int `json:"trakt"`
|
|
TVDB int `json:"tvdb"`
|
|
} `json:"ids"`
|
|
Subtitle string `yaml:"subtitle"`
|
|
Link string `yaml:"link"`
|
|
Year int `yaml:"year"`
|
|
Rate float64 `yaml:"rate"`
|
|
Progress string `yaml:"progress"`
|
|
Episode string `yaml:"episode"`
|
|
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 Series []Serie
|