The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
3 changed files with 16 additions and 4 deletions
Showing only changes of commit c073e41613 - Show all commits
@@ -0,0 +1 @@
ALTER TABLE fingerprint_settings ALTER COLUMN auto_resolve SET DEFAULT true;
@@ -0,0 +1,9 @@
-- Duplicate auto-resolve starts off. Other programs file music into the
-- library, so Minstrel acts on duplicates only once an admin has turned this
-- on. The pass never removes a file either way: on, it links copies of one
-- song so they count once and notes which song a misfiled recording is.
--
-- Installs that never chose a value hold the old default, true, and are set
-- off here too; an admin who wants it turns it back on.
ALTER TABLE fingerprint_settings ALTER COLUMN auto_resolve SET DEFAULT false;
UPDATE fingerprint_settings SET auto_resolve = false;
+6 -4
View File
@@ -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