Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2026 Changes in this version + type CollectionStats struct + Missing int64 + Monitored int64 + NeedsUpgrade int64 + RecentlyAdded int64 + TotalEpisodes int64 + TotalSeries int64 + WithFile int64 + type DecadeBucket struct + Count int64 + Decade string + type GenreBucket struct + Count int64 + Genre string + type GrabStats struct + Failed int64 + SuccessRate float64 + Successful int64 + TotalGrabs int64 + type GrowthPoint struct + SnapshotAt string + TotalBytes int64 + TotalEpisodes int64 + TotalSeries int64 + WithFile int64 + type IndexerStat struct + GrabCount int64 + IndexerID string + IndexerName string + SuccessRate float64 + type QualityBucket struct + Codec string + Count int64 + HDR string + Resolution string + Source string + type QualityTier struct + Count int64 + Resolution string + Source string + type Service struct + func NewService(q db.Querier) *Service + func (s *Service) Collection(ctx context.Context) (CollectionStats, error) + func (s *Service) DecadeDistribution(ctx context.Context) ([]DecadeBucket, error) + func (s *Service) GenreDistribution(ctx context.Context) ([]GenreBucket, error) + func (s *Service) GrabPerformance(ctx context.Context) (GrabStats, []IndexerStat, error) + func (s *Service) Growth(ctx context.Context) ([]GrowthPoint, error) + func (s *Service) Quality(ctx context.Context) ([]QualityBucket, error) + func (s *Service) QualityTiers(ctx context.Context) ([]QualityTier, error) + func (s *Service) SeriesIDsByQualityTier(ctx context.Context, resolution, source string) ([]string, error) + func (s *Service) Snapshot(ctx context.Context) error + func (s *Service) Storage(ctx context.Context) (StorageStat, error) + type StoragePoint struct + CapturedAt string + FileCount int64 + TotalBytes int64 + type StorageStat struct + FileCount int64 + TotalBytes int64 + Trend []StoragePoint