Documentation
¶
Overview ¶
Package scenenumbering lazily reads untrusted XEM episode mappings. Only a TVDB absolute-number match establishes a TMDB episode's identity.
Index ¶
Constants ¶
View Source
const DefaultURL = "https://thexem.info/map/all"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Lookup ¶
func (s *Service) Lookup(ctx context.Context, req core.SearchRequest, canonical func() (core.EpisodeLayout, error)) (core.ReleaseNumbering, error)
Lookup reads XEM only on demand; canonical facts are read only after an entry exists. Canonical numbering remains authoritative.
func (*Service) LookupCached ¶
func (s *Service) LookupCached(req core.SearchRequest, canonical func() (core.EpisodeLayout, error)) (core.ReleaseNumbering, error)
LookupCached never performs network work.
Click to show internal directories.
Click to hide internal directories.