nasimporter

package
v0.0.0-...-e34ebfb Latest Latest
Warning

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

Go to latest
Published: May 23, 2014 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MediaDirs struct {
		TVDir          string `json:"tv"`
		DocumentaryDir string `json:"documentaries"`
		MovieDir       string `json:"movies"`
	} `json:"media_dirs"`
	MatroskaMuxers struct {
		MKVMerge string `json:"mkvmerge"`
		FFMPEG   string `json:"ffmpeg"`
	} `json:"matroska_muxers"`
	Interface struct {
		NumVisibleResults int `json:"num_visible_results"`
	} `json:"interface"`
}

type ImportChoice

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

type MediaSource

type MediaSource int
const (
	Unknown MediaSource = iota
	TVTVDB
	DocumentaryTVDB
	MovieIMDB
	MovieLocal
	TVLocal
	DocumentaryLocal
)

type MediaType

type MediaType int
const (
	TV MediaType = iota
	Documentary
	Movie
)

type NasImporter

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

func NewNasImporter

func NewNasImporter(configPath string, automaticMode bool) (importer NasImporter, err error)

func (*NasImporter) Import

func (importer *NasImporter) Import(path string) (err error)

func (*NasImporter) ReadConfig

func (importer *NasImporter) ReadConfig() (err error)

func (*NasImporter) ReadExistingMedia

func (importer *NasImporter) ReadExistingMedia() (err error)

type ScoreItem

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

type ScoreItems

type ScoreItems []ScoreItem

func (ScoreItems) Len

func (scoreItems ScoreItems) Len() int

func (ScoreItems) Less

func (scoreItems ScoreItems) Less(i, j int) bool

func (ScoreItems) Swap

func (scoreItems ScoreItems) Swap(i, j int)

Jump to

Keyboard shortcuts

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