Add duplicate book detection/merge and fix format-related data loss (#2820)

* Add duplicate book detection and merge feature

* Remove delta sync, ETag, and IndexedDB caching

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2026-02-20 16:09:45 -07:00
committed by GitHub
co-authored by acx10
parent 9ace45a8ea
commit 2223b18d0f
33 changed files with 2491 additions and 509 deletions
+44
View File
@@ -262,6 +262,7 @@
"rescanLibrary": "Re-scan Library",
"customFetchMetadata": "Custom Fetch Metadata",
"autoFetchMetadata": "Auto Fetch Metadata",
"findDuplicates": "Find Duplicates",
"deleteLibrary": "Delete Library"
},
"shelf": {
@@ -771,5 +772,48 @@
"deselectAll": "Deselect all books",
"deleteSelected": "Delete selected books"
}
},
"duplicateMerger": {
"title": "Find Duplicates",
"description": "Detect and merge duplicate books in this library",
"presetStrict": "Strict",
"presetBalanced": "Balanced",
"presetAggressive": "Aggressive",
"presetCustom": "Custom",
"advanced": "Advanced",
"signalIsbn": "ISBN",
"signalExternalId": "External ID",
"signalTitleAuthor": "Title + Author",
"signalDirectory": "Same Directory",
"signalFilename": "Filename",
"scan": "Scan",
"scanning": "Scanning for duplicates...",
"scanPrompt": "Select a detection mode and click Scan to find duplicates.",
"noDuplicates": "No duplicates found.",
"allMerged": "All duplicate groups have been processed.",
"deleteSource": "Delete source books",
"mergeAll": "Merge All ({{ count }})",
"merge": "Merge",
"dismiss": "Dismiss",
"target": "Target",
"helpText": "Each group contains books that appear to be duplicates. Select the target book (the one to keep), then click Merge. The other books' files will be attached to the target as alternative formats.",
"groupLabel": "Group {{ index }}",
"fileCount": "{{ count }} files",
"reason": {
"ISBN": "ISBN Match",
"EXTERNAL_ID": "External ID Match",
"TITLE_AUTHOR": "Title + Author",
"DIRECTORY": "Same Directory",
"FILENAME": "Filename Match"
},
"toast": {
"scanFailedSummary": "Scan Failed",
"scanFailedDetail": "Could not scan for duplicates.",
"mergeSuccessSummary": "Merge Complete",
"mergeSuccessDetail": "Successfully merged {{ count }} group(s).",
"mergeFailedSummary": "Merge Failed",
"mergeFailedDetail": "Could not merge this group.",
"mergePartialDetail": "{{ success }} merged, {{ failed }} failed."
}
}
}