I noticed that immich-go 0.17.1 doesn't find stackable photos on my instance of Immich 1.106.4 so I started debugging from the source code and found out that it was adding an extra extension to the image name (for example, image Agc20230714_115348466.dng was being found as Agc20230714_115348466.dng.dng by immich-go in the immich.Asset var thus not recognising it as stackable).
How i fixed it
I fixed it by removing the extra extension as a.OriginalFileName already contains the extension of the file. I also fixed a typo meanwhile.
PR
This PR fixes stack command and should close issues #235 and #240
Issue
I noticed that
immich-go 0.17.1
doesn't find stackable photos on my instance ofImmich 1.106.4
so I started debugging from the source code and found out that it was adding an extra extension to the image name (for example, imageAgc20230714_115348466.dng
was being found asAgc20230714_115348466.dng.dng
byimmich-go
in theimmich.Asset
var thus not recognising it as stackable).How i fixed it
I fixed it by removing the extra extension as a.OriginalFileName already contains the extension of the file. I also fixed a typo meanwhile.
PR
This PR fixes stack command and should close issues #235 and #240
If anything needs to be changed let me know