Documentation ¶
Index ¶
- type CacheKey
- type Config
- type ImportChoice
- type MediaSource
- type MediaType
- type NasImporter
- func (importer *NasImporter) GetTVDBEpisodeName(series *tvdb.Series, seasonNum, episodeNum uint64) (episodeName string, err error)
- func (importer *NasImporter) Import(path string) (err error)
- func (importer *NasImporter) ReadConfig() (err error)
- func (importer *NasImporter) ReadExistingMedia() (err error)
- type ScoreItem
- type ScoreItems
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 DocumentaryIMDB MovieIMDB TVLocal DocumentaryLocal )
type NasImporter ¶
type NasImporter struct {
// contains filtered or unexported fields
}
func NewNasImporter ¶
func NewNasImporter(configPath string, automaticMode bool) (importer NasImporter, err error)
func (*NasImporter) GetTVDBEpisodeName ¶
func (importer *NasImporter) GetTVDBEpisodeName(series *tvdb.Series, seasonNum, episodeNum uint64) (episodeName string, 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 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)
Click to show internal directories.
Click to hide internal directories.