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.47k stars 176 forks source link

populating video timestamp from its thumbnail #266

Open edoardoc opened 7 months ago

edoardoc commented 7 months ago

Hello there,

I have noticed that videos timestamps don't get grabbed from their thumbnail picture, as an example having these files:

 moments_05_07_18_46_07.JPG       
 moments_05_07_18_46_07.JPG.json  
 moments_05_07_18_46_07.MP4

only moments_05_07_18_46_07.JPG timestamp gets updated, getting a Couldn't find date for 1 photos/videos :/ even though also the MP4 file could get the same ts, given that the filename is identical to the JPG (that means that the JPG is the thumbnail/preview for the video)

is this considered, maybe with an option?

SonOfPooh commented 6 months ago

try changing the json file's name to MP4 "moments_05_07_18_46_07.JPGMP4.json"