Page 1 of 1

Unable to retrieve Device Model when renaming images

PostPosted: Mon Oct 24, 2022 2:34 am
by felciano
Hi all --

I'm having trouble getting Hazel to recognize the camera device model on jpegs. I've confirmed that the file contains this information in the EXIF/TIFF metadata both by looking at it with FileViewer (https://apps.apple.com/us/app/file-viewer/id495987613) and by running EXIFTool:

Code: Select all
exiftool -a -G1 -s IMG_8921.jpg | grep iPhone | more

which produces:

Code: Select all
[IFD0]          Model                           : iPhone 8
[ExifIFD]       LensModel                       : iPhone 8 back camera 3.99mm f/1.8
[Composite]     LensID                          : iPhone 8 back camera 3.99mm f/1.8

So I would expect Hazel to recognize the device model as "iPhone 8". However, this same jpeg file does not trigger a Hazel rule that checks for "Device Model is not blank".

Any suggestions?

Re: Unable to retrieve Device Model when renaming images

PostPosted: Mon Oct 24, 2022 10:10 am
by Mr_Noodle
Select the file in Finder and do "Get Info". Do you see the model there?

Re: Unable to retrieve Device Model when renaming images

PostPosted: Mon Oct 24, 2022 10:24 am
by felciano
Yes

Re: Unable to retrieve Device Model when renaming images

PostPosted: Mon Oct 24, 2022 11:12 am
by felciano
Actually I just noticed this is an HEIC file, not JPEG. I assume the metadata processing is the same there, but maybe not?

Re: Unable to retrieve Device Model when renaming images

PostPosted: Tue Oct 25, 2022 9:50 am
by Mr_Noodle
Shouldn't matter as long as the metadata is available to Spotlight. I suggest going through the troubleshooting guide here: https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/

In particular, the preview should shed some light on things.

Re: Unable to retrieve Device Model when renaming images

PostPosted: Sun Dec 11, 2022 9:45 pm
by felciano
Hi all --

Just to close this thread out: the issue has gone away on its own. And by "on its own", I mean, after a varying number of system updates, MacOS reboots, and `brew update` runs that upgraded EXIFTool at least once, the issue no longer occurs. Bottom line is that its pretty clear this wasn't a Hazel issue and device metadata is being processed as expected now.

Thanks,
Ramon