yonlu
bd44f8306c
feat(12-01): implement library CRUD methods and orphan cleanup pipeline
- Add AddLibrary, RenameLibrary, RemoveLibrary, GetRemovalImpact methods
- RemoveLibrary follows exact order: phantom populate → delete audio_files → orphan cleanup → commit → FTS5 rebuild → cover art file cleanup → queue compact → events
- Add cancelLibraryScan and currentTrackBelongsToLibrary helpers
- Add RemovalHooks type and removalHooks field on Library struct
- Add LibraryAdded, LibraryRenamed, LibraryRemoved event constants
- Regenerate frontend events.ts with new CRUD events
- All hand-crafted SQL has SAFETY comments per project convention
- Dual artist_credit FK check (recordings + release_groups) for orphan cleanup
2026-03-12 19:37:07 -04:00
..
2026-03-03 17:00:12 -05:00
2026-02-19 13:59:02 -05:00
2026-02-25 15:31:05 -05:00
2026-03-12 19:37:07 -04:00
2026-03-12 19:37:07 -04:00
2026-03-09 16:02:54 -04:00
2026-03-05 13:34:03 -05:00
2026-03-09 16:13:45 -04:00
2026-03-09 16:02:54 -04:00
2026-03-09 16:02:54 -04:00
2026-03-05 14:07:50 -05:00