Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct { ID string `xml:"id"` Image string `xml:"Image"` Name string `xml:"Name"` Role string `xml:"Role"` SortOrder int `xml:"SortOrder"` }
Actor ...
type Banner ¶
type Banner struct { ID string `xml:"id"` BannerPath string `xml:"BannerPath"` BannerType string `xml:"BannerType"` BannerType2 string `xml:"BannerType2"` Colors string `xml:"Colors"` Language string `xml:"Language"` Rating string `xml:"Rating"` RatingCount int `xml:"RatingCount"` SeriesName string `xml:"SeriesName"` ThumbnailPath string `xml:"ThumbnailPath"` VignettePath string `xml:"VignettePath"` Season int `xml:"Season,omitempty"` }
Banner ...
type BannersByRating ¶
type BannersByRating []*Banner
BannersByRating ...
func (BannersByRating) Len ¶
func (a BannersByRating) Len() int
func (BannersByRating) Less ¶
func (a BannersByRating) Less(i, j int) bool
func (BannersByRating) Swap ¶
func (a BannersByRating) Swap(i, j int)
type BySeasonAndEpisodeNumber ¶
type BySeasonAndEpisodeNumber []*Episode
BySeasonAndEpisodeNumber ...
func (BySeasonAndEpisodeNumber) Len ¶
func (a BySeasonAndEpisodeNumber) Len() int
func (BySeasonAndEpisodeNumber) Less ¶
func (a BySeasonAndEpisodeNumber) Less(i, j int) bool
func (BySeasonAndEpisodeNumber) Swap ¶
func (a BySeasonAndEpisodeNumber) Swap(i, j int)
type Episode ¶
type Episode struct { ID string `xml:"id"` Director string `xml:"Director"` EpisodeName string `xml:"EpisodeName"` EpisodeNumber int `xml:"EpisodeNumber"` FirstAired string `xml:"FirstAired"` GuestStars string `xml:"GuestStars"` ImdbID string `xml:"IMDB_ID"` Language string `xml:"Language"` Overview string `xml:"Overview"` Rating string `xml:"Rating"` RatingCount string `xml:"RatingCount"` SeasonNumber int `xml:"SeasonNumber"` Writer string `xml:"Writer"` FileName string `xml:"filename"` LastUpdated string `xml:"lastupdated"` SeasonID string `xml:"seasonid"` SeriesID string `xml:"seriesid"` ThumbHeight string `xml:"thumb_height"` ThumbWidth string `xml:"thumb_width"` AbsoluteNumber int `xml:"-"` AbsoluteNumberString string `xml:"absolute_number"` }
Episode ...
type EpisodeList ¶
type EpisodeList []*Episode
EpisodeList ...
func (EpisodeList) ToListItems ¶
func (episodes EpisodeList) ToListItems(show *Show) []*xbmc.ListItem
ToListItems ...
type SeasonList ¶
type SeasonList []*Season
SeasonList ...
func (SeasonList) Len ¶
func (s SeasonList) Len() int
func (SeasonList) Less ¶
func (s SeasonList) Less(i, j int) bool
func (SeasonList) Swap ¶
func (s SeasonList) Swap(i, j int)
func (SeasonList) ToListItems ¶
func (seasons SeasonList) ToListItems(show *Show) []*xbmc.ListItem
ToListItems ...
type Show ¶
type Show struct { ID int `xml:"id"` ActorsSimple string `xml:"Actors"` AirsDayOfWeek string `xml:"Airs_DayOfWeek"` AirsTime string `xml:"Airs_Time"` ContentRating string `xml:"ContentRating"` FirstAired string `xml:"FirstAired"` Genre string `xml:"Genre"` ImdbID string `xml:"IMDB_ID"` Language string `xml:"Language"` Network string `xml:"Network"` NetworkID string `xml:"NetworkID"` Overview string `xml:"Overview"` Rating string `xml:"Rating"` RatingCount string `xml:"RatingCount"` RuntimeString string `xml:"Runtime"` SeriesID string `xml:"SeriesID"` SeriesName string `xml:"SeriesName"` Status string `xml:"Status"` Banner string `xml:"banner"` FanArt string `xml:"fanart"` LastUpdated int `xml:"lastupdated"` Poster string `xml:"poster"` Runtime int `xml:"-"` Seasons SeasonList `xml:"-"` Banners []*Banner `xml:"-"` Actors []*Actor `xml:"-"` }
Show ...
Click to show internal directories.
Click to hide internal directories.