fix(library): the duplicate resolver never removes a file on its own (#8252)
release / go (push) Successful in 2m28s
release / web (push) Successful in 1m42s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 5m9s
release / android (push) Successful in 5m28s
release / Build signed APK (push) Successful in 5m54s
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 34s
release / Verify release artifacts (tag releases only) (push) Skipped
release / go (push) Successful in 2m28s
release / web (push) Successful in 1m42s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 5m9s
release / android (push) Successful in 5m28s
release / Build signed APK (push) Successful in 5m54s
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 34s
release / Verify release artifacts (tag releases only) (push) Skipped
Other programs file music into the library now, and a startup pass
deleted a whole album a download manager had just filed, keeping older
loose copies of the same songs. The resolver assumed Minstrel was the
only program writing the library; it is not.
An automatic pass now changes only Minstrel's database:
- copies of one song, on one album or across releases, are linked as one
song, so likes, plays and mixes count it once, and any group an admin
may want to thin stays pending for review (and is announced);
- distinct versions are still dismissed, and rips still held back;
- a one-album wrong slot gets a note naming the song MusicBrainz or
AcoustID says the recording is, for the admin who settles it.
Removing a copy is an admin's merge or wrong-slot settle, as before. When
an admin merges, a copy in a folder named for its album ("Album (Year)",
or its "CD nn" folder) now outranks a loose copy of the same audio.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,12 +27,12 @@
|
||||
import ListContinuation from '#lib/components/ListContinuation.svelte';
|
||||
import TabStrip from '#lib/components/TabStrip.svelte';
|
||||
|
||||
// Tracks the duplicate sweep believes hold one recording. The
|
||||
// resolver settles what is safe on its own: a song held twice on
|
||||
// one album, and a video rip with a clean copy elsewhere. What is left comes
|
||||
// in two tabs: groups that need an admin, and the same song on different
|
||||
// releases, which is kept on purpose. A third tab lists what the resolver
|
||||
// did.
|
||||
// Tracks the duplicate sweep believes hold one recording. The resolver
|
||||
// never removes a file on its own, since other programs file music into the
|
||||
// library too: it links copies of one song so they count once, and dismisses
|
||||
// distinct versions. Groups come in two tabs: those that need an admin, and
|
||||
// the same song on different releases, which is kept on purpose. A third tab
|
||||
// lists what the resolver settled.
|
||||
//
|
||||
// Dismissing a group says "these are not duplicates", and the sweep will not
|
||||
// propose that set again. On the cross-release tab it reads "Not the same
|
||||
@@ -43,9 +43,10 @@
|
||||
// Except for one recording filling several of an album's slots (class
|
||||
// mismatch), where a merge is the wrong answer: it keeps one copy's
|
||||
// title whether or not it is the audio's. There an admin says which song the
|
||||
// recording is, or that they can't tell, and the group settles as the
|
||||
// resolver would have: copies in other songs' slots are removed, and those
|
||||
// tracks wait in Needs a file until a good copy is in the library folder.
|
||||
// recording is (the group's note says when MusicBrainz or AcoustID could
|
||||
// tell), or that they can't tell: copies in other songs' slots are removed,
|
||||
// and those tracks wait in Needs a file until a good copy is in the library
|
||||
// folder.
|
||||
|
||||
type Tab = DuplicatesView | 'resolved';
|
||||
const fromUrl = page.url.searchParams.get('view');
|
||||
|
||||
Reference in New Issue
Block a user