modified time (with jhead) not updated in digikam

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

modified time (with jhead) not updated in digikam

Copeau
This post was updated on .
Hello all,

I happen to have a lot of JPG with the wrong date so I used jhead -ta+1:00 to add 1 hour to all my files.
But the time doesn't seem to be changed in digikam.

Well, it's not that simple.
I change the time using jhead and when I check with jhead, the date is properly modified.
In digikam anyway, in the properties panel the date is still the old one.
Then, if I use the "Edit All Metadata" feature in digikam in the EXIF tab the date is modified !

Then there is a difference between the property panel and the "Edit All Metadata" stuff.

I've run some more tests to understand what was happening:
- When I change the date in "Edit All Metadata", and click "Apply", the property panel is updated.
- When I use the "Import EXIF.." stuff, the property panel is not updated.

I'm using Digikam 2.1.1, and I have no clue ;-)

So, if anyone had faced this probelm already, and found a solution, please help :)

Thanks
Copeau
Reply | Threaded
Open this post in threaded view
|

Re: modified time (with jhead) not updated in digikam

Jean-François Rabasse

On Sat, 24 Nov 2012, Copeau wrote:

> Hello all,
>
> I happen to have a lot of JPG with the wrong date so I used /jhead -ta+1:00/
> to add 1 hour to all my files.
> But the time doesn't seem to be changed in digikam.
>
> Well, it's not that simple.
> I change the time using jhead and when I check with jhead, the date is
> properly modified.
> In digikam anyway, in the properties panel the date is still the old one.
> Then I used the "Edit All Metadata" feature in digikam and there, in the
> EXIF tab the date is modified !
Hello,

Digikam uses only a subset of all image metadata, and reads that when
scanning new images.
When you modifie metadata from « outside », jhead, exiftool et al.,
Digikam can't guess data has changed.

If you start the metadata editor, all is reload before edition and that's
why you see correct values in properties tabs.

But if you just want to make Digikam aware of some modifications you've
done, select your image(s) then run « Reread metadata from image ».
It's not automatic when you modify your files by your own.

Regards,
Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: modified time (with jhead) not updated in digikam

Copeau
This post was updated on .
Thanks for your reply, Jean-François.

In the meantime, I've updated my digikam version to 2.7.0, but the behaviour is still the same.

Well, as you said, digikam can't guess the images have changed. I figured that.
That's why I tried the "Import EXIF..", and this didn't work either to make digikam aware of the changes. And I am quite confident that the "Import EXIF.." features implements an update of the properties once the import is done.

Also, perhaps it was confusing in my previous message, but when I start the "Edit metadata", the property panel is NOT updated.
See :


I've tried to copy and rename some modified file, and even with the new files digikam open them with a bad value in property panel and the good value in the "Edit metadata"...

Then, maybe digikam writes its own metadata into the files, jhead updates only the EXIF...
Actually, it is probably THE reason..
but that wouldn't explain that the "Import EXIF.." doesn't update the "digikam timestamp".

Anyway, I've found the way to change the time directly with digikam, so I won't have to use jhead for that and my problem is solved, in a way.

Thanks for your time :)

Copeau