classification

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeleteTorrent = WorkflowError{
	// contains filtered or unexported fields
}
View Source
var ErrUnmatched = WorkflowError{
	// contains filtered or unexported fields
}

Functions

This section is empty.

Types

type ContentAttributes

type ContentAttributes struct {
	ContentType     model.NullContentType
	BaseTitle       model.NullString
	Date            model.Date
	Languages       model.Languages
	LanguageMulti   bool
	Episodes        model.Episodes
	VideoResolution model.NullVideoResolution
	VideoSource     model.NullVideoSource
	VideoCodec      model.NullVideoCodec
	Video3d         model.NullVideo3d
	VideoModifier   model.NullVideoModifier
	ReleaseGroup    model.NullString
}

func (*ContentAttributes) ApplyHint

func (a *ContentAttributes) ApplyHint(h model.TorrentHint)

func (*ContentAttributes) InferVideoAttributes

func (a *ContentAttributes) InferVideoAttributes(input string)

func (*ContentAttributes) Merge

func (a *ContentAttributes) Merge(other ContentAttributes)

type Error

type Error interface {
	error
	Key() string
}

type Result

type Result struct {
	ContentAttributes
	Content *model.Content
	Tags    map[string]struct{}
}

func (*Result) ApplyHint

func (r *Result) ApplyHint(h model.TorrentHint)

func (*Result) AttachContent

func (r *Result) AttachContent(content *model.Content)

type RuntimeError

type RuntimeError struct {
	Path  []string
	Cause error
}

func (RuntimeError) Error

func (e RuntimeError) Error() string

func (RuntimeError) Unwrap

func (e RuntimeError) Unwrap() error

type WorkflowError

type WorkflowError struct {
	// contains filtered or unexported fields
}

func (WorkflowError) Error

func (e WorkflowError) Error() string

func (WorkflowError) Key

func (e WorkflowError) Key() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL