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

feat: allow shared albums to sync

Open pedrxd opened this issue 9 months ago • 3 comments

The Immich API only returns the albums that you own, not those that have been shared with you.

This change appends albums that have been shared with you to the list of albums you own.

pedrxd avatar Jun 05 '25 20:06 pedrxd

I don't use the shared album feature. How to test it?

simulot avatar Jun 14 '25 06:06 simulot

What we need:

  • An Immich instance as the source
  • An Immich instance as the destination
  • On the source instance, we have an account where other accounts share their albums.
  • On the destination instance, there is an account where we want to upload the shared albums

Steps:

  1. Try uploading the shared album from the source instance to the destination instance using Immich Go.
  2. As the Immich API is not returning the shared album, it is not possible to obtain the data or perform a sync of the shared albums.

Solution: Obtain the albums that you own and the shared ones from the source instance. This will enable us to perform the sync.

pedrxd avatar Jun 21 '25 09:06 pedrxd

The intent is to use upload from-immich to import in the destination server shared photos belonging to another account from the source server. Am I correct?

I think this feature should not been enabled by default. You may want to sync each account separately.

I propose to add the flag --include-shared to the command from-immich to enable the feature.

simulot avatar Jun 28 '25 08:06 simulot