vale46n1 / immich_duplicate_finder

A Comprehensive Solution for Identifying and Managing Duplicate Photos in Immich
Apache License 2.0
184 stars 12 forks source link

Missing information for one or both assets #18

Closed agross closed 4 months ago

agross commented 4 months ago
2024-04-17_09-10-37

This is logged:

Skipping non-image asset_id cca82518-6646-47f7-b6d4-029afe05de4a with Content-Type: application/json; charset=utf-8

There is nothing related to the ID of cca82518... in the Immich DB (public.assets) and no file in the filesystem with that name (e.g. preview image).

Does the app handle deleted assets correctly?

vale46n1 commented 4 months ago

Yes, when you delete an image in Immich, the image code remains in the duplicate database. If you rerun the duplicate finder, it will not be able to locate the image in Immich and will return an error. I will update the deletion code to also remove the corresponding entry from the database.

vale46n1 commented 4 months ago

Anyhow sometime Immich return a json file. This is skipped. Anyhow seems that you don't have duplicate. Maybe you can modify the threshold and see the difference. What I'll implement soon is finder of similiar image. Maybe changing frontend from streamlit to react....