feat(library): Missing files says why each track waits, and can forget or export it
release / go (push) Successful in 1m49s
release / web (push) Successful in 1m26s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m29s
release / android (push) Successful in 4m43s
release / Build signed APK (push) Successful in 5m1s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 14s
release / Verify release artifacts (tag releases only) (push) Skipped
release / go (push) Successful in 1m49s
release / web (push) Successful in 1m26s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m29s
release / android (push) Successful in 4m43s
release / Build signed APK (push) Successful in 5m1s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 14s
release / Verify release artifacts (tag releases only) (push) Skipped
- The missing list carries each track's disc and track number, its
recording and release-group MBIDs, the Collection queue its file was
removed from, and the admin who removed it.
- POST /api/admin/library/missing/forget deletes waiting tracks for good,
tidying away an album or artist they leave empty, and writes a
track_forget audit row naming each. It is all or nothing: a track that
has its file again is refused with 409 track_has_file.
- GET /api/admin/library/missing.csv exports every waiting track (artist,
album, disc, track, title, MBIDs, why, since) to hand to whatever finds
music.
- DELETE /api/admin/tracks/{id} is retired. No client called it; its
service becomes tracks.Service.ForgetTracks.
Grimoire #7744 (milestone 635).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,11 +62,11 @@ const (
|
||||
ActionDuplicateDismiss Action = "duplicate_dismiss"
|
||||
ActionDuplicateWrongFile Action = "duplicate_wrong_file"
|
||||
|
||||
// An admin removing a track: its file and row are deleted, with every
|
||||
// like, play and playlist entry that hung off the row. The metadata names
|
||||
// the track and its file, so the log can say what went after the row is
|
||||
// gone.
|
||||
ActionTrackRemove Action = "track_remove"
|
||||
// An admin forgetting tracks that waited for a file: each row is deleted,
|
||||
// with every like, play and playlist entry that hung off it. The metadata
|
||||
// names each track and the file it had, so the log can say what went after
|
||||
// the rows are gone.
|
||||
ActionTrackForget Action = "track_forget"
|
||||
// An admin removing a suspect source's file and keeping its track, which
|
||||
// waits, missing, for a clean copy. (A report's removal is recorded in
|
||||
// the Reports history instead, and a duplicate's under
|
||||
|
||||
Reference in New Issue
Block a user