simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.2k stars 36 forks source link

Stack detection issue #235

Open vincios opened 2 months ago

vincios commented 2 months ago

Hi, thanks for this great tool.

I just want to report that on my immich instance, the stack command incorrectly detects as a stack these different (but similar) images

Stack following images taken on 2022-06-23 11:46:02.253 +0200 CEST
  00000IMG_00000_BURST20220623114549345_COVER.jpg.jpg
  00000IMG_00000_BURST20220623114557237_COVER.jpg.jpg
  00000IMG_00000_BURST20220623114602178_COVER.jpg.jpg

Instead, it doesn't detects these images as a stack

00001IMG_00001_BURST20210928182514.jpg
00002IMG_00002_BURST20210928182514.jpg
00003IMG_00003_BURST20210928182514.jpg
00004IMG_00004_BURST20210928182514.jpg
00005IMG_00005_BURST20210928182514.jpg
00006IMG_00006_BURST20210928182514.jpg
00007IMG_00007_BURST20210928182514.jpg
00008IMG_00008_BURST20210928182514.jpg
00009IMG_00009_BURST20210928182514.jpg
00010IMG_00010_BURST20210928182514.jpg
00011IMG_00011_BURST20210928182514.jpg
00012IMG_00012_BURST20210928182514.jpg

It seems to me that the logic should be inverted: it detects as a stack a pattern "same progressive numbers/different (close) timestamp", but it not detects the pattern "same timestamp/different progressive numbers".

I use the stack command on some external libraries, not on a Goolge Photo takeout.

fanningert commented 1 month ago

Same Problem also on my site. I have many RAW (arw) und JPG files, but non of the are found with the stake command.