Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Episode ¶
type Episode struct { BaseModel Title string `json:"title"` Number int `json:"number"` AirDate time.Time `json:"airDate"` SeasonID uint Season Season `json:"season"` }
Episode represents an episode in a series
type EpisodeFile ¶
type Language ¶
type Language struct { BaseModel Abbreviation string `json:"abbreviation"` EnglishName string `json:"englishName"` TVDBID int `json:"tvdbID"` Name string `json:"name"` }
Language supported languages in TVDB
type Season ¶
type Season struct { BaseModel Number uint `json:"number"` Episodes []Episode `json:"episodes"` SeriesID uint Series Series `json:"series"` }
Season represents a season in a series
type Series ¶
type Series struct { BaseModel Name string `json:"name"` Status string `json:"status"` Network string `json:"network"` Poster string `json:"poster"` Overview string `json:"overview"` TvdbID int `json:"tvdbID"` Seasons []Season `json:"seasons"` LanguageID uint Language Language `json:"language"` }
Series represents a television series
Click to show internal directories.
Click to hide internal directories.