-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Feature Request] Option to output to folder path instead of immich #249
Comments
I think that would be a completely different tool, but let see what simulot has to say. But there is already a tool that seems to be what you're looking for: |
I'll add a couple use cases to this, as I would really like this as well
Code wise immich-go already appears to be parsing a lot of the metadata from the json files, feeding that through this immich client parser which ultimately when uploaded is being sent in the asset.go. Given a lot of the pipeline is here, writing the file to some destination and embedding the json data in the image file directly would be a pretty massive win. Heck just cleaning up the json file-naming chllenges of a Takeout export by embedding the entire json into the EXIF would make it easier for future parsers. That said, refactoring the pipeline for this without looking like a complete kludge is likely non-trivial 😅 |
The feature is there, but still in release candidate. I have completely restructured the code to enable almost all combinations like:
|
Oh nice! Next time I need to check the branches too😂 |
Ran my takeout files through RC4 and then rebuilt on next as of this morning and ran into the same panic on both.
Let me know if there's anything additional info you need. |
I just used the RC4 on a linux system. I didn't got this one. Have you tried to set the TZ on the command line? The readme for the latest RC: https://github.com/simulot/immich-go/tree/next |
I've tried the RC5, from Google Takeout zips to a folder, and I got a panic as well (not the same). I've tried adding the Here's my command:
And here's the panic:
|
Thanks for the details. |
Hello 👋🏻
Let me know if you need more info to debug. I can also provide the image file which I think triggers it. |
I just tested it on my linux box. |
I'm on a Mac (Sequoia 15.2 arm64). Command line:
The logfile shows I'm on RC6 (immich-go·version:dev,··commit:550dac7fe0c192444a49ab7cc2fa5919378a7375). |
Well, different on the mac... Unfortunately, I can't test on a mac. |
Here it is |
Thanks for the build 🙇🏻 A few pieces of feedback (which you may or may not want to consider for this iteration):
Anyway, THANKS for implementing the |
Thanks, those are valid remarks!
How do you intend to use this command? Would you accumulate files in the folder, or you will rebuild the folder? What if the files were named with after their HASH? |
Happy I can contribute with testing and feedback, at least 😅
|
Sorry, one more thing... I've noticed that my output contains trashed files (i.e. files prefixed with |
I'm using the 1 and 2 are fixed and merged to the next branch. |
Chiming in here incase it helps, I'm also dealing with issues on Sequoia 15.2. @simulot I downloaded the interim version you posted yesterday and ran it, getting this error message:
It looks like whatever is pulling the timezone on macOS is returning a full path to the data. Passing in |
I can't test on macOS... Sorry |
It doesn't crash, it just prints that error message and then exits. |
Summary: I would like an option to scan a Google Takeout folder, fix and export images with metadata to a given fold/path, retaining album folders but skipping the upload into immich.
Benefit: This would allow users to take the output of immich-go and add to immich as an external library.
Why? I have over 100,000 images in my Google Takeout, and feel there is some risk to run this large of dataset through immich-go and import directly to immich. Exporting to a folder would simplify remediation if any files are found to be problematic or lacking metadata such as date.
Example: If, for example, my dataset contains 10,000 files with bad or missing date, I can simply disconnect the external library, solve any metadata issues, and then re-attach. On the other hand, if I import into immich directly, I am not sure how it would be possible to remediate such a large set (10k) of images.
The text was updated successfully, but these errors were encountered: