Versions in this module Expand all Collapse all v1 v1.2.1 Jul 16, 2022 v1.2.0 Jun 19, 2021 v1.1.1 Feb 20, 2021 v1.1.0 Aug 2, 2020 v1.0.4 Jun 14, 2020 v1.0.3 Jun 14, 2020 v1.0.2 May 15, 2020 v1.0.1 Mar 30, 2020 Changes in this version type TraktMovie + Type string type TraktMoviesResponse + Type *string type TraktShow + Type string type TraktShowsResponse + Type *string v1.0.0 Mar 29, 2020 Changes in this version + const SearchTypeAnticipated + const SearchTypeCollected + const SearchTypeList + const SearchTypeNow + const SearchTypePerson + const SearchTypePlayed + const SearchTypePopular + const SearchTypeQuery + const SearchTypeSchedule + const SearchTypeTrending + const SearchTypeUpcoming + const SearchTypeWatched + const TmdbRateLimit + const TraktRateLimit + const TvMazeRateLimit + type Interface interface + GetMovies func(string, map[string]interface{}, map[string]string) (map[string]config.MediaItem, error) + GetMoviesSearchTypes func() []string + GetShows func(string, map[string]interface{}, map[string]string) (map[string]config.MediaItem, error) + GetShowsSearchTypes func() []string + Init func(MediaType, map[string]string) error + SetAcceptMediaItemFn func(func(*config.MediaItem) bool) + SetIgnoreExistingMediaItemFn func(func(*config.MediaItem) bool) + SupportsMoviesSearchType func(string) bool + SupportsShowsSearchType func(string) bool + func Get(providerType string) (Interface, error) + type MediaType int + const Movie + const Show + type Tmdb struct + func NewTmdb() *Tmdb + func (p *Tmdb) GetMovies(searchType string, logic map[string]interface{}, params map[string]string) (map[string]config.MediaItem, error) + func (p *Tmdb) GetMoviesSearchTypes() []string + func (p *Tmdb) GetShows(searchType string, logic map[string]interface{}, params map[string]string) (map[string]config.MediaItem, error) + func (p *Tmdb) GetShowsSearchTypes() []string + func (p *Tmdb) Init(mediaType MediaType, cfg map[string]string) error + func (p *Tmdb) SetAcceptMediaItemFn(fn func(*config.MediaItem) bool) + func (p *Tmdb) SetIgnoreExistingMediaItemFn(fn func(*config.MediaItem) bool) + func (p *Tmdb) SupportsMoviesSearchType(searchType string) bool + func (p *Tmdb) SupportsShowsSearchType(searchType string) bool + type TmdbGenre struct + Id int + Name string + type TmdbGenreResponse struct + Genres []TmdbGenre + type TmdbMovieDetailsResponse struct + Adult bool + BackdropPath string + BelongsToCollection interface{} + Budget int + Genres []struct{ ... } + Homepage string + ID int + ImdbID string + OriginalLanguage string + OriginalTitle string + Overview string + Popularity float64 + PosterPath string + ProductionCompanies []interface{} + ProductionCountries []struct{ ... } + ReleaseDate string + Revenue int + Runtime int + SpokenLanguages []struct{ ... } + Status string + Tagline string + Title string + Video bool + VoteCount int + type TmdbMoviesResponse struct + Dates struct{ ... } + Page int + Results []struct{ ... } + TotalPages int + TotalResults int + type Trakt struct + func NewTrakt() *Trakt + func (p *Trakt) GetMovies(searchType string, logic map[string]interface{}, params map[string]string) (map[string]config.MediaItem, error) + func (p *Trakt) GetMoviesSearchTypes() []string + func (p *Trakt) GetShows(searchType string, logic map[string]interface{}, params map[string]string) (map[string]config.MediaItem, error) + func (p *Trakt) GetShowsSearchTypes() []string + func (p *Trakt) Init(mediaType MediaType, cfg map[string]string) error + func (p *Trakt) SetAcceptMediaItemFn(fn func(*config.MediaItem) bool) + func (p *Trakt) SetIgnoreExistingMediaItemFn(fn func(*config.MediaItem) bool) + func (p *Trakt) SupportsMoviesSearchType(searchType string) bool + func (p *Trakt) SupportsShowsSearchType(searchType string) bool + type TraktMovie struct + AvailableTranslations []string + Certification string + Character string + CommentCount int + Country string + Genres []string + Homepage string + Ids TraktMovieIds + Language string + Overview string + Rating float64 + Released string + Runtime int + Status string + Tagline string + Title string + Trailer string + Votes int + Year int + type TraktMovieIds struct + Imdb string + Slug string + Tmdb int + Trakt int + type TraktMoviesResponse struct + Character *string + Movie *TraktMovie + type TraktPersonMovieCastResponse struct + Cast []TraktMoviesResponse + type TraktPersonShowCastResponse struct + Cast []TraktShowsResponse + type TraktShow struct + AiredEpisodes int + AvailableTranslations []string + Certification string + Character string + CommentCount int + Country string + FirstAired time.Time + Genres []string + Homepage string + Ids TraktShowIds + Language string + Network string + Overview string + Rating float64 + Runtime int + Status string + Title string + Trailer string + Votes int + Year int + type TraktShowIds struct + Imdb string + Slug string + Tmdb int + Trakt int + Tvdb int + type TraktShowsResponse struct + Character *string + Show *TraktShow + type TvMaze struct + func NewTvMaze() *TvMaze + func (p *TvMaze) GetMovies(searchType string, logic map[string]interface{}, params map[string]string) (map[string]config.MediaItem, error) + func (p *TvMaze) GetMoviesSearchTypes() []string + func (p *TvMaze) GetShows(searchType string, logic map[string]interface{}, params map[string]string) (map[string]config.MediaItem, error) + func (p *TvMaze) GetShowsSearchTypes() []string + func (p *TvMaze) Init(mediaType MediaType, cfg map[string]string) error + func (p *TvMaze) SetAcceptMediaItemFn(fn func(*config.MediaItem) bool) + func (p *TvMaze) SetIgnoreExistingMediaItemFn(fn func(*config.MediaItem) bool) + func (p *TvMaze) SupportsMoviesSearchType(searchType string) bool + func (p *TvMaze) SupportsShowsSearchType(searchType string) bool + type TvMazeScheduleItem struct + Airdate string + Airstamp time.Time + Airtime string + Embedded struct{ ... } + ID int + Image interface{} + Name string + Number int + Runtime int + Season int + Summary string + URL string