config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2017 License: GPL-3.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Storage *store.Store

Functions

This section is empty.

Types

type Config

type Config struct {
	DefaultRetrievePath string `yaml:"defaultRetrievePath"`
	LockFile            string `yaml:"lockFile"`
	LogFile             string `yaml:"logFile"`
	AutoUpdate          bool   `yaml:"autoUpdate"`
	Language            string `yaml:"language"`
	NonStrictMatching   bool   `yaml:"nonStrictMatching"`
	CleanupAfterwards   bool   `yaml:"cleanupAfterwards"`
	HideBanner          bool   `yaml:"hideBanner"`

	Destinations  Destinations  `yaml:"destinations"`
	NamingSchemes NamingSchemes `yaml:"namingSchemes"`
	Notifiers     Notifiers     `yaml:"notifiers"`
}

func NewConfig

func NewConfig() *Config

type Destinations

type Destinations struct {
	Movie  string `yaml:"movie"`
	Series string `yaml:"series"`
	Anime  string `yaml:"anime"`
	Music  string `yaml:"music"`
}

Destinations locations

type NamingSchemes

type NamingSchemes struct {
	Movie  string `yaml:"movie"`
	Series string `yaml:"series"`
	Anime  string `yaml:"anime"`
	Music  string `yaml:"music"`
}

NamingSchemes templates

type Notifiers

type Notifiers struct {
	Plex       string `yaml:"plex"`
	Kodi       string `yaml:"kodi"`
	Emby       string `yaml:"emby"`
	Pushover   string `yaml:"pushover"`
	PushBullet string `yaml:"pushBullet"`
	Gmail      string `yaml:"gmail"`
	Mail       string `yaml:"mail"`
}

Notifiers configuration

Jump to

Keyboard shortcuts

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