Place cover and artist images in library folders on upload import
ci / module boundaries / boundaries (push) Successful in 8s
ci / api / api (push) Successful in 36s
ci / db / db (push) Successful in 1m16s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mrleo1nidandClaude Sonnet 5.5 committed 2026-11-03 01:04:24 +03:00
1 parent 82f3eed9a0
commit 3edbf489a3
5 files changed
+161 -2

No files matched your search

+1
View File
@@ -343,6 +343,7 @@ func (s *Service) importFile(ctx context.Context, f File) error {
return fmt.Errorf("artist image: %w", err)
}
}
s.placeSidecars(ctx, f, pl, rel)
if err := s.store.CompleteImport(ctx, f.ID, pl.src.ID, rel, fileID); err != nil {
return err
}