Versions in this module Expand all Collapse all v0 v0.11.1 Aug 2, 2023 Changes in this version + const FieldBudget + const FieldCast + const FieldCharacter + const FieldCollection + const FieldCrew + const FieldDate + const FieldGenre + const FieldKeyword + const FieldName + const FieldRating + const FieldRevenue + const FieldRuntime + const FieldTagline + const FieldTitle + const FieldVote + const FieldVoteCount + const JobDirector + const JobNovel + const JobScreenplay + const JobStory + type Cast struct + Character string + PEID int64 + Person Person + Rank int + TMID int64 + func (Cast) TableName() string + type Collection struct + Name string + SortName string + TMID int64 + type Crew struct + Department string + Job string + PEID int64 + Person Person + TMID int64 + func (Crew) TableName() string + type Episode struct + Date string + EPID int64 + ETag string + Episode int + Key string + LastModified time.Time + Name string + Overview string + Season int + Size int64 + StillPath string + TVID int64 + VoteAverage float32 + VoteCount int + type Genre struct + Name string + TMID int64 + type Keyword struct + Name string + TMID int64 + type Movie struct + BackdropPath string + Budget int64 + Date time.Time + ETag string + IMID string + Key string + LastModified time.Time + OriginalLanguage string + OriginalTitle string + Overview string + PosterPath string + Rating string + Revenue int64 + Runtime int + Size int64 + SortTitle string + TMID int64 + Tagline string + Title string + UUID string + VoteAverage float32 + VoteCount int + func (m *Movie) BeforeCreate(tx *g.DB) (err error) + type Person struct + Bio string + Birthday time.Time + Birthplace string + Deathday time.Time + IMID string + Name string + PEID int64 + ProfilePath string + func (Person) TableName() string + type Recommend struct + Movies []Movie + Name string + type TVShow struct + BackdropPath string + Date time.Time + EndDate time.Time + EpisodeCount int + Name string + OriginalLanguage string + OriginalName string + Overview string + PosterPath string + SeasonCount int + SortName string + TVID int64 + Tagline string + VoteAverage float32 + VoteCount int + type Video struct + func NewVideo(config *config.Config) *Video + func (v *Video) Cast(m Movie) []Cast + func (v *Video) Close() + func (v *Video) CollectionMovies(c *Collection) []Movie + func (v *Video) Collections() []Collection + func (v *Video) Crew(m Movie) []Crew + func (v *Video) Directing(p Person) []Movie + func (v *Video) FindMovie(identifier string) (Movie, error) + func (v *Video) FindMovies(identifiers []string) []Movie + func (v *Video) Genre(name string) []Movie + func (v *Video) Genres(m Movie) []string + func (v *Video) HasMovies() bool + func (v *Video) Keyword(name string) []Movie + func (v *Video) Keywords(m Movie) []string + func (v *Video) LastModified() time.Time + func (v *Video) LookupCollectionName(name string) (*Collection, error) + func (v *Video) LookupETag(etag string) (*Movie, error) + func (v *Video) LookupIMID(imid string) (Movie, error) + func (v *Video) LookupMovie(id int) (Movie, error) + func (v *Video) LookupPerson(id int) (Person, error) + func (v *Video) LookupTMID(tmid int) (Movie, error) + func (v *Video) LookupUUID(uuid string) (Movie, error) + func (v *Video) Movie(tmid int) (*Movie, error) + func (v *Video) MovieBackdrop(m Movie) string + func (v *Video) MovieCollection(m Movie) *Collection + func (v *Video) MovieCount() int64 + func (v *Video) MoviePoster(m Movie) string + func (v *Video) MoviePosterSmall(m Movie) string + func (v *Video) MovieURL(m Movie) *url.URL + func (v *Video) Movies() []Movie + func (v *Video) Open() (err error) + func (v *Video) Person(peid int) (*Person, error) + func (v *Video) PersonProfile(p Person) string + func (v *Video) Producing(p Person) []Movie + func (v *Video) RecentlyAdded() []Movie + func (v *Video) RecentlyReleased() []Movie + func (v *Video) Recommend() []Recommend + func (v *Video) Search(q string, limit ...int) []Movie + func (v *Video) Starring(p Person) []Movie + func (v *Video) Sync() error + func (v *Video) SyncBackdrops(client client.Getter) + func (v *Video) SyncPosters(client client.Getter) + func (v *Video) SyncProfileImages(client client.Getter) + func (v *Video) SyncSince(lastSync time.Time) error + func (v *Video) TMDBMovieBackdrop(m Movie) string + func (v *Video) TMDBMoviePoster(m Movie) string + func (v *Video) TMDBMoviePosterSmall(m Movie) string + func (v *Video) TMDBPersonProfile(p Person) string + func (v *Video) UpdateMovie(m *Movie) error + func (v *Video) Writing(p Person) []Movie