Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2026 Changes in this version + var ErrNotFound = errors.New("library not found") + type CreateRequest struct + DefaultQualityProfileID string + FolderFormat *string + MinFreeSpaceGB int + Name string + NamingFormat *string + RootPath string + Tags []string + type Library struct + CreatedAt time.Time + DefaultQualityProfileID string + FolderFormat *string + ID string + MinFreeSpaceGB int + Name string + NamingFormat *string + RootPath string + Tags []string + UpdatedAt time.Time + type Service struct + func NewService(q db.Querier, bus *events.Bus) *Service + func (s *Service) Create(ctx context.Context, req CreateRequest) (Library, error) + func (s *Service) Delete(ctx context.Context, id string) error + func (s *Service) Get(ctx context.Context, id string) (Library, error) + func (s *Service) List(ctx context.Context) ([]Library, error) + func (s *Service) Stats(ctx context.Context, id string) (Stats, error) + func (s *Service) Update(ctx context.Context, id string, req UpdateRequest) (Library, error) + type Stats struct + SeriesCount int64 + type UpdateRequest = CreateRequest