photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: kiwilink on October 24, 2020, 09:31:42 PM

Title: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: kiwilink on October 24, 2020, 09:31:42 PM
Can someone tell me what I have done wrong?  I am trying to return the Aperture and Shutter Speed.  I am getting the Aperture but I am not getting a return on the ShutterSpeed. I checked Tag manager and all looks good.  I don't think this has anything to do with the recent change mentioned in the release notes about EXIFTool.

I have attached my variables in the first attachment and what I get as a return on the second attachment in the custom file window.

Thanks you!

Kiwilink

P.S.  I did try this also
 F {File.MD.Composite\Exif-Aperture\Aperture\0}; S{File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0}

and I got back 0.02 on all my images (which is incorrect)

I also tried this with no luck

 F {File.MD.Composite\Aperture\Aperture\0}    {File.MD.Composite\ShutterSpeed\ShutterSpeed\0|Value:formatted}
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: thrinn on October 24, 2020, 10:21:57 PM
{File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted} works for me and returns e.g. 1/250. The tag name without the Exif- does not work. As explained here (https://www.photools.com/help/imatch/#upgrade_info_202092.htm?dl=h-2), there was a recent change in the Exiftool naming of Composite tag names.
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: kiwilink on October 24, 2020, 10:36:26 PM
Thrinn:

Thanks for the response!!  I just tried this

  {File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted}

by itself and I get a return.  However when I add this to it

 F {File.MD.Composite\Aperture\Aperture\0}    I do not get both the Shutter Speed and the Aperture.
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: Mario on October 24, 2020, 10:40:17 PM
ExifTool renamed Composite tags in a recent version. You need to use the correct tag names.

Tip: Use the Variable Selector to get the correct variable names (e.g. in the VarToy).
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: thrinn on October 24, 2020, 10:53:34 PM
Thrinn:

Thanks for the response!!  I just tried this

  {File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted}

by itself and I get a return.  However when I add this to it

 F {File.MD.Composite\Aperture\Aperture\0}    I do not get both the Shutter Speed and the Aperture.
The Exif- part has also be present for the Aperture, not only for ShutterSpeed. Therefore,
Code: [Select]
F {File.MD.Composite\Exif-Aperture\Aperture\0} {File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted}gives as result:
Code: [Select]
F 5.0 1/1000
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: loweskid on October 24, 2020, 10:59:16 PM
This is what I use....

{File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted} sec - <Italic>f</Italic> {File.MD.Composite\Exif-aperture\Aperture\0|value:formatted}

displays e.g.:   1/320 sec - f8.0

Just swap them around if you prefer the aperture before the shutter.
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: kiwilink on October 24, 2020, 11:09:01 PM
Dear loweskid:

Thank you very much.  That worked.  I really appreciate it!!

Kiwilink!
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: loweskid on October 24, 2020, 11:19:59 PM
Dear loweskid:

Thank you very much.  That worked.  I really appreciate it!!

Kiwilink!

Glad to be of service!
Title: Re: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?
Post by: Mario on October 25, 2020, 09:04:49 AM
I recommend to use Metadata Tag ShortCodes (https://www.photools.com/help/imatch/#md_shortcodes.htm) where possible.
This shields your variables from changes in the underlying tag names.

For example: {File.MD.aperture} or {File.MD.shutterspeed}