guessit

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WEBSERVICE = "webservice"
	COMMAND    = "command"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(config *viper.Viper, logger *zerolog.Logger, restyClient *resty.Client) *Client

func (*Client) GuessIt

func (c *Client) GuessIt(title string) (*GuessResult, error)

type GuessResult

type GuessResult struct {
	AudioChannels string `json:"audioChannels"`
	AudioCodec    string `json:"audioCodec"`
	Container     string `json:"container"`
	EpisodeNumber int64  `json:"episodeNumber"`
	Format        string `json:"format"`
	MimeType      string `json:"mimetype"`
	ReleaseGroup  string `json:"releaseGroup"`
	ScreenSize    string `json:"screenSize"`
	Season        int64  `json:"season"`
	Series        string `json:"series"`
	Title         string `json:"title"`
	Type          string `json:"type"`
	VideoCodec    string `json:"videoCodec"`
	Year          int    `json:"year"`
}

Jump to

Keyboard shortcuts

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