Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2026 Changes in this version + var ErrNotFound = errors.New("import list not found") + type Config struct + CreatedAt time.Time + Enabled bool + ID string + Kind string + LibraryID string + Monitor bool + MonitorType string + Name string + QualityProfileID string + SearchOnAdd bool + Settings json.RawMessage + UpdatedAt time.Time + type CreateRequest struct + Enabled bool + Kind string + LibraryID string + Monitor bool + MonitorType string + Name string + QualityProfileID string + SearchOnAdd bool + Settings json.RawMessage + type Exclusion struct + CreatedAt time.Time + ID string + TMDbID int + Title string + Year int + type PreviewItem struct + PosterPath string + TMDbID int + Title string + Year int + type Service struct + func NewService(q db.Querier, reg *registry.Registry, showSvc *show.Service, ...) *Service + func (s *Service) Create(ctx context.Context, req CreateRequest) (Config, error) + func (s *Service) CreateExclusion(ctx context.Context, tmdbID int, title string, year int) (Exclusion, error) + func (s *Service) Delete(ctx context.Context, id string) error + func (s *Service) DeleteExclusion(ctx context.Context, id string) error + func (s *Service) Get(ctx context.Context, id string) (Config, error) + func (s *Service) List(ctx context.Context) ([]Config, error) + func (s *Service) ListExclusions(ctx context.Context) ([]Exclusion, error) + func (s *Service) Preview(ctx context.Context, kind string, settings json.RawMessage) ([]PreviewItem, error) + func (s *Service) Sync(ctx context.Context) SyncResult + func (s *Service) SyncOne(ctx context.Context, id string) SyncResult + func (s *Service) Test(ctx context.Context, id string) error + func (s *Service) Update(ctx context.Context, id string, req UpdateRequest) (Config, error) + type SyncResult struct + Errors []string + ListsProcessed int + SeriesAdded int + SeriesSkipped int + type UpdateRequest = CreateRequest