Bug 499361 - Possibly add exiftool "-m" parameter to
Summary: Possibly add exiftool "-m" parameter to
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-ExifTool (other bugs)
Version First Reported In: 8.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-31 16:35 UTC by Jonkeren
Modified: 2025-01-31 21:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonkeren 2025-01-31 16:35:12 UTC
I posted this on KDE discuss as well, as I am not sure if this fits here. If not; please close.
https://discuss.kde.org/t/digikam-exiftool-wrapper-possibly-add-m-switch-to-ignore-minor-warnings/29083

I noticed that when writing files using Digikam (and Exiftool) – currently using version 8.5.0 – Not all metadata is written correctly to all files.

I have no logs of the Exiftool output, but I see the progress bar in Digikam go forward sometimes at the expected speed; sometimes at a very quick rate as if it skips files.

I have a suspicion that if a minor error or warning from the side of Exiftool occurs; the file is not written at all.

I see from Digikam that exiftool is invoked like:
```C:\Program Files\digiKam\exiftool.exe"  -stay_open true -@ - -common_args -charset filename=UTF8 -charset iptc=UTF8```

I guess the actual data is put into the ARGS file using Exiv2, and Exiftool is used to write to the files.

It might be beneficial to add the Exiftool “-m” parameter to the command, to ensure that files are written, even when minor warnings would otherwise stop the writing of the file.
It might be added to the invoking command line, or into the ARGS file itself; I do not know.


SOFTWARE/OS VERSIONS
Digikam 8.5
Windows: 10
Comment 1 Maik Qualmann 2025-01-31 21:53:19 UTC
We already use the "-m" parameter in all write operations with ExifTool.

Maik