Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchItem ¶
func NewEpisode ¶
func NewEpisode(title string, season, episode int, imdb string) SearchItem
func (*SearchItem) Path ¶
func (s *SearchItem) Path(basePath, filePath string) string
Path returns target download location given the base path for download, and the current file path (URL or location in torrent)
type TraktProvider ¶
type TraktProvider struct {
// contains filtered or unexported fields
}
func NewTraktProvider ¶
func NewTraktProvider(trakt *trakt.Client) *TraktProvider
func (*TraktProvider) Interval ¶
func (p *TraktProvider) Interval() time.Duration
func (*TraktProvider) Poll ¶
func (p *TraktProvider) Poll() (metadata []SearchItem, err error)
Click to show internal directories.
Click to hide internal directories.