sonda/internal/duplicates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi ce109a14a3 fix(duplicates): move the playlist items of a removed copy to the one that stays
playlist_items.track_id is ON DELETE CASCADE (added by the playlists work on main), so deleting a
duplicate would have taken the song out of every user's playlists, as it would have done with the
listens. RemoveCopy now repoints the items first, in the same transaction.

Also merges main (playlists) into the branch.
2026-11-12 17:01:36 +01:00
..
files.go feat(duplicates): find the copies, fingerprint their files and remove the extra ones 2026-11-12 16:40:43 +01:00
group.go feat(duplicates): group the copies of a song and propose the one to keep 2026-11-12 16:34:12 +01:00
group_test.go feat(duplicates): group the copies of a song and propose the one to keep 2026-11-12 16:34:12 +01:00
hashjob.go feat(duplicates): find the copies, fingerprint their files and remove the extra ones 2026-11-12 16:40:43 +01:00
service.go fix(duplicates): move the playlist items of a removed copy to the one that stays 2026-11-12 17:01:36 +01:00
service_test.go fix(duplicates): finish updating the index even if the client leaves after the file is deleted 2026-11-12 16:52:38 +01:00
types.go feat(storage): candidates for duplicates, file fingerprints and removing a copy from the index 2026-11-12 16:37:15 +01:00