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-02-14 01:52:27 -06:00
2026-03-06 21:46:09 -05:00
2026-02-25 15:31:05 -05:00
2026-03-09 16:02:54 -04:00
2026-03-12 19:37:07 -04:00
2026-03-05 14:07:50 -05:00
2026-02-28 13:30:36 -05:00
2026-03-12 19:37:07 -04:00
2026-02-13 20:39:23 -06:00
2026-02-25 20:51:29 -05:00
2026-03-05 19:11:56 -05:00
2026-03-07 02:06:08 -05:00
2026-03-09 09:36:47 -04:00
2026-02-20 18:27:25 -06:00
2026-03-05 15:03:29 -05:00
2026-03-06 21:46:09 -05:00
2026-02-19 13:59:02 -05:00
2026-03-05 14:07:50 -05:00
2026-03-03 17:00:12 -05:00
2026-03-09 16:13:45 -04:00