Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMatch = errors.New("no match")
)
Functions ¶
This section is empty.
Types ¶
type Classification ¶ added in v0.5.0
type Classification struct { ContentType model.NullContentType Content *model.Content ContentAttributes }
func (*Classification) ApplyHint ¶ added in v0.5.0
func (c *Classification) ApplyHint(h model.TorrentHint)
type Classifier ¶
type ContentAttributes ¶ added in v0.5.0
type ContentAttributes struct { Languages model.Languages Episodes model.Episodes VideoResolution model.NullVideoResolution VideoSource model.NullVideoSource VideoCodec model.NullVideoCodec Video3d model.NullVideo3d VideoModifier model.NullVideoModifier ReleaseGroup model.NullString }
func (*ContentAttributes) ApplyHint ¶ added in v0.5.0
func (a *ContentAttributes) ApplyHint(h model.TorrentHint)
type Params ¶
type Params struct { fx.In SubClassifiers []lazy.Lazy[SubClassifier] `group:"content_classifiers"` Logger *zap.SugaredLogger }
type SubClassifier ¶ added in v0.5.0
type SubClassifier interface { Classifier Key() string Priority() int }
Click to show internal directories.
Click to hide internal directories.