TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.48k stars 176 forks source link

"Media created" property not being recognized as possible create date #196

Closed wicked-head closed 1 year ago

wicked-head commented 1 year ago

Hi,

Some files got "rejected" because the program could not calculate the date, but looking into the file properties there is a property named "Media created" which represents the create date time of the file.

image

Is is possible to include that as part of the logic?

Thanks once again

TheLastGimbus commented 1 year ago

hi! did you again, modify files yourself to have this, or was this just as that?

as i understand, gpth couldn't find (or there was no?) json for this photo, and the exifDateExtractor didnt work for "media created"

sadly, the screenshot you gave me is so narrow i don't even know if this is a photo or video :// but i suppose it's a video since they usually have tags like that

in that case, gpth doesn't extract metadata from them because it's way more complicated than photos

we can try to perfect the json-matching then! show me the name of the file and it's json

(in general, your reports are very welcome but please give me more more details 🙏🙏🙏)

wicked-head commented 1 year ago

Hi,

Yes its a video. and it is the same example as the file i've uploaded in issue 197.

I have not modified or change the file after the download from Google Photos and the .MOV file does not have any JSON.

If we duplicated the JSON from the .JPG for the .MOV would that theoretically work?

Thanks!

TheLastGimbus commented 1 year ago

If we duplicated the JSON from the .JPG for the .MOV would that theoretically work?

yes, i think we can add this to json-matching-algorithm soon :eyes:

for now, duplicate of #180