immich-go icon indicating copy to clipboard operation
immich-go copied to clipboard

Immich-Go tags existing images with the session tag

Open Handkep opened this issue 1 year ago • 5 comments

I would like to use the session-tag feature to distinguish between existing files and immich-go-uploaded files in case anything happens. My images are partially backed up in Onedrive and some were already uploaded by my phone to immich.

The problem im facing:

Immich-go is tagging images that already exist on immich. This makes it impossible to distinguish between existing files and immich-go-uploaded files. This only happens when im not in dry-run mode. in dry-run mode, its not tagging existing images.

Image

Handkep avatar Mar 12 '25 14:03 Handkep

dry-run is there to not touching the server... but immich-go can't anticipate that the server has already the image

The tag functionality allow to enrich immich photos with information provided in google takeout like the person, and the album for albums.

I can implement a different rule for session tags, and ignore them when the photo is already on the server

simulot avatar Mar 12 '25 16:03 simulot

it would be awesome if the --session-tag will only be applied to the fotos that have acually been uploaded by immich-go to have the opportunity to remove them afterwards, even if ca. 40% of the uploaded images are already on the server.

Thank you very much!

Handkep avatar Mar 12 '25 17:03 Handkep

The current version of immich-go isn't supposed to tag photos initially present on the server. Which version of immich-go are you running?

simulot avatar Apr 05 '25 05:04 simulot

The current version of immich-go isn't supposed to tag photos initially present on the server. Which version of immich-go are you running?

im running immich-go version 0.24.2.

Handkep avatar Apr 11 '25 18:04 Handkep

I think this is fixed with v0.25+

simulot avatar Apr 12 '25 09:04 simulot