Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrShowNotFound = errors.New("show not found")
ErrShowNotFound is returned when a show lookup yields no results (HTTP 404 or empty response).
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
EpisodesInSeason(ctx context.Context, title string, seasonNumber int) (int, error)
}
Provider looks up episode counts from an external metadata source.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service orchestrates metadata lookups across configured providers with caching.
func NewService ¶
NewService creates a metadata service. TVMaze is always enabled. TVDB is only enabled when tvdbAPIKey is non-empty.
Click to show internal directories.
Click to hide internal directories.