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.83k stars 54 forks source link

Stack command doesn't make any changes #521

Open ArtemSmaznov opened 1 week ago

ArtemSmaznov commented 1 week ago

I have recently switched to immich and installed immich-go to try and stack my photos. The stack command correctly identified files that should be stacked, but does not change anything on the server. After I run the command and refresh the immich timeline page in my browser, I see the mentioned photos remain unstacked. I've compared the file names just to be sure.

Not sure if there has been a regression to this command or if some setup is needed on my server side.

Immich server: v1.118.2 (docker) immich-go: 1:0.22.1-1 (pacman)

➜ immich-go -debug -log-level DEBUG stack -date=2024-07-09 -yes
immich-go  dev, commit none, built at unknown
. _ _  _ _ . _|_     _  _
|| | || | ||(_| | ─ (_|(_)
               v dev _)

Get server's assets...
Stack following images taken on 2024-07-09 17:15:17.765 -0400 EDT
  PXL_20240709_211517662.RAW-01.COVER.jpg
  PXL_20240709_211517662.RAW-02.ORIGINAL.dng
Stack following images taken on 2024-07-09 17:15:27.314 -0400 EDT
  PXL_20240709_211527223.RAW-01.MP.COVER.jpg
  PXL_20240709_211527223.RAW-02.ORIGINAL.dng
Check the log file:  /home/artem/.cache/immich-go/immich-go_2024-10-31_20-23-50.log
➜ cat /home/artem/.cache/immich-go/immich-go_2024-10-31_20-23-50.log
 INFO | Connection to the server http://server:2283 | time="2024-10-31T08:23.50 EDT"
 INFO | Server status: OK | time="2024-10-31T08:23.50 EDT"
 INFO | Connected, user: ***** | time="2024-10-31T08:23.50 EDT"
 INFO |  4 received, 2 stack(s) possible
 | time="2024-10-31T08:23.55 EDT"
simulot commented 6 days ago

Immich-go stack command is ineffective since an update of immich API.

I'm working on a new and better version more possibilities:

It's implemented for upload in the next release. I'll work on the stack command soon.

simulot commented 6 days ago

You can check the this release: https://github.com/simulot/immich-go/releases/tag/0.23.0-alpha3

ArtemSmaznov commented 6 days ago

That was fast.

Thanks, will check it out on the weekend.