Replies: 4 comments 6 replies
-
Yes it makes sense. Your external library is not writable through the immich server. A possible way would be for immich-go to have direct access to your external library and let him remove the duplicate file, and not through the immich API. Albums would be updated to points to the version of the image that would remain. Once done, immich-go could launch the immich job to refresh the library and let it remove its references to that file. Is it something that could fit? |
Beta Was this translation helpful? Give feedback.
-
Hello! I think this can be done through the immich api... |
Beta Was this translation helpful? Give feedback.
-
Thanks for the precision. The deduplication should keep the external library version, and rebuild albums on this basis. The initial functionality of deduplication was to remove lower quality images and keep to best one. What if the best photo resides in the immich internal ? |
Beta Was this translation helpful? Give feedback.
-
Good point! I assume that won't happen very often, but if it does, maybe use the default immich-go behaviour and keep the one with the better quality, so in the end, nothing happens because the external libraries are read-only. |
Beta Was this translation helpful? Give feedback.
-
Hello!
I currently have the following issue:
I imported many pictures into immich via cli some time ago which are present in photo album folders on my NAS drive.
Not long ago, the external library feature was implemented which I am using a lot.
So I have many duplicates now, because lots of albums I manually imported are now part of some external libraries.
It would be really cool if you could add a routine (or separate deduplicate function) to check if assets in the user library match a file exactly which is present in an external library, and if yes - trash the uploaded picture (and update the albums with the "new" file instead)
When I do that now, it would like to remove the one from the external library but of cours that is a read only volume.
Hope that makes sense!
Thank you very much for that useful project!
Beta Was this translation helpful? Give feedback.
All reactions