Mike123456
IImmich
•Created by SkepticMystic on 8/26/2024 in #help-desk-support
How to use whatsapp-media-date-to-exif tool to parse image date
I looked at the code and it seems it is caused by a validation the is extracting the exif data after they were written to the file, which should never fail unless something went really wrong... but then the fact that immich is also not recognizing the exif data makes me think that really something is not 100% correct, but on a pic viewer in linux i can see the correct exif data so I'm wondering if there is some kind of encoding / formatting issue where that viewer is more tolerant than the lib you and immich is using to read out the data.
17 replies
IImmich
•Created by SkepticMystic on 8/26/2024 in #help-desk-support
How to use whatsapp-media-date-to-exif tool to parse image date
@icecore Any idea?
17 replies
IImmich
•Created by SkepticMystic on 8/26/2024 in #help-desk-support
How to use whatsapp-media-date-to-exif tool to parse image date
Thank you for this script! It seems to work find for images and I can see the exif data in the result, but the script itself gave the below error for every file and also Immich is not picking up the metadata...
2024-08-31 17:12:21,113 - INFO - Parsed date and time from filename: 2018:12:17 00:00:00
2024-08-31 17:12:21,113 - INFO - New exif data: {'Exif': {36867: b'2018:12:17 00:00:00 00:00:00', 36868: b'2018:12:17 00:00:00 00:00:00'}}
2024-08-31 17:12:21,121 - INFO - './processed/IMG-20181217-WA0010_1.jpg' saved successfully
ℹ An error occurred: New file doesn't have exif data.
Videos seem to be ignored. Any Idea how to fix it?17 replies