MCPcopy Create free account
hub / github.com/capable-average/tagTonic / DefaultConfig

Function DefaultConfig

config/config.go:34–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func DefaultConfig() *Config {
35 return &Config{
36 DefaultDirectory: ".",
37 MaxFileSize: 100 * 1024 * 1024, // 100MB
38 EnableLogging: true,
39 LogLevel: "info",
40 ShowFileSize: true,
41 PreferredLyricsSource: "lyrics.ovh",
42 PreferredArtworkSource: "itunes",
43 MaxArtworkSize: 500,
44 EnableImageResize: true,
45 BatchConcurrency: 5,
46 BatchTimeout: 30,
47 }
48}
49
50func LoadConfig() (*Config, error) {
51 config := DefaultConfig()

Callers 5

NewLyricsPanelFunction · 0.92
fetch.goFile · 0.92
processBatchConcurrentlyFunction · 0.92
LoadConfigFunction · 0.85
CreateDefaultConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected