08-11-2023, 06:29 AM
(08-11-2023, 03:57 AM)Zubersoft Wrote: The code is currently expecting the duration in milliseconds. So you can enter 65000 for 65 seconds. ...Duration: I validated that 65000 works.
As far as SourceType, I look for it in the same manner as every other field, and will accept sourceType or SourceType. I'm really not sure why that would not be working for you when you used SourceType though, as the code is written identically for that field as the others.
SourceType. I posted this issue to the ExifTool forum this morning, with my code. The tools author, Phil Harvey, stated that the field's "Description" is showing as "Source Type" <-- with a space in the name. But the Description is not the actual field name, which is correctly showing as SourceType (in the example I provided to him). Is there any chance your code is inadvertently using the Description vs the actual name? I'm just taking a shot in the dark here.
I've attached the offending PDF if you want to inspect it.