indexer

package
v0.0.0-...-01b0788 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddIndexer

func AddIndexer(indexer Indexer)

func FilterEpisodeTorrents

func FilterEpisodeTorrents(episode Episode, torrentList []Torrent) []Torrent

func FilterMovieTorrents

func FilterMovieTorrents(movie Movie, torrentList []Torrent) []Torrent

func FilterTorrentEpisodeNumber

func FilterTorrentEpisodeNumber(list []Torrent, episode Episode) []Torrent

func FilterTorrentQuality

func FilterTorrentQuality(list []Torrent) []Torrent

func FilterTorrentReleaseType

func FilterTorrentReleaseType(list []Torrent) []Torrent

func FilterTorrentYear

func FilterTorrentYear(list []Torrent, year int) []Torrent

func GetTorrents

func GetTorrents(d downloadable.Downloadable) ([]Torrent, error)

func Reset

func Reset()

func Status

func Status() ([]Module, error)

Types

type Indexer

type Indexer interface {
	GetName() string
	Status() (Module, error)
	CheckCapabilities(d downloadable.Downloadable) bool
	GetTorrents(d downloadable.Downloadable) ([]Torrent, error)
}

func GetIndexer

func GetIndexer(name string) (Indexer, error)

GetIndexer returns the registered indexer with name "name". An non-nil error is returned if no registered indexer are found with the required name

Directories

Path Synopsis
impl

Jump to

Keyboard shortcuts

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