Skip to content
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

Albums no longer are created in Immich from Google Photos #677

Open
jjennissen opened this issue Feb 6, 2025 · 6 comments
Open

Albums no longer are created in Immich from Google Photos #677

jjennissen opened this issue Feb 6, 2025 · 6 comments

Comments

@jjennissen
Copy link

I did an import yesterday of my large Google Photos account into Immich which was successful except for the majority of my albums were not created. But the images in them were present.

Speaking with @simulot we discovered there has been a new change in the metadata files.

Here is an example from the log:

2025-02-06 12:00:44 WRN unsupported file file=takeout-20250206T172235Z-001:Takeout/Google Photos/Basement Office/metadata.json reason=unknown JSONfile

and metadata.json looks like this

{
  "title": "Basement Office"
}
@simulot
Copy link
Owner

simulot commented Feb 6, 2025

Gosh!
I have to adapt the code.
Stay tuned.

Could you attach a few samples of metadata.JSON files?

@jjennissen
Copy link
Author

@thegabriele97
Copy link

thegabriele97 commented Feb 7, 2025

Yep the same happened to me with some albums. Photo uploaded but album not created.

this is a metadata.json that failed on my side, I redacted some info

{
  "title": "Album Title",
  "enrichments": [{
    "locationEnrichment": {
      "location": [{
        "name": "Name_Of_Location (Here I've the city)",
        "description": "Here I've the region",
        "latitudeE7": 12345789,
        "longitudeE7": 123456789
      }]
    }
  }],
  "sharedAlbumComments": [{
    "creationTime": {
      "timestamp": "1596183682",
      "formatted": "Jul 31, 2020, 8:21:22 AM UTC"
    },
    "contentOwnerName": "My_Name_On_GP",
    "liked": true
  }]
}

simulot added a commit that referenced this issue Feb 8, 2025
Refactor GoogleMetaData album check and enhance tests for enriched albums
@licryle
Copy link

licryle commented Feb 9, 2025

hu-ho -- should we hold off importing recent Takeouts for the time being?
Might be worth a note on the README

Also, fyi, the latest release version is tagged as "dev" :) Probably not intended.
Thanks for all the truly amazing work simulot!

@nipuna-perera
Copy link

nipuna-perera commented Feb 9, 2025 via email

@simulot
Copy link
Owner

simulot commented Feb 10, 2025

Thanks for the reporting the version error. It will be fixed with the next release.

The version you have taken from the release page is the v0.23. This version fixes:

  • The album import
  • The supplemental-metadata.JSON issue

And many more issues of the v0.22

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

No branches or pull requests

5 participants