Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeMovie = iota + 1 TypeShow TypeSeason TypeEpisode )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchFunc ¶
type MatchFunc func(context.Context, MatchRequest, RequestHeader) ([]Metadata, error)
type MatchRequest ¶
type MatchRequest struct {
Type int `json:"type"`
Title string `json:"title"`
ParentTitle string `json:"parentTitle"`
GrandParentTitle string `json:"grandparentTitle"`
IncludeChildren bool `json:"includeChildren"`
EpisodeOrder string `json:"episodeOrder"`
Year int `json:"year"`
GUID string `json:"guid"`
Index int `json:"index"`
ParentIndex int `json:"parentIndex"`
Filename string `json:"filename"`
Date string `json:"date"`
Manual bool `json:"manual"`
IncludeAdult bool `json:"includeAdult"`
}
type MediaContainer ¶
type MediaProvider ¶
type MediaProviderResponse ¶
type MediaProviderResponse struct {
MediaProvider MediaProvider `json:"MediaProvider"`
}
type MetadataFunc ¶
type MetadataResponse ¶
type MetadataResponse struct {
MediaContainer MediaContainer `json:"MediaContainer"`
}
type Option ¶
type Option func(p *Provider)
func WithLogger ¶
func WithMatchFeatureEnabled ¶
func WithMaxBodySize ¶
func WithMetadataFeatureEnabled ¶
func WithMetadataFeatureEnabled(f MetadataFunc) Option
func WithVersion ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) MediaProvider ¶
func (p *Provider) MediaProvider() MediaProvider
type RequestHeader ¶
Click to show internal directories.
Click to hide internal directories.