cmd

package
v0.0.0-...-b1f2762 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BeforeDateStr string
View Source
var FilterProviderList []string
View Source
var FilterShowIdList []string
View Source
var ForceAudio bool
View Source
var LoadedJSON bool
View Source
var OnlyMux bool

Functions

func DownloadCmd

func DownloadCmd() *cobra.Command

func FilterProvider

func FilterProvider(src []provider.Provider, filter []string) []provider.Provider

func FilterShowId

func FilterShowId(src []model.ShowAccess, filter []string) []model.ShowAccess

func ImageCmd

func ImageCmd() *cobra.Command

func ListCmd

func ListCmd() *cobra.Command

func ShowsCmd

func ShowsCmd() *cobra.Command

Types

type EpisodeLoader

type EpisodeLoader struct {
	Status             *status.PrintLine
	BeforeDateCallback func(date time.Time) bool
	ArchiveRepo        archive.Interface
	Loader             *dl.Grequests
}

func (*EpisodeLoader) LoadEpisode

func (l *EpisodeLoader) LoadEpisode(ep model.Episode) error

type ShowMapper

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

func (*ShowMapper) MapEpisodes

func (m *ShowMapper) MapEpisodes(processEpisode func(ep model.Episode) error)

func (*ShowMapper) MapShows

func (m *ShowMapper) MapShows(processShow func(ep model.Show) error)

Jump to

Keyboard shortcuts

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