Documentation
¶
Index ¶
- func InitWithDefaults(cfg *Data)
- func LoadLocal() error
- func LoadLocalFrom(path string) error
- func PriorityUint32(p string) uint32
- func Save() error
- type AgeModuleSettings
- type AudioFormats
- type AudioModuleSettings
- type Data
- type DuplicateLengthCheckSettings
- type EncoderConfig
- type ErrorModuleSettings
- type LengthModuleSettings
- type Local
- type LogMatchModuleSettings
- type MaxSizeModuleSettings
- type ModuleConfig
- type Priority
- type ResolutionModuleSettings
- type Shared
- type SizeApproxModuleSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitWithDefaults ¶
func InitWithDefaults(cfg *Data)
func LoadLocalFrom ¶
func PriorityUint32 ¶
Types ¶
type AgeModuleSettings ¶
type AgeModuleSettings struct {
MaxAge int
}
type AudioFormats ¶
type AudioModuleSettings ¶
type AudioModuleSettings struct {
Accuracy string
}
type Data ¶
type Data struct {
Local Local
}
type DuplicateLengthCheckSettings ¶
type DuplicateLengthCheckSettings struct {
Threshold int
}
type EncoderConfig ¶
type ErrorModuleSettings ¶
type ErrorModuleSettings struct {
Threshold int
}
type LengthModuleSettings ¶
type LengthModuleSettings struct {
Threshold int
}
type Local ¶
type Local struct {
DatabaseURL string
Ext string
AudioFormats AudioFormats
Resolutions map[string]string
ObsoletePath string
MediaPaths []string
EstimatedLibSize int
Modules map[string]ModuleConfig
EncoderConfig map[string]EncoderConfig
EncoderPriority string
}
Local is the main application configuration
type LogMatchModuleSettings ¶
type LogMatchModuleSettings struct {
Mode string
}
type MaxSizeModuleSettings ¶
type MaxSizeModuleSettings struct {
MaxSize int
}
type ModuleConfig ¶
type ResolutionModuleSettings ¶
type ResolutionModuleSettings struct {
MinResolution int
}
Click to show internal directories.
Click to hide internal directories.