Bug 306246

Summary: add new maintainance option to update DB using image metadata
Product: [Applications] digikam Reporter: Simon Schmeisser <mail_to_wrt>
Component: Maintenance-MetadataAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.6.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 3.3.0
Sentry Crash Report:

Description Simon Schmeisser 2012-09-04 10:32:50 UTC
When the exif time stamps are changed by an external program, the internal timestamp in digikam is not updated.

Reproducible: Always

Steps to Reproduce:
1. compare time in "Photograph Properties" and in exif-view
2. run exiftool -AllDates-=3:44 IMG_1201.CR2
3. recompare
Actual Results:  
in step one, the dates are equal
in step three, the exif time is changed, while the "Photograph Properties" time is unchanged

Expected Results:  
"Photograph Properties" should show the updated exif time

Workaround: use the "Image->Adjust Time & Date" Tool to update the internal time
Comment 1 caulier.gilles 2012-09-04 10:46:10 UTC
Do you tried to run "More/Read metadata from file to DB option from bottom of Captions/Tags tab from right sidebar ?

Gilles Caulier
Comment 2 Simon Schmeisser 2012-09-04 11:22:27 UTC
Yes, that works. But it is quite well hidden and shouldn't that happen automatically?

(Best would be of course if the "Image->Adjust Time & Date" Tool would support CR2 files ... )
Comment 3 caulier.gilles 2012-09-04 11:31:12 UTC
Image->Adjust Time & Date is a kipi-plugin, and is not better visible.

I plan to add a new option in maintainance tool to update DB info using image metadata (the reverse action already exist). The advantage is to run on whole Collection in background.

Gilles Caulier
Comment 4 caulier.gilles 2013-07-30 20:50:35 UTC
Git commit 45fd5ccc9741795ba3eac60cec632aa8f580b9f6 by Gilles Caulier.
Committed on 30/07/2013 at 20:48.
Pushed by cgilles into branch 'master'.

Maintenance tool : add Metadata synchronization option to be able to update from image metadata to DB or from DB to image metadata.

M  +2    -1    CMakeLists.txt
M  +2    -2    NEWS
M  +29   -12   utilities/maintenance/maintenancedlg.cpp
M  +11   -20   utilities/maintenance/maintenancemngr.cpp
M  +13   -17   utilities/maintenance/maintenancesettings.h

http://commits.kde.org/digikam/45fd5ccc9741795ba3eac60cec632aa8f580b9f6