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

Process more of the JSON information and include in EXIF #6

Open
1 of 4 tasks
hatobi opened this issue Feb 8, 2024 · 4 comments
Open
1 of 4 tasks

Process more of the JSON information and include in EXIF #6

hatobi opened this issue Feb 8, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@hatobi
Copy link
Owner

hatobi commented Feb 8, 2024

Add more of the information from memories.json and posts.json to converted JPEGs' EXIFs:

  • caption
  • moment timestamp
  • late time
  • retake counter

This information is included in my own data export so I only need to find time to expand the script to cover these tags.

@hatobi hatobi added the enhancement New feature or request label Feb 8, 2024
@U14-dev
Copy link

U14-dev commented Feb 9, 2024

Location looks like this:

{
"primary": {
"bucket": "storage.bere.al",
"height": 2000,
"path": "/XXX.webp",
"width": 1500
},
"secondary": {
"bucket": "storage.bere.al",
"height": 2000,
"path": "/XXX.webp",
"width": 1500
},
"retakeCounter": XXX
"caption": "XXX",
"location": {
"latitude": XX.XX,
"longitude": XX.XX
},
"visibility": [
"friends"
],
"takenAt": "XXX"
},

@hatobi
Copy link
Owner Author

hatobi commented Feb 11, 2024

Thanks for posting the extended structure, @U14-dev! To be sure I can properly convert/transfer the coordinates, could you check which coordinate system and format they follow? Easiest would be to compare the structure in your file to the coordinate systems and structures on a site like coordinates-converter.com. I only need the name of the coordinate system, not the actual coordinates, then I can use my own coordinates for testing purposes.

@U14-dev
Copy link

U14-dev commented Feb 11, 2024

They are using decimal degree, you could use http://maps.google.com/maps?z=12&t=m&q=loc:var_LAT+var_LONG to check on google maps

@hatobi
Copy link
Owner Author

hatobi commented Feb 11, 2024

Added the BeReal-caption as IPTC caption/abstract, still not sure where to put the other information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants