Improved deduplication logic to prevent skipped files during import
Closes #348 (closed), #474 (closed), #557 (closed), #740 (closed), #928 (closed)
Some of these bugs are duplicates, but the core issues where:
Track.mbid
in Funkwhale) was unique, for instance leading to orphaned/skipped uploads depending on the processing order. Solved by doing the unicity check with the ALBUM_ID
and TRACK_ID
combinationI'm still testing this locally with real-world data, hence the wip.