Documentation
¶
Index ¶
- type Actor
- type Banner
- type BannersByRating
- func (a BannersByRating) Len() int
- func (a BannersByRating) Less(i, j int) bool
- func (z BannersByRating) MarshalMsg(b []byte) (o []byte, err error)
- func (z BannersByRating) Msgsize() (s int)
- func (a BannersByRating) Swap(i, j int)
- func (z *BannersByRating) UnmarshalMsg(bts []byte) (o []byte, err error)
- type BySeasonAndEpisodeNumber
- func (a BySeasonAndEpisodeNumber) Len() int
- func (a BySeasonAndEpisodeNumber) Less(i, j int) bool
- func (z BySeasonAndEpisodeNumber) MarshalMsg(b []byte) (o []byte, err error)
- func (z BySeasonAndEpisodeNumber) Msgsize() (s int)
- func (a BySeasonAndEpisodeNumber) Swap(i, j int)
- func (z *BySeasonAndEpisodeNumber) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Episode
- type EpisodeList
- type Season
- type SeasonList
- func (s SeasonList) Len() int
- func (s SeasonList) Less(i, j int) bool
- func (z SeasonList) MarshalMsg(b []byte) (o []byte, err error)
- func (z SeasonList) Msgsize() (s int)
- func (s SeasonList) Swap(i, j int)
- func (seasons SeasonList) ToListItems(show *Show) []*xbmc.ListItem
- func (z *SeasonList) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Show
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 ...
func (*Actor) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
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 ...
func (*Banner) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
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) MarshalMsg ¶
func (z BannersByRating) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (BannersByRating) Msgsize ¶
func (z BannersByRating) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (BannersByRating) Swap ¶
func (a BannersByRating) Swap(i, j int)
func (*BannersByRating) UnmarshalMsg ¶
func (z *BannersByRating) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
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) MarshalMsg ¶
func (z BySeasonAndEpisodeNumber) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (BySeasonAndEpisodeNumber) Msgsize ¶
func (z BySeasonAndEpisodeNumber) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (BySeasonAndEpisodeNumber) Swap ¶
func (a BySeasonAndEpisodeNumber) Swap(i, j int)
func (*BySeasonAndEpisodeNumber) UnmarshalMsg ¶
func (z *BySeasonAndEpisodeNumber) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
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 ...
func (*Episode) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Episode) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Episode) ToListItem ¶
ToListItem ...
type EpisodeList ¶
type EpisodeList []*Episode
EpisodeList ...
func (EpisodeList) MarshalMsg ¶
func (z EpisodeList) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (EpisodeList) Msgsize ¶
func (z EpisodeList) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (EpisodeList) ToListItems ¶
func (episodes EpisodeList) ToListItems(show *Show) []*xbmc.ListItem
ToListItems ...
func (*EpisodeList) UnmarshalMsg ¶
func (z *EpisodeList) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Season ¶
type Season struct {
Season int
Episodes EpisodeList
}
Season ...
func (*Season) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Season) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Season) ToListItem ¶
ToListItem ...
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) MarshalMsg ¶
func (z SeasonList) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (SeasonList) Msgsize ¶
func (z SeasonList) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (SeasonList) Swap ¶
func (s SeasonList) Swap(i, j int)
func (SeasonList) ToListItems ¶
func (seasons SeasonList) ToListItems(show *Show) []*xbmc.ListItem
ToListItems ...
func (*SeasonList) UnmarshalMsg ¶
func (z *SeasonList) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
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 ...
func (*Show) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler