diff --git a/sub_selections.go b/sub_selections.go index 6dd6e18..5e59ec7 100644 --- a/sub_selections.go +++ b/sub_selections.go @@ -93,6 +93,7 @@ const ( isAdult userId } + nextAiringEpisode }` subSelectionFuzzyDate = `{ diff --git a/types.go b/types.go index 329addc..998a5e2 100644 --- a/types.go +++ b/types.go @@ -10,38 +10,39 @@ type User struct { } type Media struct { - ID int `json:"id"` - Title MediaTitle `json:"title"` - Type MediaType `json:"type"` - Format MediaFormat `json:"format"` - Status MediaStatus `json:"status"` - Description string `json:"description"` - StartDate FuzzyDate `json:"startDate"` - EndDate FuzzyDate `json:"endDate"` - Season MediaSeason `json:"season"` - SeasonYear int `json:"seasonYear"` - SeasonInt int `json:"seasonInt"` - Episodes int `json:"episodes"` - Duration Minutes `json:"duration"` - Chapters int `json:"chapters"` - Volumes int `json:"volumes"` - CountryOfOrigin string `json:"countryOfOrigin"` - Licensed bool `json:"isLicensed"` - Source MediaSource `json:"source"` - Hashtag string `json:"hashtag"` - Trailer MediaTrailer `json:"trailer"` - UpdatedAt UnixTime `json:"updatedAt"` - CoverImage MediaCoverImage `json:"coverImage"` - BannerImage string `json:"bannerImage"` - Genres []string `json:"genres"` - Synonyms []string `json:"synonyms"` - AverageScore int `json:"averageScore"` - MeanScore int `json:"meanScore"` - Popularity int `json:"popularity"` - Locked bool `json:"isLocked"` - Trending int `json:"trending"` - Favourites int `json:"favourites"` - Tags []MediaTag `json:"tags"` + ID int `json:"id"` + Title MediaTitle `json:"title"` + Type MediaType `json:"type"` + Format MediaFormat `json:"format"` + Status MediaStatus `json:"status"` + Description string `json:"description"` + StartDate FuzzyDate `json:"startDate"` + EndDate FuzzyDate `json:"endDate"` + Season MediaSeason `json:"season"` + SeasonYear int `json:"seasonYear"` + SeasonInt int `json:"seasonInt"` + Episodes int `json:"episodes"` + Duration Minutes `json:"duration"` + Chapters int `json:"chapters"` + Volumes int `json:"volumes"` + CountryOfOrigin string `json:"countryOfOrigin"` + Licensed bool `json:"isLicensed"` + Source MediaSource `json:"source"` + Hashtag string `json:"hashtag"` + Trailer MediaTrailer `json:"trailer"` + UpdatedAt UnixTime `json:"updatedAt"` + CoverImage MediaCoverImage `json:"coverImage"` + BannerImage string `json:"bannerImage"` + Genres []string `json:"genres"` + Synonyms []string `json:"synonyms"` + AverageScore int `json:"averageScore"` + MeanScore int `json:"meanScore"` + Popularity int `json:"popularity"` + Locked bool `json:"isLocked"` + Trending int `json:"trending"` + Favourites int `json:"favourites"` + Tags []MediaTag `json:"tags"` + NextAiringEpisode AiringSchedule `json:"nextAiringEpisode"` //TODO }