Documentation ¶
Overview ¶
Package video provides support for all movie media.
Index ¶
- Constants
- Variables
- type 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) MovieBackdrop(m Movie) string
- func (v *Video) MovieCollections(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
Constants ¶
View Source
const ( FieldBudget = "budget" FieldCast = "cast" FieldCharacter = "character" FieldCollection = "collection" FieldCrew = "crew" FieldDate = "date" FieldGenre = "genre" FieldKeyword = "keyword" FieldName = "name" FieldRating = "rating" FieldRevenue = "revenue" FieldRuntime = "runtime" FieldTagline = "tagline" FieldTitle = "title" FieldVote = "vote" FieldVoteCount = "vote_count" JobDirector = "Director" JobNovel = "Novel" JobScreenplay = "Screenplay" JobStory = "Story" PreferLargest = "largest" PreferSmallest = "smallest" )
Variables ¶
View Source
var (
ErrDuplicateFound = errors.New("duplicate found")
)
Functions ¶
This section is empty.
Types ¶
type Video ¶
type Video struct {
// contains filtered or unexported fields
}
func (*Video) CollectionMovies ¶
func (v *Video) CollectionMovies(c Collection) []Movie
func (*Video) Collections ¶
func (v *Video) Collections() []Collection
func (*Video) FindMovies ¶
func (*Video) LastModified ¶
func (*Video) LookupCollectionName ¶
func (*Video) LookupETag ¶
func (*Video) LookupIMID ¶
func (*Video) LookupMovie ¶
func (*Video) LookupPerson ¶
func (*Video) LookupTMID ¶
func (*Video) LookupUUID ¶
func (*Video) MovieBackdrop ¶
func (*Video) MovieCollections ¶ added in v0.18.4
func (v *Video) MovieCollections(m Movie) []Collection
func (*Video) MovieCount ¶
func (*Video) MoviePoster ¶
func (*Video) MoviePosterSmall ¶
func (*Video) PersonProfile ¶
func (*Video) RecentlyAdded ¶
func (v *Video) RecentlyAdded() []Movie
func (*Video) RecentlyReleased ¶
func (v *Video) RecentlyReleased() []Movie
func (*Video) SyncBackdrops ¶
func (*Video) SyncPosters ¶
func (*Video) SyncProfileImages ¶
func (*Video) TMDBMovieBackdrop ¶
func (*Video) TMDBMoviePoster ¶
func (*Video) TMDBMoviePosterSmall ¶
func (*Video) TMDBPersonProfile ¶
func (*Video) UpdateMovie ¶
Click to show internal directories.
Click to hide internal directories.