-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
feat(server): resolve duplicates #25316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 21 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
19da67f
feat(web): Synchronize information from deduplicated images
EinToni 621af87
Replace addAssetToAlbums with copyAsset
EinToni 8bea899
fix linter
EinToni 0408ba7
feat(web): add duplicate sync fields and fix typo
Phlogi 7425c37
feat(web): add tag sync and enhance duplicate resolution
Phlogi 29bfb35
feat(server): move duplicate resolution to backend with sync and stac…
Phlogi 97d530d
feat(preferences): enable all duplicate sync settings by default
Phlogi 1f490e1
chore: clean up
jrasm91 b1dcd2d
chore: clean up
jrasm91 f601164
refactor: rename & clean up
jrasm91 d0501b8
fix: preference upgrade
jrasm91 b6d4fa6
chore: linting
jrasm91 74402ea
refactor(e2e): use updateAssets API for setAssetDuplicateId
Phlogi 10e2b2c
fix: visibility sync logic in duplicate resolution
Phlogi d1c56a9
fix(duplicate): write description to exifUpdate
Phlogi fad6360
fix(duplicate): remove redundant updateLockedColumns wrapper
Phlogi 553c6ef
fix(duplicate): write merged tags to asset_exif to survive metadata r…
Phlogi 4d8da9e
docs(duplicates): clarify location and tag sync behavior
Phlogi de53452
Merge branch 'main' into deduplicate-sync-album
Phlogi 4be83a9
Merge branch 'main' into deduplicate-sync-album
Phlogi a5bb165
refactor(duplicate): remove sync settings, always sync all metadata o…
Phlogi a373b20
docs: update duplicates utility to reflect automatic metadata sync
Phlogi d550d87
Merge branch 'main' into deduplicate-sync-album
Phlogi f899c7a
docs(web): replace duplicates info modal with link to documentation
Phlogi 54b2e9b
Merge branch 'main' into deduplicate-sync-album
Phlogi 3f3822f
chore: merge main
jrasm91 33da909
chore: merge main
jrasm91 00cbfeb
chore: clean up
jrasm91 97d9a2e
Merge branch 'immich-app:main' into deduplicate-sync-album
Phlogi 57f1ce0
fix: add missing type cast to jsonAgg in duplicate repository getAll
Phlogi 219afc1
fix: skip persisting rating=0 in duplicate merge to avoid unnecessary…
Phlogi d8d4447
chore: merge main
jrasm91 7607161
chore: linting
jrasm91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Duplicates Utility | ||
|
|
||
| Immich comes with a duplicates utility to help you detect assets that look visually similar. The duplicate detection feature relies on machine learning and is enabled by default. For more information about when the duplicate detection job runs, see [Jobs and Workers](/administration/jobs-workers). Once an asset has been processed and added to a duplicate group, it becomes available to review in the "Review duplicates" utility, which can be found [here](https://my.immich.app/utilities/duplicates). | ||
|
|
||
| ## Reviewing duplicates | ||
|
|
||
| The review duplicates page allows the user to individually select which assets should be kept and which ones should be trashed. When more than one asset is kept, there is an option to automatically put the kept assets into a stack. | ||
|
|
||
| ### Synchronizing metadata | ||
|
|
||
| Additionally, there are synchronization settings that can be used to synchronize metadata between assets in the group. See the table below for more information about what metadata is available to synchronize. | ||
|
|
||
| | Name | Default | Description | | ||
| | ----------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | Album | `false` | When enabled, the kept assets will be added to _every_ album that the other assets in the group belong to. | | ||
| | Favorite | `false` | When enabled, if any of the assets in the group have been added to favorites, every kept asset will also be added to favorites. | | ||
| | Rating | `false` | When enabled, if one or more assets in the duplicate group have a rating, the highest rating is selected and then synchronized to the kept assets. | | ||
| | Description | `false` | When enabled, descriptions from each asset are combined together and then synchronized to all the kept assets. | | ||
| | Visibility | `false` | When enabled, the most restrictive visibility is applied the the kept assets. | | ||
| | Location | `false` | When enabled, latitude and longitude are only copied if all assets with geolocation data in the group share the same coordinates. | | ||
| | Tag | `false` | When enabled, tags from all assets in the group are merged and applied to every kept asset. | | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.