|
|
@@ -56,9 +56,11 @@ type FingerprintSettings struct {
|
|
|
|
AcousticMaxBitErrorRate float64
|
|
|
|
AcousticMaxBitErrorRate float64
|
|
|
|
BackfillConcurrency int32
|
|
|
|
BackfillConcurrency int32
|
|
|
|
SweepIntervalHours int32
|
|
|
|
SweepIntervalHours int32
|
|
|
|
// AutoResolve lets the duplicate resolver act on its own: merge copies no
|
|
|
|
// AutoResolve lets the duplicate resolver act on its own: link copies of
|
|
|
|
// release needs. Off, it only classifies, and every group waits for an
|
|
|
|
// one song so they count once, dismiss distinct versions, hold back video
|
|
|
|
// admin.
|
|
|
|
// rips, and note which song a misfiled recording is. It never removes a
|
|
|
|
|
|
|
|
// file. Off by default: Minstrel acts on duplicates only once an admin asks
|
|
|
|
|
|
|
|
// it to. Off, the pass only classifies, and every group waits for an admin.
|
|
|
|
AutoResolve bool
|
|
|
|
AutoResolve bool
|
|
|
|
// UpdatedAt is when the settings were last saved. Set by the database;
|
|
|
|
// UpdatedAt is when the settings were last saved. Set by the database;
|
|
|
|
// ignored by Set.
|
|
|
|
// ignored by Set.
|
|
|
@@ -73,7 +75,7 @@ var DefaultFingerprintSettings = FingerprintSettings{
|
|
|
|
AcousticMaxBitErrorRate: defaultAcousticMaxBitErrorRate,
|
|
|
|
AcousticMaxBitErrorRate: defaultAcousticMaxBitErrorRate,
|
|
|
|
BackfillConcurrency: fingerprintBackfillConcurrency,
|
|
|
|
BackfillConcurrency: fingerprintBackfillConcurrency,
|
|
|
|
SweepIntervalHours: defaultSweepIntervalHours,
|
|
|
|
SweepIntervalHours: defaultSweepIntervalHours,
|
|
|
|
AutoResolve: true,
|
|
|
|
AutoResolve: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ErrFingerprintSettingOutOfRange is returned by Set for a value migration
|
|
|
|
// ErrFingerprintSettingOutOfRange is returned by Set for a value migration
|
|
|
|