Skip to content

Conversation

@pedrxd
Copy link

@pedrxd pedrxd commented Jun 5, 2025

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 pedrxd force-pushed the task/from-shared-albums branch from b2c48f1 to b7226f1 Compare June 5, 2025 20:32
@pedrxd pedrxd changed the title feat: Allow to sync shared albums feat: allow shared albums to sync Jun 5, 2025
@simulot
Copy link
Owner

simulot commented Jun 14, 2025

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

@pedrxd
Copy link
Author

pedrxd commented Jun 21, 2025

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.

@simulot
Copy link
Owner

simulot commented Jun 28, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants