Documentation ¶
Index ¶
- Constants
- func GetBestImage(old string, lists ...[]*Image) string
- func GetBestShowImage(season string, isStrict bool, old string, lists ...[]*ShowImage) string
- func GetHeader() http.Header
- func GetMultipleImage(old string, lists ...[]*Image) []string
- func GetMultipleShowImage(season, old string, lists ...[]*ShowImage) []string
- type Disk
- type Image
- type Movie
- type Show
- type ShowImage
Constants ¶
View Source
const ( // ClientID ... ClientID = "decb307ca800170b833c3061863974f3" // APIVersion ... APIVersion = "v3" )
Variables ¶
This section is empty.
Functions ¶
func GetBestImage ¶
GetBestImage returns best image from multiple lists, according to the lang setting. Taking order of lists into account.
func GetBestShowImage ¶
GetBestShowImage returns best image from multiple lists, according to the lang setting. Taking order of lists into account.
func GetMultipleImage ¶
GetMultipleImage returns multiple images in a list
func GetMultipleShowImage ¶
GetMultipleShowImage returns multiple images in a list
Types ¶
type Image ¶
type Image struct { ID string `json:"id"` URL string `json:"url"` Lang string `json:"lang"` Likes string `json:"likes"` }
Image ...
type Movie ¶
type Movie struct { Name string `json:"name"` TmdbID string `json:"tmdb_id"` ImdbID string `json:"imdb_id"` HDMovieClearArt []*Image `json:"hdmovieclearart"` HDMovieLogo []*Image `json:"hdmovielogo"` MoviePoster []*Image `json:"movieposter"` MovieBackground []*Image `json:"moviebackground"` MovieDisc []*Disk `json:"moviedisc"` MovieThumb []*Image `json:"moviethumb"` MovieArt []*Image `json:"movieart"` MovieClearArt []*Image `json:"movieclearart"` MovieLogo []*Image `json:"movielogo"` MovieBanner []*Image `json:"moviebanner"` }
Movie ...
func (*Movie) ToListItemArt ¶
func (fa *Movie) ToListItemArt(old *xbmc.ListItemArt) *xbmc.ListItemArt
ToListItemArt ...
type Show ¶
type Show struct { Name string `json:"name"` TvdbID string `json:"thetvdb_id"` HDClearArt []*ShowImage `json:"hdclearart"` HdtvLogo []*ShowImage `json:"hdtvlogo"` ClearLogo []*ShowImage `json:"clearlogo"` ClearArt []*ShowImage `json:"clearart"` TVPoster []*ShowImage `json:"tvposter"` TVBanner []*ShowImage `json:"tvbanner"` TVThumb []*ShowImage `json:"tvthumb"` ShowBackground []*ShowImage `json:"showbackground"` SeasonPoster []*ShowImage `json:"seasonposter"` SeasonThumb []*ShowImage `json:"seasonthumb"` SeasonBanner []*ShowImage `json:"seasonbanner"` CharacterArt []*ShowImage `json:"characterart"` }
Show ...
func (*Show) ToEpisodeListItemArt ¶
func (fa *Show) ToEpisodeListItemArt(season int, old *xbmc.ListItemArt) *xbmc.ListItemArt
ToEpisodeListItemArt ...
func (*Show) ToListItemArt ¶
func (fa *Show) ToListItemArt(old *xbmc.ListItemArt) *xbmc.ListItemArt
ToListItemArt ...
func (*Show) ToSeasonListItemArt ¶
func (fa *Show) ToSeasonListItemArt(season int, old *xbmc.ListItemArt) *xbmc.ListItemArt
ToSeasonListItemArt ...
Click to show internal directories.
Click to hide internal directories.