-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to add assets to shared albums #300
Comments
Immich-go place photos in the album with the exact same name. If this album is shared, the photos will be shared. |
Hi, thanks for you reply. Based on my experiments, I don't think that immich-go "sees" the albums that are shared, but owned by another user. Consider the following scenario: "User 2" has access to 3 albums:
When "User 2" uses immich-go it sees only "Album 2A" and "Album 2B". If I tell it to import assets to "Album 1B", it will not see it and create a new one with that name (owned by "User 2", not shared). It's about how immich-go calls Immich API. When "User 2" calls Would you consider adding the |
I'll check it |
I can confirm this. Having the same problem now trying to re-create/fill the shared albums with my partner.
So, given the lack of this information in the google takeout, I figured I would manually download the album from Google Photos. I get a .zip file containing all photos, no matter who uploaded them. Then I would use immich-go to upload them to my partner's album that they now shared with me again on Immich. Expectation: Photos that my partner already has in the album are not uploaded to my library. Photos that are missing are uploaded and added to the album. Outcome: It created a new album with the same name, and uploaded all my partner's photos to my own library too. I realize that this is maybe a bit of a niche use case. I can try and open a PR for this myself, but that won't happen any time soon I'm afraid. Perhaps in a month or two. And while I'm already here, thanks for this amazing tool! I don't think I would have made the jump from Google Photos without it. 😊 |
Thanks for sharing this. I'm thinking loud here: Photos have true unique identifier, the SHA1 hash. The price of this is to force the read each files twice, one for determining the SHA1, the second for the upload. |
Using SHA1 hash could lead to this issue if I'm not wrong: My partner uploads the takeout, then the original quality pictures from the phone and de-duplicates them using immich-go. When I now try and add the pictures from the album .zip file downloaded directly from GPhotos, the hashes will not match and I will uploaded the compressed versions to my own library again. Would it not make sense to use the already existing duplicate detection? It might be a bit weird to de-duplicate across multiple users' assets. And of course we cannot upgrade assets owned by them without their API key, but I think at that point, we have really arrived at a super niche use case. I don't see myself ever having a higher resolution copy of a photo that someone else shared with me. Personally, I think for an upload into an album, it would be enough to
|
Hi,
Love the tool! I'm in the process of migrating my and my wife's photos from Google Photos to Immich. We had a few shared albums in Google Photos - I was their owner and my wife would add her photos there.
So in Immich I'm trying to have the same structure - an album owned by me, shared with my wife and her photos added there.
My issue is that when import my wife's photos from Takeout, a new album is created in Immich, instead of the shared one being used.
E.g. - Immich has an album "Spain 2018" owned by User A. User B uploads assets using immich-go:
And a new album "Spain 2018" is created. I'd love to reuse the existing, shared album.
Looks like it's about getting Albums from Immich -> https://github.com/simulot/immich-go/blob/main/immich/albums.go#L23
Is there a chance to add
shared=true
to the API call? https://immich.app/docs/api/get-all-albumsMaybe it could be controlled with a flag?
The text was updated successfully, but these errors were encountered: