Versions in this module Expand all Collapse all v0 v0.13.0 Nov 21, 2026 Changes in this version + type DownloaderClient interface + ClientFor func(ctx context.Context, configID string) (plugin.DownloadClient, error) + type Item struct + ClientItemID string + DownloadClientID string + DownloadedBytes int64 + GrabID string + GrabbedAt time.Time + MovieID string + Protocol string + ReleaseTitle string + Size int64 + Status string + type Service struct + func NewService(q dbgen.Querier, downloader DownloaderClient, bus *events.Bus, ...) *Service + func (s *Service) GetQueue(ctx context.Context) ([]Item, error) + func (s *Service) GetQueueItem(ctx context.Context, grabID string) (Item, error) + func (s *Service) PollAndUpdate(ctx context.Context) error + func (s *Service) RemoveFromQueue(ctx context.Context, grabID string, deleteFiles bool) error