fix: address code review findings
This commit is contained in:
@@ -47,10 +47,13 @@ type TelegramConfig struct {
|
||||
}
|
||||
|
||||
// ScannerConfig holds scanner engine parameters.
|
||||
//
|
||||
// Bootleg/Compilation filtering is intentionally unconditional: bootlegs,
|
||||
// promotions, and pseudo-releases are always excluded (musicbrainz/api.go),
|
||||
// and compilations are always included. These are not user-toggleable, so
|
||||
// there are no corresponding config fields.
|
||||
type ScannerConfig struct {
|
||||
FuzzyThreshold float64 `yaml:"fuzzy_threshold"`
|
||||
IgnoreBootlegs bool `yaml:"ignore_bootlegs"`
|
||||
IncludeCompilations bool `yaml:"include_compilations"`
|
||||
FuzzyThreshold float64 `yaml:"fuzzy_threshold"`
|
||||
}
|
||||
|
||||
// LoadConfig reads a YAML file from path, parses it, applies defaults,
|
||||
|
||||
Reference in New Issue
Block a user