sonarr

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrItemNotFound = errors.New("not found")
)

Functions

This section is empty.

Types

type Client

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

func New

func New(c nabarr.PvrConfig, mode string, m *media.Client, cc *cache.Client) (*Client, error)

func (*Client) AddMediaItem

func (c *Client) AddMediaItem(item *media.Item, opts ...nabarr.PvrOption) error

func (*Client) GetFiltersHash

func (c *Client) GetFiltersHash() string

func (*Client) QueueFeedItem

func (c *Client) QueueFeedItem(item *media.FeedItem)

func (*Client) ShouldIgnore

func (c *Client) ShouldIgnore(mediaItem *media.Item) (bool, string, error)

func (*Client) Start

func (c *Client) Start() state.State

func (*Client) Type

func (c *Client) Type() string

Jump to

Keyboard shortcuts

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