Versions in this module Expand all Collapse all v0 v0.1.0 Nov 21, 2026 Changes in this version + const MaxDelayMinutes + type Profile struct + BypassIfHighestQuality bool + PreferredProtocol string + TorrentDelayMinutes int + TorrentEnabled bool + UsenetDelayMinutes int + UsenetEnabled bool + func Default() Profile + func (p Profile) Allows(proto plugin.Protocol) bool + func (p Profile) Bypasses(q plugin.Quality, prof *quality.Profile) bool + func (p Profile) Delay(proto plugin.Protocol) time.Duration + func (p Profile) EligibleAt(proto plugin.Protocol, ageDays float64, now time.Time) time.Time + func (p Profile) Preferred(proto plugin.Protocol) bool + func (p Profile) Validate() error + type Store struct + func NewStore(q db.Querier) *Store + func (s *Store) Get(ctx context.Context) (Profile, error) + func (s *Store) Set(ctx context.Context, p Profile) error + type ValidationError struct + Msg string + func (e *ValidationError) Error() string