2024-10-09 11:12:44 +02:00
|
|
|
package movies
|
2024-10-08 21:08:01 +02:00
|
|
|
|
2024-10-09 11:12:44 +02:00
|
|
|
type Movie struct {
|
2024-10-09 21:05:11 +02:00
|
|
|
Title string `yaml:"title"`
|
|
|
|
IDs struct {
|
|
|
|
Slug string `json:"slug"`
|
|
|
|
IMDB string `json:"imdb"`
|
|
|
|
TMDB int `json:"tmdb"`
|
|
|
|
Trakt int `json:"trakt"`
|
|
|
|
} `json:"ids"`
|
2024-10-08 21:08:01 +02:00
|
|
|
Subtitle string `yaml:"subtitle"`
|
|
|
|
Link string `yaml:"link"`
|
|
|
|
Year int `yaml:"year"`
|
|
|
|
Rate float64 `yaml:"rate"`
|
2024-10-24 17:16:17 +02:00
|
|
|
Progress string `yaml:"progress"`
|
2024-10-08 21:08:01 +02:00
|
|
|
Image string `yaml:"image"`
|
|
|
|
Poster string `yaml:"poster-image"`
|
|
|
|
Background string `yaml:"background-image"`
|
|
|
|
Date string `yaml:"date"`
|
2024-10-14 16:52:15 +02:00
|
|
|
New bool `yaml:"new"`
|
2024-12-17 14:26:32 +01:00
|
|
|
Query string `yaml:"query"`
|
2024-10-08 21:08:01 +02:00
|
|
|
Tags []string
|
|
|
|
}
|
|
|
|
|
2024-10-09 11:12:44 +02:00
|
|
|
type Movies []Movie
|