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

edge case: original filename too long #28

Open
zhengbangbo opened this issue Apr 8, 2022 · 0 comments
Open

edge case: original filename too long #28

zhengbangbo opened this issue Apr 8, 2022 · 0 comments

Comments

@zhengbangbo
Copy link

I have many files in the original filename that is too long found in the JSON file like this:
01D1C847-D498-4814-9F10-6B81D768077B-1050-0000012BFC8FF17F_tmp.jpg
(I have no idea why store the image and filename like this.)
when I was takeout, have two files like this:
01D1C847-D498-4814-9F10-6B81D768077B-1050-00000.jpg
01D1C847-D498-4814-9F10-6B81D768077B-1050-0000.json

I guess google does some operations like fixing the filename to 51 of character length.

After I ran the script, none of the files of this type successfully modified the metadata.
图片

arewm added a commit to arewm/google-photos-exif that referenced this issue Oct 15, 2022
Edge cases included:
* .mp4 can use jpec and heic json files: mattwilson1024#26
* Counters may collide with other rules
* Long filenames are truncated: mattwilson1024#28
* Some json files have .j and .jp as the media extension

Signed-off-by: arewm <[email protected]>
arewm added a commit to arewm/google-photos-exif that referenced this issue Oct 15, 2022
Edge cases included:
* `.mp4 can use jpeg and heic json files: mattwilson1024#26
* Counters may collide with other rules
* Long filenames are truncated: mattwilson1024#28
* Some json files have `.j` and `.jp` as the media extension

Signed-off-by: arewm <[email protected]>
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

1 participant