fix(library): duplicate auto-resolve is off by default (#8252)
release / go (push) Successful in 2m18s
release / web (push) Successful in 1m34s
release / govulncheck (push) Successful in 22s
release / integration (push) Successful in 4m47s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m35s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Build + push container image (push) Successful in 17s
release / Verify release artifacts (tag releases only) (push) Skipped
release / go (push) Successful in 2m18s
release / web (push) Successful in 1m34s
release / govulncheck (push) Successful in 22s
release / integration (push) Successful in 4m47s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m35s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Build + push container image (push) Successful in 17s
release / Verify release artifacts (tag releases only) (push) Skipped
Other programs file music into the library, so Minstrel acts on duplicates only once an admin turns this on. Migration 0114 sets the column default to false and turns the setting off on installs that hold the old default; the Go default follows, so an unreadable database behaves like a fresh one. The pass removes no file either way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,9 +56,11 @@ type FingerprintSettings struct {
|
||||
AcousticMaxBitErrorRate float64
|
||||
BackfillConcurrency int32
|
||||
SweepIntervalHours int32
|
||||
// AutoResolve lets the duplicate resolver act on its own: merge copies no
|
||||
// release needs. Off, it only classifies, and every group waits for an
|
||||
// admin.
|
||||
// AutoResolve lets the duplicate resolver act on its own: link copies of
|
||||
// one song so they count once, dismiss distinct versions, hold back video
|
||||
// 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
|
||||
// UpdatedAt is when the settings were last saved. Set by the database;
|
||||
// ignored by Set.
|
||||
@@ -73,7 +75,7 @@ var DefaultFingerprintSettings = FingerprintSettings{
|
||||
AcousticMaxBitErrorRate: defaultAcousticMaxBitErrorRate,
|
||||
BackfillConcurrency: fingerprintBackfillConcurrency,
|
||||
SweepIntervalHours: defaultSweepIntervalHours,
|
||||
AutoResolve: true,
|
||||
AutoResolve: false,
|
||||
}
|
||||
|
||||
// ErrFingerprintSettingOutOfRange is returned by Set for a value migration
|
||||
|
||||
Reference in New Issue
Block a user